Answer the question
In order to leave comments, you need to log in
Conflict in php code. How to fix?
1) In the online store, when adding a product to the cart, the cart icon slides down and the "Show cart" link appears on top.
Here is the code.
<?php if ($data->totalProduct) echo $data->cart_show; ?>
<div class="vmCartModule <?php echo $params->get('moduleclass_sfx'); ?>" id="vmCartModule">
Answer the question
In order to leave comments, you need to log in
delete the first line, and wrap the button with the cart icon in a link < a href="/cart" >...< /a >
but it's not good to wrap a div in < a >, but that's another question :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question