Please refer to TemplateMonster Support for any issues surrounding TemplateMonster/TemplateTuning Themes – thanks, Jigoshop Team

Shortcode for Jigoshop featured products in particular product category

ivica's Avatar

ivica

11 Mar, 2012 06:11 PM

In Jigishop exists 2 shortcodes:

FEATURED PRODUCTS
[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”. CATEGORY
[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.

Is it possible to combine these 2 shortcodes in new shortcode: featured product in category? Why? In order to be able to put on particular page for one product (e.g green tee product) ALL featured products from ONE category, something like below:
[jigoshop_category slug="category-name" featured_products per_page="12" columns="4" pagination="yes"]

Is this easily doable or it is problematic? This new shortcode would enhance (considerably) our webpage(s). Thx!

  1. 2 Posted by dyu on 23 Mar, 2012 04:50 PM

    dyu's Avatar

    i want a short code for popular products

  2. Support Staff 3 Posted by ivica on 23 Mar, 2012 06:18 PM

    ivica's Avatar

    I also asked for this already HERE:
    http://forum.jigoshop.com/discussions/suggestions/680-shortcode-for-jigoshop-featured-products-in-particular-product-category

  3. 4 Posted by shashi on 18 Apr, 2012 07:15 AM

    shashi's Avatar

    Can you guide me how to create shortcode for featured product for a particular a category. Like
    [jigoshop_category slug="category-name" featured_products per_page="12" columns="4" pagination="yes"] thanks

  4. 5 Posted by Kati on 09 May, 2012 06:22 PM

    Kati's Avatar

    I want to place featured products on my homepage. I followed the instructions about how to solve this but no seccess. Where do I have to insert the necessary shortcode? Thanks

  5. Support Staff 6 Posted by ivica on 09 May, 2012 07:32 PM

    ivica's Avatar

    You put shortcodes at your pages (or posts, if they are meant to be put on
    posts)...

  6. 7 Posted by Shashi Bhushan on 10 May, 2012 10:10 AM

    Shashi Bhushan's Avatar

    Hi ivica,

    I tried to figure out the solution and it is working for me.

    You will find the code at my personal blog at http://shashibhushan.in/shortcode-for-jigoshop-featured-products-in...

    If you have any issue please let me know.

    Thanks

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.