Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16933

    With a recent update to Woocommerce, the upsells section on the bottom, labeled “You may also like…” is doubled. The first looks normal, but the second has 300px square thumbnails. What is the cause of this?

    #93446

    Open up abundance/woocommerce-config/config.php and replace following code:

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

    with:

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_upsell_display', 15 );
    add_action( 'woocommerce_single_product_summary', 'avia_woocommerce_output_upsells', 60);
    add_action( 'woocommerce_single_product_summary','avia_woocommerce_output_related_products', 60);

    This will fix the issue. I’ll ask Kriesi to update the theme code.

    #93447

    Thanks.

    #93448

    Hey,

    Glad it is fixed.

    Regards,

    Ismael

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

The topic ‘Product Upsells Doubling.’ is closed to new replies.