Hi. I am looking to customize the Wordpress plugin 'WooCommerce Extra Product Options'.
[login to view URL]
It is doing 90% of what I need, however there are 2 main things I would like it to do:
First change required:
There are 'Global Product Options' that are created once and can be applied to any/all products. And then there are Local Product Options setup on individual products. It also has conditional logic that allows sections to be hidden or shown based on other selections etc. but a local option cannot control a global option, which is what I currently need.
Looking at my demo site page and the attached brief (figure 1) will hopefully show what is needed better.
Demo: [login to view URL]
When the Style 'Customise' is chosen, you will see a new section 'Text' shows below the Background colours. This is correct and the Background Design section should do the same. It should only show when Customise is chosen. If any of the other 5 styles are selected, those colour option sections should hide.
This could be achieved by simply making the Background Design Options all local, instead of global, however the Background options will be the same for hundreds of products and need to be global so that they can be changed/updated all at once, without having to go into every single product to make the same changes.
Within each product, there is a setting to include any particular Global Form (options). There is also a builder, where you create the product's Local options and other Elements. If possible, it would seem ideal to be able to include a Global Form via this Element Builder as then it should be able to be shown/hidden using the built in Conditional Logic control that is currently working for the Text section.
See brief (figure 2)
This is my suggestion on how it would work best, but it may not be possible this way. I am open to any other solution on how to achieve a similar result.
Is it possible to hack the code for the conditional logic that is currently showing/hiding the Local text options to also show/hide the Background options?
Second change required:
The image preview for customised designs
Basically there is one image (jpg or png) representing the background, and then a transparent png that overlays on top to make the final artwork. Currently the plugin lets me do all the selections of these images fine and updates the woocommerce product image with the chosen selection, but only the top chosen selection, not the combination of it with the background.
See the demo site page or brief figure 3 for more detail
[login to view URL]
When you click a background colour, it will update the preview with that image fine, but then when you click a text colour, it replaces that image with the text image. I need it to overlay this image instead.
All changes should be documented so that they can (if needed) be re-applied to plugin updates.