Okay
  Public Ticket #3642929
Moving Category Description section under the products on the page
Closed

Comments

  •  26
    UK-Designer-Guy started the conversation

    I seem to recall asking how to do this previously but now cant seem to find the related items.

    Anyway as it says in the title . . . is there any way to move the Category description for the WooCommerce section to below the products and subcategories? I did do this previously with this site 

    https://ukroofingstore.co.uk/product-category/all-epdm-rubber-roofing/epdm-rubber-roofing/

    (seemed to recall it was a long-winded fix and left me with a rogue "1" on the page and involved creating a new widget position) . . .

    But going through old tickets I cant seem to find the thread on how I did that . . .

    Other than this https://themenectar.ticksy.com/ticket/3147740/

    I did find a related thread posted by someone else :

    https://themenectar.ticksy.com/ticket/2434702/

    This did kind of work (see link below) but now I have my pagination block and the "next" and the page numbers at the top of the page . . .  not ideal tbh . . . but if the "next" said "next page" I might be able to live with it?

    Appreciate some help on this . . . this is the site Im working on atm :

    https://thedooraccesscompany.co.uk/product-category/readers-paxton-access-control-2/

  •  1,919
    Judith replied

    Hi there,

    Thanks for writing to us.

    You can add the following code in your child theme's functions.php to move the description below related products :

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 60 ); remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_upsell_display', 15 );
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_upsell_display', 20 );

    I hope this proves helpful. Should you have any further questions or encounter any issues, please don't hesitate to reach out.

    Best regards,

  •  26
    UK-Designer-Guy replied

    Cheers Judith