How to change this text?

  • Posts: 7
  • Thank you received: 0
4 years 2 months ago #315463

-- HikaShop version -- : 4.4.2
-- HikaSerial version -- : 3.0.1
-- Joomla version -- : 3.9.15
-- PHP version -- : 7.2.27
-- Browser(s) name and version -- : Mozilla Firefox 72.0.2 (64B)

Hi,
we set up the module for serial consumtion. Everything works fine and we got a result page. There (as shown on the image) is the word "success" in the alert box. We need to change this - but even though we searched in the hikaserial language file as also in the hikashop we didn´t find it. Anyone know where to change this?



Kind regards
Alex

Attachments:
Last edit: 4 years 2 months ago by Aqualon.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
4 years 2 months ago #315485

Hello,

What is the serial consumption plugin you're using ?
The message is not in English so I don't know what is that message nor which plugin is generating it.

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: 7
  • Thank you received: 0
4 years 2 months ago #315558

Hi Jerome,
yes, sorry for the missing information. We customized the output allready. We use the points consumer plugin. The translated text below was in the language files, but the word "success" isn´t there at least as far as I can see.
KInd regards
Alex

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
4 years 2 months ago #315578

Hello,

In the pointsconsumer plugin, you will the line

$app->enqueueMessage(JText::sprintf('HIKAPOINTS_EARN_X_POINTS', $points), 'success');
You can replace it with
$app->enqueueMessage(JText::sprintf('HIKAPOINTS_EARN_X_POINTS', $points));
In order to not use the type "success" ; that type is handle by Joomla backend but not by the front-end templates.

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.

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