- Posts: 2
- Thank you received: 0
Reference product
11 years 4 months ago - 11 years 4 months ago #203659
by airvay
Reference product was created by airvay
-- url of the page with the problem -- :
www.rainet.fr/demo/index.php/catalogue/category/16-ballons
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3
-- Browser(s) name and version -- : Firefox
When i upload a new product, under my pic i've GRATUIT (FREE) , i don't find disable this value
I want to see my code product instead of the FREE
Possible ?
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3
-- Browser(s) name and version -- : Firefox
When i upload a new product, under my pic i've GRATUIT (FREE) , i don't find disable this value
I want to see my code product instead of the FREE
Possible ?
Last edit: 11 years 4 months ago by airvay.
Please Log in or Create an account to join the conversation.
11 years 4 months ago #203660
by Xavier
Replied by Xavier on topic Reference product
Hi,
You have to edit the view "product / listing_img_title" then in that view replace the part:
By:
You have to edit the view "product / listing_img_title" then in that view replace the part:
Code:
<!-- PRODUCT PRICE -->
<?php
if($this->params->get('show_price','-1')=='-1'){
$config =& hikashop_config();
$this->params->set('show_price',$config->get('show_price'));
}
if($this->params->get('show_price')){
$this->setLayout('listing_price');
echo $this->loadTemplate();
}
?>
<!-- EO PRODUCT PRICE -->
Code:
<?php echo $this->row->product_code; ?>
Please Log in or Create an account to join the conversation.
Time to create page: 0.170 seconds