Related Products Position after product meta or after add to cart
-
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.
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
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 );
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.
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!
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.
The topic ‘Related Products Position after product meta or after add to cart’ is closed to new replies.