Hi SiteOrigin Team, Happy Holidays !
I’m putting together a site using the Unwind Theme and WooCommerce, along with SO Page Builder
and for several days have been unable to come up with a clever solution to modify product pages in the future. I will try to outline an example of what I’m hoping to achieve:
Lets say my Woocommerce page structure is as follows (in the long-form description field)
My ‘Section 3’ is a hero widget that offers free shipping. But I would like to toggle this section between alternating months, to offer a 20% discount instead. What might be the most effective way to do this without manually changing every single product page each time ? My goal is for 36 products, and as you can imagine, manually deleting a section then adding a new section each time is very labor intensive.
I know about the ‘clone pages’ feature, and in fact I may create separate ‘pages’, each as their own section, that I can clone into the relevant section each time.
Having previously used Gutenberg Reusable Blocks, where an area would retrieve any changes to the ‘master’ block, this would have been a solution, but WooCommerce does not support blocks. From some research I’ve done, it appears they have no plans to introduce this functionality. And their own WC Blocks… well that doesn’t work, and I suspect it’s only relevant to their own Storefront theme
So how might I approach this – to change a section from a master page, rather than modify every product each month ?
I should add that I do not understand modifications to .php files, and I try to keep very lean, with no other plugins. But I do use Custom CSS for certain changes (mostly to hide elements)
Pulling my hair out over this, and of all the likely ‘hacks’, the best I can come up with is to replace the contents of the section with a static image file, say titled ‘offer.jpg’. them simply change out the media asset with a different offer, but with the identical file name. but thats far from ideal, since I’ll lose the responsive text (and…. there’s also a store coupon code that I would like customers to be able to copy/paste)