Skip to main content

HIKA_NEXT language constant does not fit for product page and checkout

4 hours 17 minutes ago #100000618 by oxido
-- HikaShop version -- : 6.8.1
-- Joomla version -- : 5.4.10
-- PHP version -- : 8.5.12
-- Browser(s) name and version -- : Chrome 157.0

Hi,
Maybe this is working for English because you can have "Next" in the product page for the main image slider and for the Checkout page, but in Romanian you can't use "Următorul" for images,  it is a gramatical fail, but in my situation I don't even use text for images, I've set HIKA_NEXT= "" and there is visible only the small arrows  < >, and this affect the checkout page.
So for my it will work like this:
For images: Următoarea - Next (this is the feminin gender for "Următorul")
For checkout: Următorul pas - Next step.
For checkout can be HIKA_NEXT_CHECKOUT_STEP or just HIKA_NEXT_CHECKOUT.
For product page  HIKA_NEXT_PRODUCT_IMG
Thank you!  :D

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

1 hour 12 minutes ago #100000621 by nicolas
Hi,

The text you see next to the arrows of the product images is not meant to be displayed: the arrows put the HIKA_NEXT and HIKA_PREVIOUS texts in a label for screen readers, hidden with the element-invisible class, and your template does not define that class, so the label shows on the page. Since the same HIKA_NEXT text is the button of the checkout, emptying it to hide the label also emptied the checkout button.

This is fixed in the latest build of HikaShop 6.8.1: download it from your account on our website and install it over your current HikaShop (it has the same version number, so Joomla's updater will not offer it; your settings are kept). With it, the image arrows have their own texts, HIKA_NEXT_IMAGE and HIKA_PREVIOUS_IMAGE, and HikaShop hides them itself whatever the template.

After the update, give HIKA_NEXT back its text for the checkout: in Joomla, System > Language Overrides, choose Romanian - Site, and set HIKA_NEXT to "Următorul pas" (or delete the override with the empty value you added). If you want the screen reader label of the images in Romanian, add overrides for HIKA_NEXT_IMAGE ("Imaginea următoare") and HIKA_PREVIOUS_IMAGE ("Imaginea anterioară"); they are never displayed on the page. More on translations and overrides: www.hikashop.com/support/documentation/10-languages.html

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

Time to create page: 0.044 seconds
Powered by Kunena Forum