Hello all, we should like to update automatically the minicart when the quantity is changing without refreshing the page. When the quantity change the subtotal change but the amount for"alma 4 fois sans frais’" = amount/4 don t change (red arrow)
.
In the product page when you change the variant the price change without refreshing page but the same amount alma don t change without refreshing page. I needed toadd code in app.js.liquid at the bottom to refresh the page
jQuery(function() {
$(‘.single-option-selector’).on(‘change’, function(){
setTimeout(function(){
if($(‘[name=“id”]’).val() != “{{ product.selected_or_first_available_variant.id }}”){
location.reload();
}
if there is a possibility to update the amount without refreshing it will be better.
https://dev-3dcoiffure-01.myshopify.com/?ls=fr-FR
password: again
Regards
Pascal