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

Add to Cart Button

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 03-10-2014, 04:53 PM
 
mworsnop mworsnop is offline
 

Senior Member
  
Join Date: Mar 2014
Posts: 140
 

Default Add to Cart Button

....com/store/cart.php?target=cart&action=add&product_id=1

The above link adds to the cart ok. So I can add this to the web page I designed. BUT it does not have the same functionality as the add cart button on the product page. I would like the 2 buttons to be the same. There is supposed to be a popup giving the user options. But that doesnt happen. It just shows them the product page. at this point the user has no idea if the product was added or not.
__________________
Mark Worsnop

vers 5.3.3
Reply With Quote
  #2  
Old 03-10-2014, 11:48 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Add to Cart Button

Unfortunately, this is not something that can be achieved with a link.
You should check the JavaScript and PHP code to understand how this is implemented on the product page and add a similar logic to your page.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:01 AM.

   

 
X-Cart forums © 2001-2020