Change Login prompt

  • Posts: 11
  • Thank you received: 0
13 years 1 week ago #30637

When a user is not logged in and goes to checkout he sees the error message:

"No payment methods found"

at the top of the screen. Can we add some text such as "Please Register or Log In" to make it more explicit?

Would we change the text here?
administrator/components/com_hikashop/classes/payment.php

Just wanted to make sure this doesn't cause any other issues.

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

  • Posts: 11
  • Thank you received: 0
13 years 1 week ago #30642

I should have mentioned this only happens when PayPal Pro is enabled. Otherwise we get a "Login or Create New Account" message.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 6 days ago #30688

If you want to change that message, you can override its translation as explained there:
www.hikashop.com/en/download/languages.html#modify

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

  • Posts: 11
  • Thank you received: 0
13 years 6 hours ago #31151

Nicolas,
Thanks but I cannot find the phrase "No payment methods found" or even parts of it in the Language file.

Sorry for the delay,

Rick

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 6 hours ago #31160

Indeed that message is not translatable in the current version. It will be in the next.
It the mean time, you can edit directly the file administrator/components/com_hikashop/classes/payment.php and change the message there.

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

  • Posts: 11
  • Thank you received: 0
13 years 4 hours ago #31166

Thank you. That worked great!

Rick

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

Time to create page: 0.060 seconds
Powered by Kunena Forum