Post by johans » Mon Jun 08, 2020 6:34 pm

Hi,

Sorry for basic question; I would like to know where to find this code? Some some reason it was not included to translations.
in home page "Shopping cart" and "Categories"

Image

Attachments

where to find the code.PNG

where to find the code.PNG (270.44 KiB) Viewed 531 times


Thanks,
Mr. J


New member

Posts

Joined
Mon Oct 17, 2011 5:08 pm

Post by ADD Creative » Mon Jun 08, 2020 7:07 pm

What version of OpenCart?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by johans » Mon Jun 08, 2020 7:27 pm

Version 2.0.1.0

Thanks,
Mr. J


New member

Posts

Joined
Mon Oct 17, 2011 5:08 pm

Post by thekrotek » Mon Jun 08, 2020 8:25 pm

This isn't a code, these are language strings and you can find them in language files ("checkout" folder, for example).

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by ADD Creative » Mon Jun 08, 2020 10:07 pm

catalog/language/english/common/header.php#L5
catalog/language/english/module/category.php#L3

Replace english with the language you want to change.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by johans » Thu Jun 11, 2020 2:28 pm

thank you for all the response.
I have dual language. See attached file on the code; BUT it was not calling or getting the code.
Did i miss out some command here?

Image

Attachments

opencart code h2.PNG

opencart code h2.PNG (29.72 KiB) Viewed 396 times


Thanks,
Mr. J


New member

Posts

Joined
Mon Oct 17, 2011 5:08 pm

Post by ADD Creative » Thu Jun 11, 2020 10:32 pm

That's the bestseller.php language file, but the code is not the bestseller.tpl. Are you editing the correct files? Have you refreshed the modification cache?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 183 guests