Skip to main content

Price per weight on listing page

6 years 9 hours ago #326531 by nousername
-- Joomla version -- : 3

Hello,
I need to display the price per weight also on the listing page. I tried changing img_title.php file but without success.

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

5 years 11 months ago #326546 by nicolas
Hi,

You should change the product / listing_price.php view file.
There you can change the code:
Code:
if($this->params->get('show_price_weight')){ if(!empty($this->element->product_id) && isset($this->row->product_weight) && bccomp($this->row->product_weight, 0, 3)) {
You can try:
Code:
if(true){ if(isset($this->row->product_weight) && bccomp($this->row->product_weight, 0, 3)) {
The following user(s) said Thank You: nousername

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

Time to create page: 0.063 seconds
Powered by Kunena Forum