X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Add to Cart Button (https://forum.x-cart.com/showthread.php?t=68820)

mworsnop 03-10-2014 04:53 PM

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.

qualiteam 03-10-2014 11:48 PM

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.


All times are GMT -8. The time now is 08:14 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.