Support » Plugin: PG Simple Affiliate Shop » Shortcode to display single product

  • Resolved avil



    I’am trying to embed a single product from the list of products in a post.

    I’ve tried this [pg_sas_shop category=”books”] but this shows all the products under category books.

    I tried this [pg_sas_shop category=”books” id=”782″] but this does not show anything. Where id is the product id from the shop page in settings.

    Kindly let me know the correct shortcode to display a single product in a post/page from a category.

Viewing 1 replies (of 1 total)
  • Plugin Author PeoplesGeek


    Hi avil,
    There is a helper to let you add a single product to a page or a category etc.
    It is the little icon that you can see at the end of the icon list when you are using the visual editor. It looks the same as the icon in the Products menu (a little cash register).
    Create a new page or post, add your text and then place the cursor where you want the single product to appear, then use the helper to create the shortcode for you and it will add it to your post/page.
    Let me know if you need any other assistance.
    Brian (PeoplesGeek)

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode to display single product’ is closed to new replies.