Shortcodes
Just copy a shortcode and insert it in the post to display the storefront.
Also, there is a button “Add storefront” in a visual editor of the post.
Also, you can divide each storefront to several parts, for example:
1
[affegg id=10 next=3]
Copied!
It shows first 3 products from the storefront. If you insert this code in the post and then insert the same code again
1
[affegg id=10 next=3]
Copied!
you will see next 3 products from the storefront.
You can also use a parameter limit to limit number of products.
Another parameter offset is use to show products from specific number.
An example:
1
[affegg id=10 offset=5 limit=3]
Copied!
It will show 3 products and will make left first 5 products.
You can also sort products, use order=<field>, for example:
1
[affegg id=10 order=price]
Copied!
It will sort products by price.
This will sort products by price in the reverse mode:
1
[affegg id=10 order="price desc"]
Copied!
Fields of sorting: 'title', 'price', 'manufacturer', 'in_stock', 'create_date', 'last_update', 'last_in_stock', 'shop_id'.
Also, you can use the random mode:
1
[affegg id=10 order=rand]
Copied!
Copy link