Web Design Forum: Magento - Basket Question - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Magento - Basket Question Rate Topic: -----

#1 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,818
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 18 October 2011 - 12:05 PM

Hi,

Another Magento question, sorry :(

So, I've got my voucher code rules working as they should. One such rule only applies if a certain item in within the basket.

Is there any way built into Magento that would allow me to send out an url that pre populates the basket the the said item and voucher code?

Many Thanks
0

#2 User is offline   CSN-UK 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 213
  • Joined: 27-December 10
  • Reputation: 22
  • Gender:Male
  • Location:Swindon, Wiltshire, UK
  • Experience:Advanced
  • Area of Expertise:Entrepreneur

Posted 19 October 2011 - 04:09 PM

This takes a bit of modification to magento but works painlessly:

http://passion4code....r-query-string/

This post has been edited by CSN-UK: 19 October 2011 - 04:11 PM

2

#3 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,818
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 30 October 2011 - 12:57 PM

View PostCSN-UK, on 19 October 2011 - 04:09 PM, said:

This takes a bit of modification to magento but works painlessly:

http://passion4code....r-query-string/


Good find, but with modification I can say anything works "painlessly".

I'm no Magento expert, but I assume I could change:

$params = array('qty' => $this->getRequest->getParam('qty','1'));


to include some product attributes?
0

#4 User is offline   CSN-UK 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 213
  • Joined: 27-December 10
  • Reputation: 22
  • Gender:Male
  • Location:Swindon, Wiltshire, UK
  • Experience:Advanced
  • Area of Expertise:Entrepreneur

Posted 01 November 2011 - 11:02 PM

View Postrallport, on 30 October 2011 - 12:57 PM, said:

Good find, but with modification I can say anything works "painlessly".

I'm no Magento expert, but I assume I could change:

$params = array('qty' => $this->getRequest->getParam('qty','1'));


to include some product attributes?


This should hopefully solve that problem? if you mean product options? http://www.magentoco...via_querystring

Hope that helps :), if not I could imagine you could build on the $params to accept the desired options, although if the above works theres no need to reinvent the wheel :).

This post has been edited by CSN-UK: 01 November 2011 - 11:12 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users