Posted - 10/28/2017 : 19:01:52
Another method for you to consider ... I don't think it is necessary to print the word " Price:" at all, like ... $15.00Surely customers would recognize that alone is the Purchase Price, yes ? To implement: (1) Add this class to your CSS style sheet. .hide {display: none !important}(2) Use these parameters in includes.php// ZERO PRICE $xxPrice=''; // Remove the word Price $pricezeromessage='<span class="hide">0</span>'; // If Price entered is $0.00, then hide the entire line(3) And in Product Admin: Price = 0 Sell Button: Untick = NO That will achieve what you want website-wide, without any need for the code ... if(@$_GET['cat']=='3') $csnobuyorcheckout=TRUE;Gary 
|