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

'FREE' work around

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-28-2006, 11:48 AM
  ezi designs's Avatar 
ezi designs ezi designs is offline
 

Senior Member
  
Join Date: Sep 2006
Location: United Kingdom
Posts: 118
 

Exclamation 'FREE' work around

Does anyone know if there is a mod available that instead of showing 0.00 can show 'FREE'.

The problem i find is that if i show the price as 0.00 when adding a product is shows the box as empty on the customer side product page. What i am after is it to display 'FREE'


Thanks

Richard
__________________
x-cart 4.1.6

DSEFU PRO

http.www.demontemplates.com
Reply With Quote
  #2  
Old 12-28-2006, 12:19 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: 'FREE' work around

You can edit your skin1/customer/product.tpl and find:

Code:
<input type=text size=7 name=price>

And replace with:

Code:
<b>FREE!</b>
Reply With Quote
  #3  
Old 12-28-2006, 01:30 PM
  ezi designs's Avatar 
ezi designs ezi designs is offline
 

Senior Member
  
Join Date: Sep 2006
Location: United Kingdom
Posts: 118
 

Default Re: 'FREE' work around

Thank you Jon,

And also i asume you mean

skin1/customer/main/product.tpl
__________________
x-cart 4.1.6

DSEFU PRO

http.www.demontemplates.com
Reply With Quote
  #4  
Old 12-28-2006, 02:43 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: 'FREE' work around

Yes sorry for the typo.
Reply With Quote
  #5  
Old 01-22-2007, 04:07 PM
 
brandfly brandfly is offline
 

Member
  
Join Date: Nov 2006
Location: San Diego
Posts: 12
 

Default Re: 'FREE' work around

Thanks, I was trying to do the same thing. You'll also need to make a change to the product search page otherwise it will say "Enter Your Price". I just edited the language from the admin so instead of "Enter Your Price" it says "Free!". For those of you who don't know how to do this, just go to the admin, click language, select English from the dropdown at the top under Edit Language, then for filters type in "Enter Your Price" then press go. Hope that makes sense. I guess you could also edit in the template, but the language feature is so nice and easy.
__________________
Thanks.

Dustin // Captain

[ BrandFly ] Design & Other Creative Stuff
BrandFly.com

X-Cart Gold v4.1.1
Reply With Quote
  #6  
Old 01-27-2007, 09:15 AM
  ezi designs's Avatar 
ezi designs ezi designs is offline
 

Senior Member
  
Join Date: Sep 2006
Location: United Kingdom
Posts: 118
 

Default Re: 'FREE' work around

Yes i was about to get to this myself.


Thanks for the post anyhow.
__________________
x-cart 4.1.6

DSEFU PRO

http.www.demontemplates.com
Reply With Quote
  #7  
Old 02-15-2007, 12:33 PM
 
dcorwin dcorwin is offline
 

Advanced Member
  
Join Date: May 2004
Location: Hollywood, CA
Posts: 33
 

Default Re: 'FREE' work around

Wouldn't all products say "free" with the above mod?
__________________
Dave Polcino
Sampledump.com
Noise & Vision
XCart Pro 4.1.6
Reply With Quote
  #8  
Old 02-15-2007, 04:30 PM
  ezi designs's Avatar 
ezi designs ezi designs is offline
 

Senior Member
  
Join Date: Sep 2006
Location: United Kingdom
Posts: 118
 

Default Re: 'FREE' work around

No it only chages the price if it is set to 0.00
__________________
x-cart 4.1.6

DSEFU PRO

http.www.demontemplates.com
Reply With Quote
  #9  
Old 02-15-2007, 04:32 PM
 
dcorwin dcorwin is offline
 

Advanced Member
  
Join Date: May 2004
Location: Hollywood, CA
Posts: 33
 

Default Re: 'FREE' work around

Nice, thanks.
__________________
Dave Polcino
Sampledump.com
Noise & Vision
XCart Pro 4.1.6
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:05 PM.

   

 
X-Cart forums © 2001-2020