Mini Cart More Information
-
- Posts: 1
- Joined: Thu Oct 04, 2018 12:32 pm
Mini Cart More Information
Anybody have anyway to get more information on the mini-cart? I'm looking to include links to items and maybe even add images. All that is stored in the cookie though is item name, quantity and price.
-
- Site Admin
- Posts: 318
- Joined: Fri Aug 04, 2006 1:30 pm
- Location: Utah
- Contact:
Re: Mini Cart More Information
Here's some info from one of our developers:
The template cookbook that has some code for the AJAX Add to Cart that is used for the mini-cart in newer themes. The newer themes combine this with the Local Storage to have the cart/product information used to display the mini-cart. This code snippet has my original version of the ssAddToCart plugin and I think I have updated it a bit recently (in the last year or so). The newest version is found in the template/publish files and is called ssaddtocart.js
https://www.shopsite.com/templates/cookbook/tags-by-version.html#12sp2
Basically in order to see a fully functional mini-cart using the AJAX JSON cart they would need to look into the code for the newer themes.
The template cookbook that has some code for the AJAX Add to Cart that is used for the mini-cart in newer themes. The newer themes combine this with the Local Storage to have the cart/product information used to display the mini-cart. This code snippet has my original version of the ssAddToCart plugin and I think I have updated it a bit recently (in the last year or so). The newest version is found in the template/publish files and is called ssaddtocart.js
https://www.shopsite.com/templates/cookbook/tags-by-version.html#12sp2
Basically in order to see a fully functional mini-cart using the AJAX JSON cart they would need to look into the code for the newer themes.