AbanteCart Community

AbanteCart Development => Customization help => Topic started by: buildingewealth on November 04, 2016, 08:20:31 PM

Title: Remove "In Stock" in Size Options
Post by: buildingewealth on November 04, 2016, 08:20:31 PM
Hi,

Please see the "Size" options by the right side of the product in the attached URL.

How do I remove these texts

"In Stock"
"1 In Stock"
"2 In Stock"
"3 In Stock"

which is among the options.

Also how do I make the option text "Size" to be bold.

Thanks.

Chinedu
Title: Re: Remove "In Stock" in Size Options
Post by: abantecart on November 07, 2016, 01:41:27 PM
Here is everything about stock tracking
http://docs.abantecart.com/pages/catalog/products/inventory.html

You can disable stock display (see an image) or set "text_instock" language definition on product section to be empty.


Here is a code snippet
Code: [Select]
if($this->config->get('config_stock_display')){
$opt_stock_message = $option_value['quantity'] . " " . $this->language->get('text_instock');
}