Assign different listing_img_title view

  • Posts: 1150
  • Thank you received: 13
  • Hikashop Business
2 hours 8 minutes ago #371907

-- HikaShop version -- : 4.6.2
-- Joomla version -- : 3.10.12

Hi,

Is it possible to create and assign overrides for the listing_img_title.php view file like we do for show_default.php for example?
I need to have a different one for a specific category.

I have added a custom span text <span class="uk-text-meta">(με ΦΠΑ)</span> in the price area and i need to change that span for a specific category.

<!-- 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();
	}
?>
  
  <span class="uk-text-meta">(με ΦΠΑ)</span>
  
	<!-- EO PRODUCT PRICE -->

Thank you

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

Time to create page: 0.056 seconds
Powered by Kunena Forum