Plugin names showing at top of payment and shipping pages on Vendor frontend

  • Posts: 304
  • Thank you received: 4
  • Hikaauction Standard Hikamarket Multivendor
3 years 9 months ago #321932

-- HikaShop version -- : 4.3.0
-- HikaMarket version -- : 3.1.0
-- Joomla version -- : 3.9.19

Hi,

Just started setting this up, but when I login and look at the frontend vendor dashboard, the names of the plugins are showing as headers above the options when you open them up.

See example attached.

How do I fix this before the site goes live? Looks REALLY crappy!

Attachments:

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
3 years 9 months ago #321968

Hello,

In the view "pluginmarket / form", please replace

<h1><?php echo JText::_('HIKA_PLUGIN') . JText::_('PLG_HIKASHOP'.strtoupper($this->type).'_'.strtoupper($this->name)); ?></h1>
By
<h1><?php
	echo JText::_('HIKA_PLUGIN');
	$key = 'PLG_HIKASHOP'.strtoupper($this->type).'_'.strtoupper($this->name);
	if(JText::_($key) != $key)
		echo JText::_($key);
	else
		echo $this->name;
?></h1>
It will allow you to have specific translations for the plugin ; but it will fallback on the plugin default name if there is no translation.

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.

  • Posts: 304
  • Thank you received: 4
  • Hikaauction Standard Hikamarket Multivendor
3 years 9 months ago #321972

Thank you. That worked. Please see my new queries.

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

Moderators: Obsidev
Time to create page: 0.065 seconds
Powered by Kunena Forum