X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to hide "You may specify a quantity up to {{max}}." (https://forum.x-cart.com/showthread.php?t=55439)

littlebird1111 09-07-2010 04:32 PM

How to hide "You may specify a quantity up to {{max}}."
 
In my store on the products list page under each item it displays:

You may specify a quantity up to {{max}}.

where {{max}} is the quantity in stock.

I have unchecked the box in General Settings>Appearance Options>Display Settings> Show quantity in stock

but that check mark only affects whether the Quantity in stock is displayed on the product detail page, not the products list.

I see the language variable I have for this is:

lbl_product_quantity_type_error

How can I hide this message by commenting it out? I do want to keep the language variable because this is the same error that shows up if people try to enter a quantity into the select box which is too high. But I do not want customers to see how much I have of each item.

I have a highly customized 4.2.2 with a custom skin on it: www.mccombsplan.com so if you can point me in the direction of any files where this might have been added it, that would be truly appreciated.

Thanks for any help!

Lisa

cflsystems 09-08-2010 08:06 AM

Re: How to hide "You may specify a quantity up to {{max}}."
 
Edit skin1/customer/main/product.tpl

littlebird1111 09-08-2010 08:37 AM

Re: How to hide "You may specify a quantity up to {{max}}."
 
Thanks Steve.

What specifically am I looking for?

cflsystems 09-08-2010 01:11 PM

Re: How to hide "You may specify a quantity up to {{max}}."
 
Sorry products list templates are skin1/customer/main/products_list.tpl and skin1/customer/main/products_t.tpl, depending on how you display your products in the list. You are looking for that language variable. It could be also in skin1/customer/main/buy_now.tpl

littlebird1111 09-08-2010 05:10 PM

Re: How to hide "You may specify a quantity up to {{max}}."
 
Thanks a bunch!

It was in the buy_now.tpl, which makes sense because I have the Buy Now option enabled for the product list.

Ahh - there's so much more to customize in these templates.

cflsystems 09-08-2010 05:53 PM

Re: How to hide "You may specify a quantity up to {{max}}."
 
Glad you got it working


All times are GMT -8. The time now is 01:43 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.