Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Price Input Box for $0 Products...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-16-2007, 07:28 PM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default 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.
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #2  
Old 09-18-2007, 12:27 PM
 
infinity773 infinity773 is offline
 

Member
  
Join Date: Sep 2006
Posts: 25
 

Default Re: Price Input Box for $0 Products...

I have the same problem...
Any help here very appreciate

Thanx
__________________
Version 4.5.2
Reply With Quote
  #3  
Old 09-20-2007, 12:39 PM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default Re: Price Input Box for $0 Products...

Anybody?
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #4  
Old 09-20-2007, 04:12 PM
 
toomnyhats toomnyhats is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 41
 

Default 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>
__________________
toomnyhats
X-Cart Gold 4.1.9 (Unix)
X-SpecialOffers
DSEFU (disabled)
Reply With Quote
  #5  
Old 09-20-2007, 04:42 PM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default 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!
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #6  
Old 09-20-2007, 05:02 PM
 
toomnyhats toomnyhats is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 41
 

Default Re: Price Input Box for $0 Products...

Awesome!
__________________
toomnyhats
X-Cart Gold 4.1.9 (Unix)
X-SpecialOffers
DSEFU (disabled)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:20 AM.

   

 
X-Cart forums © 2001-2020