add item to cart with only url
-
I see that if I use this shortcode.. an add to cart button will display for a specific productID: [simpleecommcart_add_to_cart id=”productID” ]
Is it possible to send the “productID” as a parameter to specific php file so that a particular item can be added to the cart using a particular URL link?
For example: url: https://www.mysite/add_to_cart.php?id=productID
This would be very helpful for adding audio tracks to the cart with the theme I am using.
I have tried using a php file to post the particular variables that post when using the add cart button but this does not work alone. I need someone’s help to point me in the right direction.
https://www.ads-software.com/plugins/simple-e-commerce-shopping-cart/
- The topic ‘add item to cart with only url’ is closed to new replies.