the store needed to withdraw 2 prices, in the current currency and in the "denominated" side by side. In the basket, it turned out to be done, but there is no source in the product card
if ((int)$params->get('summa_show', 1)) { echo '<p class="uk-margin-remove"><span class="price-total-value uk-text-small">' . $zoo->jbmoney->toFormat($summa, $currency) . '</span></p>'; } shopping cart with two prices works
if ((int)$params->get('summa_show', 1)) { echo '<p class="uk-margin-remove vitaly-go-price"><span class="price-total-value uk-text-small">' . $zoo->jbmoney->toFormat($summa, $currency) . '</br><i> ' . ($summa / 10000) . 'руб.</i></span></p>'; } product card original
<?php if ($discount[ 'value']==0 ) : ?> <span class="total uk-text-bold"><?php echo $base['total']; ?></span> <?php endif; ?> product card does not work
<?php if ($discount[ 'value']==0 ) : ?> <span class="total uk-text-bold"><?php echo $base['total'] / 10000; ?></span> <?php endif; ?> As a result, a significantly lower value is displayed in the product card than is necessary, for example, the original price of 2561000 rubles. price after incorrectly dividing 0.0002 price required 256.1р. and besides incorrect division disappears and "p." how to fix it I can not find the problem