WP Snippet: Theming Jigoshop, create your custom product types

jigoshop logoIf you work with Jigoshop you’ve probably noticed that there are some ‘product types’ you don’t need for your project and you may be interested to create new ones.


This snippet (pasted in your functions.php) works when Jigoshop is active and remove all product types except ‘Simple’ and adds a new one called ‘Custom’. When you deactivate Jigoshop plugin or you change your theme, all product types become as default, and when you activate your theme again everything returns as you had coded, that simple.

Hope you enjoy it 🙂

notice: This snippet has not been tested under multisite.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s