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)
-   -   'FREE' work around (https://forum.x-cart.com/showthread.php?t=27646)

ezi designs 12-28-2006 11:48 AM

'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

Jon 12-28-2006 12:19 PM

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>

ezi designs 12-28-2006 01:30 PM

Re: 'FREE' work around
 
Thank you Jon,

And also i asume you mean

skin1/customer/main/product.tpl

Jon 12-28-2006 02:43 PM

Re: 'FREE' work around
 
Yes sorry for the typo.

brandfly 01-22-2007 04:07 PM

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.

ezi designs 01-27-2007 09:15 AM

Re: 'FREE' work around
 
Yes i was about to get to this myself.


Thanks for the post anyhow.

dcorwin 02-15-2007 12:33 PM

Re: 'FREE' work around
 
Wouldn't all products say "free" with the above mod?

ezi designs 02-15-2007 04:30 PM

Re: 'FREE' work around
 
No it only chages the price if it is set to 0.00

dcorwin 02-15-2007 04:32 PM

Re: 'FREE' work around
 
Nice, thanks.


All times are GMT -8. The time now is 12:05 AM.

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