Snippets of useful code for the famous Jigoshop Wordpress e-commerce plugin
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
jigoshop
README.md

README.md

Jigoshop-Snippets

Snippets of useful code for the famous Jigoshop Wordpress e-commerce plugin

Usage

In each file you should find the name of the initial file. Replace the content of your custom Jigoshop template file by it.

Features

Sort listed products by price:


Description: Add sorting feature (by price and date):
	- sort by price lowest to highest and highest to lowest
	- sort by date newest to latest and latest to newest

Jigoshop template file:	templates/product_taxonomy.php
Snippets file:		jigoshop/sort_listed_products.php

Display sub-categories:


Description: Display sub-categories instead of products when available

Jigoshop template file:	templates/taxonomy-product_cat.php
Snippets file: 		jigoshop/display_sub-category.php

Display mini-cart:


Description: Display number of items and total value of your cart including a link to view it

Jigoshop template file: Whatever
Snippets file:		jigoshop/display_mini_cart.php