custom cart text in case of 1 product

  • Posts: 68
  • Thank you received: 2
10 years 9 months ago #181102

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3

Hi,

My cart (top of screen) displays text: "1 item for" in case of 1 item.

I'd like to change this in: "1 product"

Where to change this, I tried overrides but could not find it.

Thanks in advance.

Mark

Attachments:

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

  • Posts: 2143
  • Thank you received: 747
10 years 9 months ago #181118

Assuming you're familiar with language overrides (otherwise see documentation), the text string you're looking for is X_ITEM_FOR_X.

By default it's

X_ITEM_FOR_X="%s item for %s"

and you may want to change it to
X_ITEM_FOR_X="%s product"


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: Jerome, Mohamed Thelji, squareweb

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

  • Posts: 68
  • Thank you received: 2
10 years 9 months ago #181130

Well lousy fool (lol),

This did the trick, my alteration was:

X_ITEM_FOR_X=" - %s %s artikel"
X_ITEMS_FOR_X=" - %s %s artikelen"

Needed two percentage-signs otherwise price disappeared.

Thanks a lot for quick response.

Mark

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

Time to create page: 0.068 seconds
Powered by Kunena Forum