Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15636

    Just updated to WooCommerce 1.6.4. Since the update, the product pages now show 2 duplicate instances of the “upsells” section. The Woocommerce update mentions that the new version attempted to move the upsell box above the related products box. I’m assuming the glitch has something to do with this change. Is there a solid fix I can apply other than hidding in CSS or not including an upsells? Screenshot: http://i.imgur.com/YcqdV.jpg

    #88329

    Was able to fix it by removing the new woocommerce hook in the template. Not sure how sustainable the fix is though. But seems to work fine.

    Step 1. Open /abundance/woocommerce-config/config.php

    Step 2. Add following line to “//single page removes” section on top 1/4 of page:

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_upsell_display', 15 );

    Adding this removes new WC1.6.4 hook that places upsell box outside of the product summary section

    Step 3. Switched order of include hooks in //single page adds section to place upsells above related:

    add_action( 'woocommerce_single_product_summary', 'avia_woocommerce_output_upsells', 60);
    add_action( 'woocommerce_single_product_summary','avia_woocommerce_output_related_products', 60);

    #88331

    Hey!

    Thanks for the hint. I’ll ask Kriesi to update the theme.

    Best regards,

    Peter

    #88332

    Hi,

    it worked great thank you very much.

    Besides, I’d like to know if it’s possible to create a secondary “upsell product” space/ category which I would name differently to be displayed at the bottom of the first one?

    To be clearer I want to present same range product on one hand, and on the other hand “what could fit with”.

    Do you think it’s possible?

    Many thanks,

    kind regards,

    sophie

    #88333

    Hey!

    No, this is currently not possible without some custom coding.

    Best regards,

    Peter

    #88334

    Hi

    After upgrading the to the latest version of Abundance, this is not happening again. So I presume the fix was not included in the latest version.

    Lyse

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Abundance – WooCom 1.6.4. update – Product page now has 2 "upsell" boxes’ is closed to new replies.