• Resolved philippe126

    (@philippe126)


    Hi,

    I would like my shop page to display all my products AND always show my featured products first (the ones with the stars).

    I can’t seem to find the right setting to do that.

    Thank you ??
    Phil

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi Phil ??

    You can do this by using the following WooCommerce shortcode:

    [products limit="-1" columns="4" visibility="featured"]

    To learn more about shortcodes, please feel free to check the following article from our documentation:

    https://docs.woocommerce.com/document/woocommerce-shortcodes/

    Cheers ??

    Thread Starter philippe126

    (@philippe126)

    Thank you for your quick response. I tried it and it only displays the featured products. I would like the rest of the products to show up after.

    I tried this CSS, but it did not seem to have any effect:
    .woocommerce-page ul.products{
    visibility: featured
    }

    Do you have any other ideas?
    Thanks,
    Phil

    Hi @philippe126

    I tried it and it only displays the featured products. I would like the rest of the products to show up after.

    Did you add the shortcode to your shop page? https://snipboard.io/EALwFm.jpg
    By default, products added by shortcodes should appear above the product loop.

    Thread Starter philippe126

    (@philippe126)

    Hi,

    Yes I did add the shortcode and it does display my featured products, but no other product after. I want my costumers to be able to scroll beyond the featured product.

    I am using Divi theme (and childtheme), is there some line of code I could add to my php folder to set an order of products display that would go like this:

    In general display most recent product first starting with featured products.

    I am fairly new to this, sorry if this is a dumb question ??.

    Thanks for your help!

    Thread Starter philippe126

    (@philippe126)

    Just letting you know, I found a solution!

    First, I set the filter to default+name in Appearance-Costumize.
    Second, I set -1 values to my featured product in Product data-Advanced-Order.

    As they display products in ascending order, my -1 products come first AND the rest of my product come as they are ordered/by name.

    Cheers

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Glad to know that you could solve it ??

    Great! I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Displaying Featured prodct first in Shop’ is closed to new replies.