Shortcodes
Jigoshop comes with several shortcodes which can be used to insert content inside posts and pages.
The following shortcodes are inserted into pages upon installation and therefore shouldn't need to be used anywhere else:
-
[jigoshop_cart]- shows the cart page -
[jigoshop_checkout]- shows the checkout page -
[jigoshop_pay]- shows the checkout pay page -
[jigoshop_order_tracking]- shows the order tracking form -
[jigoshop_my_account]- shows the user account page -
[jigoshop_edit_address]- shows the user account edit address page -
[jigoshop_view_order]- shows the user account view order page
The following shortcodes can be used anywhere you want:
-
[recent_products per_page="12" columns="4" pagination="yes"]- Lists recent products - useful on the homepage. The per page limits the amount of recent products shown, and the columns attribute controls how many columns wide the products should be before wrapping. -
[featured_products per_page="12" columns="4" pagination="yes"]- Works exactly the same as recent products but displays products which have been set as “featured". -
[jigoshop_category slug="category-name" per_page="8" columns="4" pagination="yes"]- Works the same way as recent products shortcode, but instead it displays the category you input for slug. -
[product id="99"]- Show a single product by ID -
[product sku="FOO"]- Show a single product by SKU -
[products ids="1, 2, 3, 4, 5" pagination="yes"]- Show multiple products by ID -
[products skus="foo, bar, baz" orderby="date" order="desc" pagination="yes"]- Show multiple products by SKU -
[add_to_cart id="1" sku="1"]- SKU is optional. Returns the add to cart URL for this product -
[add_to_cart_url id="1" sku="1" price="no" class="yourClass"]- SKU, Price, Class are all optional. With price set to no, it will only show the add to cart button for this product. With price set to yes, the product's price + button will be displayed. -
[product_search]- Displays a search field to search through all products -
[sale_products]- Displays all products on sale
-
Getting Started
-
Jigoshop Settings
-
Creating Products
-
Using Jigoshop
-
Customize Jigoshop
-
Testings - in case of problems on Jigoshop web site
-
FAQ - Jigoshop plugin user questions
- Add a new tab to a product page / Custom tabs on product pages?
- Adding a Continue Shopping button to the single product page
- Adding Product Category Terms in a dropdown box for Custom Post Meta
- Add Alternate text on product picture and title
- Adding buttons / info to the end of each product
- View all (171 more)
-
FAQ - Jigoshop extensions user questions
-
API
-
Screencasts