iNewView Posted August 3, 2005 Share Posted August 3, 2005 brand new to OSC but it's just awesome to see the community behinde it. http://www.oscommerce.com/community/contributions,3211 is a cont. for having "call for price" option on $0.00 price tag items however i don't see where i could download the files to install them on my OSC. any idea? thank you Link to comment Share on other sites More sharing options...
Guest Posted August 3, 2005 Share Posted August 3, 2005 I /includes/classes/currencies.php change the last function at the bottom of the page to: function display_price($products_price, $products_tax, $quantity = 1) { if ($products_price > 0){ return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); }else{ return "Call for price!"; } } Matti Link to comment Share on other sites More sharing options...
yansfung Posted August 23, 2005 Share Posted August 23, 2005 Hello, Matti! I am a beginner of PHP stuff. Please drop me a pointer where/whom can show to modifiy the script to replace the [buy Now!]+hyper_link button by [Contact Us]+hyper_link one. It is not make sense for Call-for-Price! then Buy-now! I will upload the modification back to the contribuition if success. I am not sure whether it needs to take a light year to finish the modification if the original script is complicated since it took me for half an hour for the 5-min contribution installation .It will highly appreciated the cotribution originator, Tim can kindly show me to do that. Thanks a lot in advanced! ===================================================================== I /includes/classes/currencies.php change the last function at the bottom of the page to: function display_price($products_price, $products_tax, $quantity = 1) { if ($products_price > 0){ return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); }else{ return "Call for price!"; } } Matti <{POST_SNAPBACK}> YaNotCook !! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.