How to show Subtotal in product page?

Highlighted
Shopify Partner
2 0 0

This is my theme

https://socommerce.myshopify.com

Any help..

I am a senior Wordpress & Shopify Expert (Theme Developer) with 6+ years experience. I have developed (1000+) websites. I am always trying to deliver high quality solutions before deadline.
0 Likes
Highlighted
Shopify Partner
2 0 0
Im not good in Jquery but..

<div class="total-price"><label>Subtotal: </label><span>{{ product.selected_or_first_available_variant.price | times: 1 | money }}</span></div>

$('.total-price').on('input', function() { 
    $(#product-price strong).text() * $(#quantity).val()
});

 

I am a senior Wordpress & Shopify Expert (Theme Developer) with 6+ years experience. I have developed (1000+) websites. I am always trying to deliver high quality solutions before deadline.
0 Likes
Highlighted
Excursionist
46 2 6

Hi there!

 

Just wanted to ask if this has worked for you? I'm also trying to figure out how to show the subtotal our product page.

Email: ela.v.tsm@gmail.com
0 Likes