Suppress message for currency

  • Posts: 180
  • Thank you received: 13
9 years 4 months ago #228318

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- Error-message(debug-mod must be tuned on) -- : The currency you selected is not accepted for payments

I have one main currency published (£GBP) and I have Euro and USD as displayed only.

I have already let the user know that the purchases are in GBP and that the other currencies are for comparison only. But when one of the other currencies is selected and you go to the checkout, a message appears starting that "The currency you selected is not accepted for payments". How can you turn this message off?

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
9 years 4 months ago #228357

Hi,

There is no option to turn it off.
You can modify it with a translation override.
To remove it, you would need to remove the line:
$app->enqueueMessage( JText::_('CURRENCY_NOT_ACCEPTED_FOR_PAYMENT'));
from the file components/com_hikashop/views/checkout/view.html.php

The following user(s) said Thank You: esotechie

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

  • Posts: 180
  • Thank you received: 13
9 years 4 months ago #228391

Thanks Nicolas, you are a gent :)

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

Time to create page: 0.057 seconds
Powered by Kunena Forum