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);December 13, 2022 at 6:20 pm #8345December 13, 2022 at 11:54 pm #8350
You must be logged in to reply to this topic.