View Single Post
  #2  
Old 08-01-2019, 06:15 AM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 446
 

Default Re: Out of stock Product change to sold out label

I can think of two other ways, but changing the label text would be much either. Anyhow, here are other possibilities.


First of all, the message "Out of stock" is output by the template file customer/product/details/stock/body.twig. So use the theme tweaker to override this.


Second, the above template file is called by XLite/View/Product/Details/Customer/Stock.php. So you can write a module to override this and load a different template.


I don't have multivendor functionality in my store, so I can't help for the vendor page.
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
Reply With Quote