Hello,
I’m looking to change the content of a tooltip ( when you hover over a product ) by adding the physical stock of the product in its tooltip. Does anyone know where to do that in the code ?
I know that there are some topics on this already but they are very unclear to me.
Thank you for your time.
Hi daisuke57,
To change the tool tip, guess you need to edit respective lang file.
- Search your dolibarr directory for the tool tip word / sentence to identify which file contains it
- take a backup of the file and replace the text.
- In case of any issues, you should be in a position to restore the original file…
Alternatively,
- Go to setup > Translation
- Enter the current tool tip text in the field named “current translation string”
- Press search
- If the string is found, it would list the language, key and current translation string.
- Copy the key and navigate to “Overwrite a current translation string” tab
- Select the correct language dropdown, enter the key value and the new string.
If you find this useful, then, kindly mark the check box “solution” so that this may be useful to someone else who may be searching for the same.
thanks !
yesbee