Home Forums WoodMart support forum Change position of RELATED PRODUCT PAGE and UPSELL-CAROUSEL

Change position of RELATED PRODUCT PAGE and UPSELL-CAROUSEL

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

    Palda
    Participant

    Hi,

    I´d like to swap the order of rows on the product page:
    RELATED PRODUCTS to put above UPSELLS-CAROUSEL

    is there any elegant way to do it, please?

    thank you

    Attachments:
    You must be logged in to view attached files.
    #107689

    Artem Temos
    Keymaster

    Hi,

    Try to add the following PHP code snippet to the child theme functions.php file to do this

    remove_action('woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20);
    add_action('woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 12);

    Regards

    #112917

    Palda
    Participant

    Hi,
    RELATED PRODUCTS were doubled and went over a comments area.
    Would you have any other suggestion, please?
    thanks

    Tomas

    Attachments:
    You must be logged in to view attached files.
    #112952

    Artem Temos
    Keymaster

    Hi,

    Could you please send us a link to your website where we can see this issue?

    Kind Regards

    #503770

    Fletsch
    Participant

    I also tried something like this with remove_action and add_action but for the hook “woodmart_woocommerce_after_sidebar” and unfortunatelly they were also doubled.

    #503855

    Artem Temos
    Keymaster

    Hello,

    This method is not actual anymore. You can build your custom product page with Elementor/WPbakery instead. Find more information in the documentation https://xtemos.com/docs-topic/single-product-page-builder/

    Kind Regards

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

The topic ‘Change position of RELATED PRODUCT PAGE and UPSELL-CAROUSEL’ is closed to new replies.