I want to add some custom code to the Woocommerce Views Single Product page. I want to copy this single-product.php file out of the Plugins > Woocommerce Views folder and in to my own child theme so that I can edit it - just like we can do with the standard Woocommerce page.
However, I have tried to do this but its still referencing the template in the Plugins folder and not my new one in my child theme.
Can you help? What's the directory hierarchy needed?
Currently there is no way to customise our single-product.php template from plugins/woocommerce-views/template/ without the changes being lost on plugin updates.
We have an internal development ticket about handling themes which have custom WC product templates, and I have added the details of your request to that ticket so that we can incorporate the same functionality as offered by WC itself, i.e. copying the template to your theme directory.
In the meantime you will need to be careful whenever you update WooCommerce Views that you will need to copy back your customised template.
Otherwise, depending on the customisations you are aiming for, you may be able to use the hooks in the template to include your changes.