-- url of the page with the problem -- :
rockstarvolumes.com/shop/volumes/product/1-tri-again-again
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : current
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : None
Hi, I'm looked very hard for the same question that I have, but I have not been able to find anything so far.
I updated the show_block_dimensions view to make "Weight:" bold and then the actual value normal.
On lines 25-33,
if ($this->config->get('weight_display', 0)) {
if(isset($this->element->product_weight) && bccomp($this->element->product_weight,0,3)){ ?>
<span id="hikashop_product_weight_main" class="hikashop_product_weight_main"> <span style="font-weight:bold">
<?php echo JText::_('PRODUCT_WEIGHT').': '; ?>
</span>
<?php echo rtrim(rtrim($this->element->product_weight,'0'),',.').' '.JText::_($this->element->product_weight_unit); ?></span>
<?php
}
}
This works, but when a new variant is selected the text goes back to having a normal weight. Any idea why this is happening?