J
J
JWDGA2018-04-11 08:12:02
JavaScript
JWDGA, 2018-04-11 08:12:02

How to display a separate cart in the mobile version of OC2?

Can you please tell me how to display a variable twice in the file common/header.tpl : ? In the template, you need to display the cart twice, one version for desktop, and the second for mobile devices. The basket is displayed, but the calculation of adding goods to the basket does not work, the added goods are displayed in the basket only after the page is reloaded. <?php echo $cart; ?>

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