Fail to edit "Login or continue as a guest" text in Checkout page

  • Posts: 20
  • Thank you received: 0
6 years 4 months ago #294585

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.7.2
-- PHP version -- : 5.4.22

Hi there,

I tried to edit the text "Login or continue as a guest" in checkout to my custom text, but it didn't work. Below please find my steps:
1. Go to Hikashop > Configuration > Language
2. Click "Edit" icon of the "en-GB" file
3. Copy the line "LOGIN_OR_GUEST" to Override section and edit the text, then Save.
4. Custom text didn't show in Checkout page.

Please see the attached images for your reference.

Another question is that can I insert a hyperlink into the custom text? If no, how can I put a custom module in this page?

Thanks a lot.

Attachments:
Last edit: 6 years 4 months ago by FORIDA_LTD.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
6 years 4 months ago #294625

Hi,

That's the correct way of doing it.
If you open again the popup after that, do you still have the override text there ?
If not, that would mean that there is some security system on your website blocking the request.
I would recommend to try to do the override via the Joomla language manager:
docs.joomla.org/J3.x:Language_Overrides_in_Joomla
And yes, you can have a link. Just add the HTML of the link in your translation override.
Note that you need to use simple quotes in your HTML tags.
And note that you can easily add custom HTML to the checkout. For that you can add views of the type "text" in your "checkout workflow". That can allow you to add modules as well if you add there a modules anywhere tag:
www.regularlabs.com/extensions/modulesanywhere

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

Time to create page: 0.055 seconds
Powered by Kunena Forum