Out of stock Product change to sold out label
I am looking for workaround solution, change the label of a product that is out of stock make it a Sold Out (something that a customer can see the product is Sold Out). My thought here is using the change label text but does anyone knows an alternate solution for this?
Also, I want to display the product is sold out and have a marked "SOLD OUT" on the vendor page.
Thank you so much!!
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.
|All times are GMT -8. The time now is 09:46 PM.|
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.