osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

How to - Replace $0.00 with FREE

This is a discussion on How to - Replace $0.00 with FREE within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Is there a way to substitute, "$0.00" with "FREE"? I want to host a downloads site, but EVERYWHERE the price ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-12-2004, 10:22 AM
New Member
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
shane7
Default How to - Replace $0.00 with FREE

Is there a way to substitute, "$0.00" with "FREE"?


I want to host a downloads site, but EVERYWHERE the price is "$0.00", it should be replaced with "FREE".


How can I do that?

Your help is greatly appriciated.
Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-12-2004, 05:05 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

Use PHP function st_replace, load in the variable holding the price which is printed to screen "0.00" and replace it with text string "FREE". The PHP function manual should provide some insight, it is located here,
http://us2.php.net/manual/en/function.str-replace.php
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-13-2004, 07:22 AM
New Member
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
shane7
Default

Thanks a lot.

I'll try it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
What should replace Dynamic MoPics? michael_s osCMax v1.7 General Mods Discussion 6 01-17-2005 10:07 PM
delivery time in replace of the shippment kellycog osCommerce 2.2 Modification Help 9 07-14-2004 10:31 AM
Replace InfoBox Headers with Graphics xtech osCMax v1.7 General Mods Discussion 2 03-22-2004 08:47 PM
replace new install with dbase already used elsewhere Anonymous osCommerce 2.2 Installation Help 2 11-24-2002 11:09 PM


All times are GMT -8. The time now is 02:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax