Display products – via shortcode
-
I display products using a shortcode:
[product_attribute attribute=”firma-brend” filter=”Ganzola” per_page=”6″ columns=”6″ orderby=”rand” order=”rand”]
The problem is that absolutely all products are displayed. How can I exclude products that are not available?I have read the instruction https://docs.woocommerce.com/document/woocommerce-shortcodes/. It does not say anything about goods that are out of stock.
If I check the box “Hide missing products from the catalog” – this solves the problem. But in this case, the products also disappear on the archives page.
How to make products that are out of stock appear in the catalog, but are not displayed through the shortcode output?
The page I need help with: [log in to see the link]
The topic ‘Display products – via shortcode’ is closed to new replies.