Hi there,
we’re trying to move the sidebar on the single product template out of <div class=“single-product-main-image“> and load it afterwards, like this
<div id=“product-12345“>
<div class=“single-product-main-image“>
<div class=“woocommerce-product-gallery“>
<div class=“single-product-summary“>
<aside class=”sidebar”>
But we cannot find the right hooks to do this. Can you help us?
Thanks
Michael
Unfortunately the editor removed my indentions, I hope this makes it clearer:
<div id=“product-12345“>
—<div class=“single-product-main-image“>
——<div class=“woocommerce-product-gallery“>
—<div class=“single-product-summary“>
<aside class=”sidebar”>
Hi,
Thank you for your question, please see this solution for the structure you are requesting.
This structure will crete a right side sidebar, let us know if you were expecting a different placement.
Best regards,
Mike