News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

In Stock Levels

Started by hendrikdebeer, April 17, 2019, 16:35:28 PM

Previous topic - Next topic

hendrikdebeer

Hi Guys

Where can I change the wording "in stock" - see image attached.

I know it has something to do with the stock levels.

I could change the COM_VIRTUEMART_STOCK_LEVEL_DISPLAY_NORMAL_TIP wording.

Jörgen

Use normal Joomla language override. Best way and secures that updates don't revert your changes.
Regards
Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

hendrikdebeer

I have searched in the language override, but I just can't find that specific reference.

I have renamed the following, but none of these worked.

COM_VIRTUEMART_PRODUCT_IN_STOCK
COM_VIRTUEMART_SEARCH_ORDER_PRODUCT_IN_STOCK

I thought maybe it will be in the CONFIGURATION settings somewhere.

jenkinhill

That is not the default VM template, so check the code in your override files. Availability status is likely to be in Joomla-root/templates/[your template]/html/com_virtuemart/productdetails/default_pdf.php
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Jörgen

Have You added this key COM_VIRTUEMART_STOCK_LEVEL_DISPLAY_NORMAL_TIP in Joomla override ?

Add it for back end and tick use at both ends.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

hendrikdebeer

Eventually found this

PLG_SYSTEM_VPFRAMEWORK_PRODUCT_IN_STOCK

It was found under the Administrator Language override - all is working now!

Thanks to everyone who helped me on this topic.

Jörgen

These are custom keys if you have the key then you can do a override even if the original string does not exist.  And what about the other keys you were asking about. Were they missing translations or have the wrong worthing?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.