• Resolved alexd

    (@annediam)


    Hi,

    Using WordPress 3.7.1. with the Virtue Theme, Premium version, with the woocommerce plugin.
    Not sure whetehr I should ask this in the theme’s forum or the Woocommerce plgin forum? ??

    Better than a thousands words – here is the page https://alexandria-translation-resources.com/webinars-for-translators/
    This is the product category “webinars”. I’m using a Featured products Carousel for the “Upcoming webinars in February” , with the shortcode
    [carousel type=featured-products columns=4]

    Then, below I’m showing all other products in the prodct category “webinars”, using the shortcode
    [product_category category=”webinars-for-translators” per_page=”12″ columns=”4″ orderby=”date” order=”asc”]

    Question: how can I exclude the products marked as “Featured” from the “All” display?

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • I don’t believe there is a woocommerce shortcode that can exclude certain products.

    So as I see it you have a couple options. One is to put all your none featured items into a different category then your featured… Or just a child category of the main one that has your featured products and use that category for the shortcode.

    Or use the [products ids=”552,551″ ] shortcode and just add the ids you want.

    Or code out a template file.

    Kadence Themes

    Thread Starter alexd

    (@annediam)

    Hi Ben,

    Thank you very much for your reply and the suggestions. Indeed, silly me, your suggestion to use the [products ids=”552,551″ ] shortcodes is probably the easiest on my side, at least for now.
    Thank you, really…

    And since I got you ;), a small question: the option to show a “Sold” red notice on a product when it’s out of stock is awesome, thanks for that, but my clients are linguists and professional translators and I’d like it to display “Sold out” instead of “Sold” – some visitors already commented on that,negatively. How can I do that?

    See for example the “LinkedIn for translators free live Q/A session” https://alexandria-translation-resources.com/webinars-for-translators/

    Thank you very much…

    You will need to edit the template file.
    virtue_premium/woocommerce/loop/sale-flash.php

    line 19 you will see sold and you can change to whatever.

    Kadence Themes

    Thread Starter alexd

    (@annediam)

    Hey, thanks. Sorry to bother you, I must completely retarded but I can’t find the file /woocommerce/loop/sale-flash.php?

    Thanks…
    Anne

    it’s in the theme folder,
    located inside the woocommerce folder,
    located inside the loop folder

    sale-flash.php

    which version are you using?

    Ben

    Thread Starter alexd

    (@annediam)

    WordPress WordPress 3.7.1., Virtue Premium 2.0.5
    Maybe I’m looking at the wrong place? I’m looking in the editor under Appearance…

    oh yea it’s not going to show a file that deep. you need to access via ftp.

    Why are you using an old copy of WordPress? Were you aware that your site is currently running a very real risk of being hacked? You need to upgrade WordPress asap.

    Thread Starter alexd

    (@annediam)

    Oh I see, I’ll have to ask my tech guy then cause I don’t have access to the ftp.

    Not sure about the version, our tech guy installed WP on our server and “gave me the keys” to the website to do it once everything was installed. I’ll contact him about the upgrade – thanks for calling my attention to that.

    Cheers and thanks again for all your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Exclude featured products from the "all products" list (within the same category’ is closed to new replies.