Skip to main content

Suppress message for currency

10 years 9 months ago #228318 by esotechie
-- 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.

10 years 9 months ago #228357 by nicolas
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.

10 years 9 months ago #228391 by esotechie
Thanks Nicolas, you are a gent :)

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

Time to create page: 0.051 seconds
Powered by Kunena Forum