Using “tagged” tags on the Product.php Template in Shopp

When it comes to working with any website project its all about customization.  I wanted to show you a way that you can customize the product.php template when using the Shopp ecommerce plugin for WordPress.  Using the “tagged” tag opens up a lot of possibilities when you are customizing the product.php template and its really easy for most people with a little programming knowledge and the ability to use the user interface in WordPress.

Step 1: The first thing that you need to do is create a tag on the product you’ve created using the Shopp plugin.  See the screenshot below…

Step 2: Next, you need to edit the product.php template under /wp-content/themes/yourtheme/shopp/ by adding the following line of PHP code.

<?php if(shopp(‘product’,’tagged’,’name=yourtag’))
echo “Call for Pricing”; ?>

As you can see its a very versitile way to accomplish a number of customizations that you might be considering on your Shopp ecommerce store using WordPress.  I hope you found this tip useful.

Leave a Reply

Your email address will not be published. Required fields are marked *

This blog is kept spam free by WP-SpamFree.