Dear Sir/Madam,
Regard to the WooCommerce Views, it allows selecting the template file, if I select the WooCommerce Views plugin default single product template, how can I use the Woocommerence default template if I have not yet designed my own? Can I preload the Woocommerence default template and modify a bit as my custom designed template? I think it saves the time to set up the custom layout for the newbie user.
I refer to article https://toolset.com/learn/create-an-ecommerce-wordpress-site/create-custom-fields-and-taxonomies/ , if I want to provide options to the customer for selection, I have no idea whether I should add the taxonomies or add the product's Variations? How can I add the variations in Views?
Best regards,
Kelvin
Can I have some products using the default Woocommerence product template but some products using my custom own template? How can I do that?
Hello,
Q1) how can I use the Woocommerence default template if I have not yet designed my own?
As a workaround, you can copy the Woocommerence default template "\plugins\woocommerce\templates\single-product.php" to your theme folder "\woocommerce\single-product.php", use it as single product template, and design it as what you want.
Q2) Can I preload the Woocommerence default template and modify a bit as my custom designed template?
See the answer above, more help:
https://docs.woocommerce.com/document/template-structure/#section-1
Edit files in an upgrade-safe way using overrides. Copy the template into a directory within your theme named /woocommerce keeping the same file structure but removing the /templates/ subdirectory.
Q3) if I want to provide options to the customer for selection, I have no idea whether I should add the taxonomies or add the product's Variations?
If you want to manage those options under Toolset control, I suggest you try with custom taxonomies, then you will be able to setup it in admin side, and setup views to filter on the taxonomies, and so on...
Q4) How can I add the variations in Views?
Please try the shortcode [wpv-woo-list_attributes]:
https://toolset.com/documentation/user-guides/views-shortcodes/#vf-334530
This shortcode outputs product attributes in WooCommerce.
Q5) Can I have some products using the default Woocommerence product template but some products using my custom own template?
No, there isn't such a built-in feature, you might consider to use custom codes in your custom theme file "single-product.php"