• Resolved rquang

    (@rquang)


    When displaying the vendors with the shortcode:
    [wcfm_stores]

    Can we do the following:

    • Hide all stores with no products in them?
    • Query for specific groups? Ex. I have a group setup based on membership. I would like to only show the vendors that belong to the group using the shortcode.
    • This topic was modified 6 years, 11 months ago by rquang.
    • This topic was modified 6 years, 11 months ago by rquang.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Hi,

    You are allowed to do all these!

    Please go though this – https://docs.wclovers.com/store-list/

    Thank You

    Thread Starter rquang

    (@rquang)

    How do I show just by a group/membership?

    [wcfm_stores search="group"]

    • This reply was modified 6 years, 11 months ago by rquang.
    Plugin Author WC Lovers

    (@wclovers)

    HI,

    Please go though this – https://docs.wclovers.com/store-list/

    There has an option “exclude_membership”, please check that short code attribute.

    Thank you

    Thread Starter rquang

    (@rquang)

    I understand that there is a exclude option, but for my case I only want to show a certain membership or group.

    Plugin Author WC Lovers

    (@wclovers)

    HI,

    I understand that there is a exclude option, but for my case I only want to show a certain membership or group.

    – Right, I understand your requirement.

    “exclude_membership” – this attribute will do the trick for you.

    Suppose you have 3 membership and their ids are – 54, 58, 60

    Now, you want to show only membership id “58” vendors in the page, so you have to exclude other memberships from page.

    Then your short code will be this – [wcfm_stores exclude_membership="54,60"]

    Hope now it’s clear to you 🙂

    Thank You

    Thread Starter rquang

    (@rquang)

    Yes, but I have vendors that don’t belong in membership/group and they will show up. I only want to show a specific group.

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    We will add “include_membership” attribute for this short code in next update –

    [wcfm_stores include_membership="54,60"]

    Thank You

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Display stores with shortcode’ is closed to new replies.