4 questions on product page

  • Posts: 7
  • Thank you received: 0
10 years 10 months ago #179026

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.27

How to:
1) have more character before "Read more"
2) have link on item option like in your demo ( demo.hikashop.com/index.php?option=com_h...ow&Itemid=91&lang=en )
3) have link to contact vendor on product page
4) I've installed and activated FaLang and I've translated a title in Russian of one product but I can't see the translate on frontend ( demo.lifecolor.eu/onceinitaly/index.php?...s&Itemid=981&lang=ru )

Thanks so much

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 10 months ago #179043

Hi,

1. Override the view "product | show_tabular" and change the two references of "300" in the code by the length you want

if(!empty($this->element->product_description)){
	$resume = substr(strip_tags(preg_replace('#<hr *id="system-readmore" */>.*#is','',$this->element->product_description)),0,300);
	if (!empty($this->element->product_description) && strlen($this->element->product_description)>300)
		$resume .= " ...<a href='#hikashop_show_tabular_description'>".JText::_('READ_MORE')."</a>";
	echo JHTML::_('content.prepare',$resume);
}

2. Use the parameter "url" in the product configuration (just below the description).

3. Activate the option "Display a contact button on the product page" in the configuration
www.hikashop.com/support/support/documen...ig.html#main_product

4. Without more details about your configuration it will be difficult to say.
Right activated in the HikaShop configuration ? Translated from the product edition page in the HikaShop backend ?
Translation right published ? Having the XML in falang too ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.049 seconds
Powered by Kunena Forum