soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
314 stars 29 forks source link

WCFM Works Perfectly On Oxygen Page Builder - Except For the Single Vendor Page #3281

Open BenedictCard opened 1 year ago

BenedictCard commented 1 year ago

WCFM Multi Vendor For Woocommerce works beautifully on Oxygen Page Builder except for the single store pages for each vendor, which reverts to using the default wordpress theme instead and obviously drops the header and footer. These pages don't inherit the oxygen page builder templates and there doesn't seem to be an attribute to assign an oxygen template to those pages. If there is some sort of function or filter that could be added to a custom function plugin to force assign an oxygen template to these single store pages it would be greatly beneficial to multi vendor sites that want to utilize Oxygen

BenedictCard commented 1 year ago

I've used quite a clunky workaround as last resort for now to get the site ready. I made a block for each the header and footer wrapped in divs. Then echoed each to the WCFM store view template file and added some css to hide the default header and footer on these single store pages. Now just going to add an override for the default wcfm store template and hopefully someone can figure out a better... less clunky method to add this same functionality in base Oxygen Builder

BenedictCard commented 1 year ago

A good idea would be to add the functionality to assign a template to a url /*

That could cover many other incompatibilities I've seen and would be a better solution to what I've implemented above