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)
-   -   Price Input Box for $0 Products... (https://forum.x-cart.com/showthread.php?t=33974)

crcool75 09-16-2007 07:28 PM

Price Input Box for $0 Products...
 
Hello,

If I have a product with a $0.00 price, it gives the customer the option to enter a price for that product. However, on the product list page it says "Enter your price!". How would I make it say "Enter your price!" inside the product details too, without the option to enter a price?

What I'm doing is changing the language variable to "Call for pricing.", and I want that to show up inside the product description too.

Thanks!

P.S. I hope this is an easy fix. :)

infinity773 09-18-2007 12:27 PM

Re: Price Input Box for $0 Products...
 
I have the same problem...
Any help here very appreciate

Thanx

crcool75 09-20-2007 12:39 PM

Re: Price Input Box for $0 Products...
 
Anybody?

toomnyhats 09-20-2007 04:12 PM

Re: Price Input Box for $0 Products...
 
In customer/main/product.tpl
Find:
<input type="text" size="7" name="price" />

Replace with:

Call for price


If you don't want to hard code it in, you could set up a language variable and just call that. For example: (using whatever css class you desired)

Find:
<input type="text" size="7" name="price" />

Replace With:
<font class="ProductDetailsTitle">{$lng.lbl_call_for_pri ce}</font>

crcool75 09-20-2007 04:42 PM

Re: Price Input Box for $0 Products...
 
Thanks toomyhats, but after I posted this I found the fix. It's basically what you said and it works!

toomnyhats 09-20-2007 05:02 PM

Re: Price Input Box for $0 Products...
 
Awesome!


All times are GMT -8. The time now is 06:48 PM.

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