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.
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 ...
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.
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!
Thanks a lot.
I'll try it.
Bookmarks