HomePage › Forums › Themeforest › Kosi – Furniture WooCommerce WordPress Theme › Problems with upsell widget using elementor pro product page
- This topic has 5 replies, 2 voices, and was last updated 5 months, 2 weeks ago by Supporter.
December 9, 2022 at 11:12 pm #8306
I am using Elementor pro and I have created a single product template to be able to customise the product page and add the upsell widget under the product page title.
However the design is weird and I would like to know if you guys can help fix it, I would like to have it large se same width as the column.
Even using the elementor pro widget it’s all pretty messed up.. Thanks in advance!December 12, 2022 at 12:28 am #8319
We use the default Woocommerce template and action hooks to customize the single product page. So to customize this page, you will have to override the single-product template in the child-theme, using action hooks to add custom code.
We do not support customization via Elementor Pro template. So when you use widgets to pull the single product template, there will be data conflicts.
I have temporarily disabled carosel mode in my code so I can display a grid for your upsell widgetDecember 12, 2022 at 7:26 pm #8331
Oh I see!! Thanks for your help, we went back to your custom template page.
Could you explain us how to move the section “product related” under the title?
We wouldn’t know how to do it but if you explain us where to attach the code we will be able to do it.December 13, 2022 at 12:46 am #8336
You will have to remove the function in action “woocommerce_after_single_product_summary”
and add it to the above action “woocommerce_single_product_summary”/
remove_action('woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20); add_action('woocommerce_single_product_summary', 'woocommerce_output_related_products', 40);
Please recheck: https://wordpress-732740-3031698.cloudwaysapps.com/prodotti/tavolino-design-legno-acciaio-blu-azzurro/December 13, 2022 at 6:20 pm #8345December 13, 2022 at 11:54 pm #8350
I have now put this code in your functions.php file and it is working properly on your website.
We are really really appreciate your vote :
To vote go to http://themeforest.net/downloads then follow that link : http://screencast.com/t/ylPjXebiCIOE
Thanks and have a nice day!
You must be logged in to reply to this topic.