| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Change "From 1 to X" to "Quantity in stock:" | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Change "From 1 to X" to "Quantity in stock:"
I have just completed this work on 4.3.2, I expect it is very similar, if not identical, in earlier versions:
I wanted the product box to say Quantity [1 ] Quantity in stock: 12 instead of Quantity [1 ] (from 1 to 12) after the number of items selection box. (I ticked "Show quantity selector as input textbox" in General Settings, Appearance Options.) I edited customer/main/buy_now.tpl as follows: I changed this part: Code:
to this: Code:
(You can delete the commented out text completely if you like, I prefer to leave it so that I can see what I have done!) Then I went to Languages, and created the new label, lbl_quantity_in_stock so that it says: Code:
Now your product page should show: Quantity [1 ] Quantity in stock: 12 Which I think is clearer than "from 1 to 12".
__________________
X-Cart Gold Version 4.3.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|