Change text on button

  • Posts: 100
  • Thank you received: 1
11 years 3 months ago #116011

Hi there,
I have HikaShop set up for no registration on the checkout.
This works fine but a few customers are missing the button 'Add Address'

Please can you tell me where I change the text on the button, I want to change it to 'Click here to Add Address and Continue'

Regards,
Sean R.

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 3 months ago #116018

Hi,

There is no "Add address" button that I know of. The button is called "New" by default.
You can change its text by editing the file "address_view" via the menu Display>Views and changing the code:
JText::_('HIKA_NEW')

to the text you want.

The following user(s) said Thank You: intown

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

  • Posts: 100
  • Thank you received: 1
11 years 3 months ago #116158

Hi there,
Sorry but I do have the text 'Add Address' on my button.
Please see the attached image.

We have our shop configured for no registration.

Do you know where we can change this?

Thanks,
Sean R.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #116170

Hi,

I think that the translation word that you are searching for is probably HIKA_REGISTER.

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

  • Posts: 100
  • Thank you received: 1
11 years 3 months ago #116205

I have checked in the Display View 'address_view.php' for the 'HIKA_REGISTER' text but it is not in there.

Do you know which view I need to edit to try this?

Thanks,
Sean R.

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 3 months ago #116222

As Mohamed said, it's the translation HIKA_REGISTER that you need to change.
You will be able to change it with a translation override, as explained here:
www.hikashop.com/en/download/languages.html#modify

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

  • Posts: 70
  • Thank you received: 4
11 years 2 months ago #119891

Thanks for this post and answer.

Originally I changed the HIKA_NEW variable in the Language override file. Then I noticed several screens where new was changed to "Update Billing Address"

This post showed me where to modify the view, so all of my HIKA_NEW buttons all say new again.

Would be great if this was a variable in the language override file.

Thanks! -- Steven

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

  • Posts: 2334
  • Thank you received: 403
11 years 2 months ago #119903

That's indeed something we may think about if more people ask for it ;)

The following user(s) said Thank You: intown

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

Time to create page: 0.096 seconds
Powered by Kunena Forum