• After the update to WooCommerce 11.0.0 the Divi Template Builder template for the main shop page (/shop/) is not applied anymore. It is still applied to Product category pages correctly.

    I have already reported this to ElegantThemes.

    On a related note: Are there known issues downgrading from 11.0.0 to 10.9.x? I am considering a rollback until the issue is fixed in WooCommerce and/or Divi 5.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Albert Juhé Lluveras

    (@aljullu)

    Hi there, @chgabriel79, thanks for reporting this!

    After the update to WooCommerce 11.0.0 the Divi Template Builder template for the main shop page (/shop/) is not applied anymore. It is still applied to Product category pages correctly.

    Can you share with us a screenshot or some more details about how your Shop page is configured? Do you have the Woo Products module on it?

    On a related note: Are there known issues downgrading from 11.0.0 to 10.9.x? I am considering a rollback until the issue is fixed in WooCommerce and/or Divi 5.

    Before doing so, I would suggest trying to remove these lines from plugins/woocommerce/includes/class-wc-query.php and check if it fixes the issue (lines 446-450)?

        if ( $shop_page ) {
            $q->queried_object    = $shop_page;
            $q->queried_object_id = $shop_page->ID;
        }
    Thread Starter chgabriel79

    (@chgabriel79)

    Before doing so, I would suggest trying to remove these lines from plugins/woocommerce/includes/class-wc-query.php and check if it fixes the issue (lines 446-450)?

        if ( $shop_page ) {
            $q->queried_object    = $shop_page;
            $q->queried_object_id = $shop_page->ID;
        }

    It does. What are the side effects? Will it break anything?

    Plugin Contributor Albert Juhé Lluveras

    (@aljullu)

    It does. What are the side effects? Will it break anything?

    No, no worries. Nothing will be broken, that’s how it was in WooCommerce 10.9. 🙂

    But with every future update, your file modifications will be reset, so ideally we will figure out what’s going on. We were trying to reproduce the issue on our end but we couldn’t. Do you have any extra information that could help us figure out how your Shop page is set up?

    Things that might be helpful:

    • Version of WordPress and Divi.
    • In Settings > Reading, if you have set the Shop page as the homepage of your store or not.
    • In Pages > Shop, what are the contents of the page, specific modules or blocks.

    Thanks in advance!

    Extra context for somebody landing on this issue: the change is related to this PR and dev advisory:

    Thread Starter chgabriel79

    (@chgabriel79)

    WP Version: 7.0.2
    WC Version: 11.0.0
    Divi Version: 5.9.0

    I have a separate start page, not the shop page. The Shop page itself is completely empty. I use a Divi Template with the product list module. The module itself works fine on product category pages, just not on the main shop page.

    ElegantThemes (Authors of Divi) can reproduce the issue and will probably release a fix also.

    I’ll leave the topic open for now until a final fix (either WooCommerce or Divi) is available.

    Plugin Contributor Albert Juhé Lluveras

    (@aljullu)

    Thanks for coming back to us, @chgabriel79!

    Nice to hear that Elegant Themes are already looking into it.

    Please let us know if there are any news or if there is anything else we can help with.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.