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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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! |
|
#3
| |||
| |||
| Thanks a lot. I'll try it. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |