Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

'One-Click' 'Buy-Now' links from website to xcart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-19-2003, 06:18 AM
 
suisse suisse is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 34
 

Default 'One-Click' 'Buy-Now' links from website to xcart

Hi all,

I was wondering if anyone has found a way to implement a 'One-Click' or 'Buy-Now' functionality for X-cart? What we'd like to do is have links from our corporate website that when clicked will bring the user to the cart with an item already placed in it. You know, kind of like Amazon's one-click shopping feature. Any code snippets out there?

J
Reply With Quote
  #2  
Old 03-19-2003, 07:11 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

yeah, put in a link like:


where the 12345 is the product id of the item you want to link to.
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 03-19-2003, 08:57 AM
 
suisse suisse is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 34
 

Default

dunka funkydunk! (i.e. thank you)

That works nicely!

J
Reply With Quote
  #4  
Old 04-28-2003, 08:53 AM
 
suisse suisse is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 34
 

Default one-click shopping -- Part II...

Hi all,

OK -- now how do you call the cart to not only ADD a product, BUT to also specifiy any selected option(s)??? This is a little more elusive from what I can see...

J
Reply With Quote
  #5  
Old 04-28-2003, 10:33 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

good luck

lot of work I reckon.

best way to do it is look at the product detail page for the product concerned and see if you can add all the elements of the choice you want to specify as get variables...ie as part of the query string and make that the link.

eg:

But this product now
__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:04 PM.

   

 
X-Cart forums © 2001-2020