| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Out of stock Product change to sold out label | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Out of stock Product change to sold out label
Hi,
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!!
__________________
Multi-vendor 5.3.6.0 |
|||||||
#2
|
|||||||
|
|||||||
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 |
|||||||
|
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|