- Posts: 7
- Thank you received: 0
4 questions on product page
11 years 10 months ago #179026
by LifeCoci
4 questions on product page was created by LifeCoci
-- 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
-- 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.
11 years 10 months ago #179043
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic 4 questions on product page
Hi,
1. Override the view "product | show_tabular" and change the two references of "300" in the code by the length you want
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,
1. Override the view "product | show_tabular" and change the two references of "300" in the code by the length you want
Code:
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.
Please Log in or Create an account to join the conversation.
Time to create page: 0.166 seconds