• Hello,

    I am using this shortcode to display products by tag and it works:

    But when I try to display products by a collection name, it only shows the collection name:
    [wps_collections items_per_row=”4″ title=”Cast Bronze Plaques”]

    Is that shortcode supposed to display Products also?

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

    (@andrewmrobbins)

    @stormlux

    Great question. The short anwser is no and we’re not doing the best job at documenting this at the moment.

    By default, the [wps_collections] shortcode will only show a list of collections without products.

    To show products by collection, you instead need to add the single=”true” attribute like this:

    [wps_collections title="collection_name" single="true"]

    This will also display the collection title and image which many people don’t want either. To hide that stuff, use the excludes attribute like this:

    [wps_collections title="collection_name" single="true" excludes="image, title, description"]

    Let me know if this helps. Also, here’s a link to the full list of collections shortcode attributes:

    https://docs.wpshop.io/#/shortcodes/wps_collections

Viewing 1 replies (of 1 total)
  • The topic ‘Does the Collections shortcode display products?’ is closed to new replies.