• The featured products on my homepage are not displaying after updating to 3.0.

    This is the code: [featured_products per_page=”3″ columns=”3″]

    Weirdly, if I change the numbers to e.g. 4 and 4, they do display (but I want them 3 by 3).

    Site: https://thebookcoverdesigner.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Did you work it out? I see them. It could be the ‘quote’ characters.

    Ik have the same issue, only for me [featured_products per_page=”4″ columns=”4″ orderby=”date” order=”desc”] is not working.
    with 3,3 and 5,5 it works fine but not with 4… weird

    For me also, After woocommerce update, it is not working. If I try [featured_products per_page=”3″ columns=”4″] and it is working but If I use [featured_products per_page=”4″ columns=”4″], then is not working.

    I’m having the same issue on 3.1.1. I’m using [featured_products per_page=”8″ columns=”4″ orderby=”date” order=”desc”].

    For any variable product, clicking on ‘select options’ takes you to the product to view, so this works. The issue is with simple products. The link the shortcode uses is https://www.website.com.au/?add-to-cart=2xxx. If you click on the ‘add to basket’ button, it never resolves. Any ideas appreciated.

    scdan

    (@scdan)

    Hi Everyone,

    One of the things about the WooCommerce shortcodes is that they store part of the result in a WP Transient. Something from the WooCommerce 2 to WooCommerce 3 update causes that transient to not work with WC3. My guess would be with the update to using taxonomies for featured products and product visibility.
    Surprisingly these are not cleared out when performing the WC2 to WC3 database update.

    Anyway, all that is needed is to clear out the Woocommerce transients.

    I used the following query directly on the database, but please only use it this way if you understand what it’s doing. Change your database prefix as well.
    DELETE FROM wp_options WHERE option_name LIKE ‘_transient_wc%’
    (Insert ` tags around the table and field names, as they are used as “code” tags here)

    Alternatively there are some Delete Transient plugins that will wipe all transients for you. Deleting only expired transients will not work as the offending transient has not expired (or else it would be replaced and featured products will work).

    I hope this helps.

    • This reply was modified 7 years ago by scdan. Reason: Fixing broken code tags and DB Query
    • This reply was modified 7 years ago by scdan.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Featured Products Shortcode Not Working After Update’ is closed to new replies.