• Resolved ilyapokrov

    (@ilyapokrov)


    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.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @ilyapokrov,

    To hide out of stock products from displaying on a WooCommerce installation there is s setting available which hides those from displaying. If you navigate to WooCommerce > Settings > Products > Inventory you will find a setting called Out of stock visibility.

    Image Link: https://cloudup.com/clHpBt0vMZo

    AJ a11n

    (@amandasjackson)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display products via shortcode’ is closed to new replies.