![]() |
Item Price Field Requirements
I am trying to find out what file controls what can be entered into the fields that control the price. I wod like to be able to place letters in the item price fields.
I beleive this line controls it, but I can not find the file to edit. <td class="ProductDetails"><input type="text" name="list_price" size="18" value="{$product.list_price|formatprice|default:$z ero}" /></td> Where would you find the formatprice controller Frank |
Re: Item Price Field Requirements
Price field is numeric field only. You can't have any other characters in there. This field value is used on 100's of places in the code, if not more, and in the db is set as decimal type.
Why would you want price to have alphanumeric value? formatprice is a modifier and it's in include/templater/plugins |
Re: Item Price Field Requirements
I was hoping to be able to put "call for price" or "add to cart for price" as I have seen quite a few other stores that are doing this now. I am using the MAP price mod, but have had a quite a few customers call because they do not understand what is going on.
|
Re: Item Price Field Requirements
|
All times are GMT -8. The time now is 07:25 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.