• Resolved sonic1243

    (@sonic1243)


    Hello .. I’m after a shortcode to display all the SALE items we have, within a post.

    [wpsc_products category_id=’19’ price=’sale’]
    This works well to display SALE items within a category, but how about ALL sale items in ALL categories? I’ve tried a few things but no joy yet, any ideas? TY

    https://www.ads-software.com/plugins/wp-e-commerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter sonic1243

    (@sonic1243)

    Actually it looks like price=’sale’ has stopped working, or stopped working properly, it’s showing all products within the category; sale or not-sale .. I’m sure that was working when I set it up some months ago….

    @ sonic1243 – thanks for the post. did you manage to get this resolved?

    If you coded a fix please submit a pull request here:
    https://github.com/wp-e-commerce/WP-e-Commerce/

    Thread Starter sonic1243

    (@sonic1243)

    Hi Dan, sorry for the late reply ..
    No I have not looked into this since, and have no solution.

    Surely this would be a popular feature, a shortcode to list all sale items..? I’m not a PHP coder so I can’t help, but are we considering this a feature request?

    @sonic1243
    I just tested the following shortcode inside a Page and it is working.
    [wpsc_products price='sale']

    it shows all products on sale.

    What WPEC version you running ?

    Thread Starter sonic1243

    (@sonic1243)

    Cheers misulicus ..
    I’ve just tried this on a basic test site and it is working – except that it doesn’t show sale products with variants? So I’m seeing simple sale items, but not sale items that have variants..? I’ve tried POST and PAGE and both seam to act the same.

    I’m trying this on two test sites; both fully up to date, one works and one doesn’t; the broken one just defaults to showing the shortcode as if it was [productspage]. It’s not the theme’s fault. And this is the same reason why it doesn’t work on the live shop site which led me to post in the first place. No idea what’s goin on there…

    EDIT: Something to do with this message I’ve not seen before: “Combination of product variants is not available” ..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode to display all SALE items?’ is closed to new replies.