Available Parameters
Example 1
return four products with StoreForest brand attribute (with “storeforest” slug)
[prima_code][prima_products_in_attribute title=”StoreForest Brand” attribute=”brand” brand=”storeforest”]
[/prima_code]
[prima_products_in_attribute title=”StoreForest Brand” attribute=”brand” brand=”storeforest”]
Example 2
return four products with Black colour attribute (with “black” slug) in alphabetic order
[prima_code][prima_products_in_attribute title=”Black Colour” attribute=”colour” colour=”black” orderby=”title” order=”asc”]
[/prima_code]
[prima_products_in_attribute title=”Black Colour” attribute=”colour” colour=”black” orderby=”title” order=”asc”]
Example 3
return four products with Medium size attribute (with “medium” slug) in random order
[prima_code][prima_products_in_attribute title=”Medium Size” attribute=”size” size=”medium” orderby=”rand”]
[/prima_code]
[prima_products_in_attribute title=”Medium Size” attribute=”size” size=”medium” orderby=”rand”]