How to change weight label after value (kg) - Forum | JoomShaper
Solved EasyStore

How to change weight label after value (kg)

Asked by Tilka 2 years ago Last activity 2 years ago

Hi,

How to change weight label after value (kg) in code or in language file?

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
2 years ago · edited

as 1st step, translate those phrases:

COM_EASYSTORE_UNIT_VALUE_FOR_GRAM="g"
COM_EASYSTORE_UNIT_VALUE_FOR_KILOGRAM="kg"
COM_EASYSTORE_CHECKOUT_SUMMARY_WEIGHT="Weight"

using Joomla admin feature > Language Override, then check front-end again.


Then you can try edit that file:

components\com_easystore\layouts\weight.php

I cannot help more, becuase I am not developer of that component.

Tilka Asked this

Great! It works) thx

2 more replies

Paul Frankowski Senior Staff

Hi Tilka,

as I remember is NOT possible yet. But it will be added in July / Aug update.

Tilka Asked this

Thx. Can you tell me, where is the file .php - I will make it myself

Paul Frankowski Senior Staff

Remember also about:

COM_EASYSTORE_CHECKOUT_SUMMARY_WEIGHT

that describe word "Weight"

Log in to reply.