Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Add to cart JS problems by Niklas Niklasson

$
0
0

Hi,

Beside the standard cart button you can only see the number of items added to the shopping cart. My wish is to also add the total price of the order (cart.total_price) beside the cart.item_count. It works fine until I use the JS that gets triggered after adding an item to cart. The JS cleans out the cart.total_price and leaves only the standard cart.item_count.

How can I make this work and somehow add the item.total_prrice to the JS as well? I know HTML + CSS but no JS.

Will highly appreciate any advice! Thanks in advance!!

/Seif


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>