Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Add to cart, update mini-cart. A few more SCA questions from a long-time SiteBuilder dev
1 - Is there an easy way to add items to the cart with a simple link in a line of text?
Ideally, without the modal appearing. We need to include simple links in HTML pages that allow our customers to add items to the cart.
2 - If so, what do I need to do to update the mini-cart?
Is there a function I can call that updates it without reloading the page?
Both those things were super-easy and simple in the old SiteBuilder.
For the current build, the /app/site/backend/additemtocart.nl link works to add items to the cart, but it is the old way, and maybe only working as this client used to have SiteBuilder. I have it in until I find out the right way. But, obviously, it does not update the mini cart.
Tagged:
0