Skip to main content

Include product weight and dimensions

More
15 years 6 months ago #11315 by leeportnoff
Each of my products has a length, width, height and weight.
I would like to present that information to the customer after the product description. How do I do that?

Please Log in or Create an account to join the conversation.

More
15 years 6 months ago #11317 by nicolas
For the weight, you can just go in the config under the tab display and edit the front end CSS file and remove the code:
.hikashop_product_weight_main {
display: none;
}

For the dimensions, you will have to modify the file show of the view product via the menu Display->Views and add such code (that's an example for the length):
<?php if(isset($this->element->product_length) && bccomp($this->element->product_length,0,3)){ ?>
<span id="hikashop_product_length_main" class="hikashop_product_length_main">
<?php echo 'Length : '.$this->element->product_length.' '.JText::_($this->element->product_dimension_unit); ?><br />
</span>
<?php } ?>

Please Log in or Create an account to join the conversation.

More
15 years 5 months ago #13105 by webarts
its a good idea to include this in an update , so we can configure this with out code editing.

Please Log in or Create an account to join the conversation.

More
15 years 5 months ago #13121 by nicolas
We'll add an option for the dimensions yes.

Please Log in or Create an account to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum