Target specific pages in wordpress e-commerce


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php if(wpsc_the_product_id() == 14){ ?>
  2. <?php }elseif(wpsc_the_product_id() == 13){ ?>
  3. <?php }else{ ?>
  4. <?php }?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.