S
S
sasha2019-07-14 18:59:28
MODX
sasha, 2019-07-14 18:59:28

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>

Moreover, the buttons for closing each product - all work everywhere

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question