This is the scenario.
1: Product bicycle.
It shows the product as usual.
There are 2 extra categories.
– Accessories
– Spare parts
Those 2 extra categories are associated to the product itself, the bicycle.
The idea is to have a list of (associated) accessories and spare parts in tabs.
So you go to the bicycle and the the product, then in the tabs you see descriptions, extra info, accessories and spare parts.
That accessories and spare parts can be a simple list with image, title and description, showing all the accessories and spare parts associated to that product.
Any idea how can this be accomplished?
I thought in movie upsells to a tab called accessories and cross sets to a tab called spare parts, then add there everything.
But maybe there is a better solution to accomplish this, a plugin or something so I can have a list of accessories and spare parts in extra tabs.
Any thoughts?
Thanks.
Hey peterolle,
Thank you for the inquiry.
You can add extra items to the default product tabs by using the woocommerce_product_tabs filter. Usage examples are available in the documentation below:
// https://woocommerce.com/document/editing-product-data-tabs/#section-5
In the woo_new_product_tab_content function, you can add custom fields, display another product, or insert custom content.
Best regards,
Ismael