Home Forums WoodMart support forum Related Products Position after product meta or after add to cart

Related Products Position after product meta or after add to cart

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

    netart.gr
    Participant

    Hello there and thank you for your great theme!

    Is it possible to change the position of related products?
    I have a very long sidebar and as a result related products are shown too low.
    https://ibb.co/tYmVvnT

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

    Hello,

    Sorry but there is no option in Theme Settings available for that.

    It requires customizations and this is beyond our limitations and support policy.

    Regards.
    Xtemos Studios

    #301442

    netart.gr
    Participant

    So isn’t there any hook or something to change “related products” position?

    I’m using for example this code for the upsells which is great. It does the job!

    function woodmart_remove_upsells() {
    	remove_action( 'woodmart_before_sidebar_area', 'woocommerce_upsell_display', 20 );
    	remove_action( 'woodmart_woocommerce_after_sidebar', 'woocommerce_upsell_display', 10 );
    }
    add_action( 'wp', 'woodmart_remove_upsells', 1100 );
     
    add_action( 'woocommerce_single_product_summary', 'woocommerce_upsell_display', 39 );
    #301641

    Hello,

    Sorry, but we could not help you with this.

    You can find the file under “woodmart/woocommerce/content-single-product.php” and Customize it at your own risk.

    Regards.
    Xtemos Studios.

    #301838

    netart.gr
    Participant

    Thank you. Your advise was very useful. I have moved the “div” that called related products to another position and the problem is fixed.

    *Also I created “woocommerce” folder on child theme and “content-single-product.php” so I won’t have problem in theme’s future updates. Thanks a lot!

    #302043

    Most Welcome!!!

    I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.

    We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘Related Products Position after product meta or after add to cart’ is closed to new replies.