Answer the question
In order to leave comments, you need to log in
How to make the empty cart button work in a different context?
Hello! There are several contexts and when you click on the clear button in the web context, everything works fine, clears it, but in the rest it doesn’t want to .. the page is reloaded and everything remains in place.
<form method="post">
<button type="submit" name="ms2_action" value="cart/clean" class="button button-clear">
{'ms2_cart_clean' | lexicon}
</button>
</form>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question