on our site have text within div shows if product in price range (offering finance) within our code.
now, want exclude 1 individual product showing box it's pre-owned item.
is there way of finding product sku , excluding parameters have?
<div class="v12smallwrapper"> <a onclick="showfinance('',<?php echo $_price?>,'<?php echo $_product->getbrand()?>')"> <?php echo $_freefinance ?> <?php echo $this->__('finance available @ checkout <br />£')?> <?php echo $monthlypayment2499 ?> <?php echo $this->__(' month. ')?> <?php if ($_price <= 2500):?> <?php echo $this->__('buy pay later finance available')?> <?php endif; ?> <?php echo $this->__('click here details*')?> </a> i'm not php appreciated.
try this
<?php if($_product->getsku() != 'sku-to-exclude'): // code display box <?php endif; ?>
Comments
Post a Comment