Sample JSON code for adding a cart summary to your pages
Sample code for adding a cart summary to your pages and also how to add the "sendtourl" redirect parameter as a
hidden input field of the buy form HTML code in order to keep the customer on your page until they are ready to checkout.
The CSS styling in the head section of the page source:
The summary in page:
This is the standard "buy form" code located in the links pages of your items. The default behavior of this code it to take the customer to the shopping cart.
This form has a hidden input field to redirect the customer back to the store instead of staying in the cart.
Last edited 10:44 AM 9/25/2013