Post by promofire » Tue Aug 16, 2011 1:29 am

We offer free shipping on everything, so in the product page template, under the model #, I added a Free Shipping line that has gone over really well. We now have a distributor that will not allow us to advertise free shipping, but I don't want to remove that for the other 1200 products. Can someone help me come up with a bit of php if magic that would say if product is
  • do not show line, if all other products, show it?

Active Member

Posts

Joined
Thu Jan 27, 2011 2:00 am

Post by uksitebuilder » Tue Aug 16, 2011 1:39 am

Grabs magic wand - :joker:

Code: Select all

<?php
$notfree = array('model1','model2','etc');
if(!in_array($model, $notfree)){
?>

YOUR FREE DELIVERY TEXT HERE

<?php } ?>
edit model1, model2, etc to your product model nnumbers

ImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by promofire » Tue Aug 16, 2011 2:56 am

You are tremendous. Works a pip, thanks!

Active Member

Posts

Joined
Thu Jan 27, 2011 2:00 am
Who is online

Users browsing this forum: No registered users and 18 guests