This topic has 10 replies, 3 voices, and was last updated 7 years, 5 months ago ago by Laranz
I would like to create more custom tabs on the product page. I found the code, but I’m not sure where to implement it in the legenda theme:
https://docs.woocommerce.com/document/editing-product-data-tabs/
Or is there any other way I can implement more tabs on the product page?
Hello,
You need to make changes in child theme function.php to avoid problem with next theme update.
https://www.8theme.com/demo/docs/legenda/#!/child_theme
Regards,
Rose Tyler.
Okay, but what files need to be edited?
Hello,
You need to add the code http://prntscr.com/flw22u into function.php file of your child theme.
Read more about child theme https://codex.wordpress.org/Child_Themes
Regards,
Rose Tyler.
It just adds a static tab that shows the same content on each page. I’m looking to add a second custom tab into the “additional product option” that your theme created.
Hello,
Unfortunately, legenda does not have such possibility by default.
Regards,
Rose Tyler.
If you just let me know what file this is I can code it in myself.
Hi,
Can you explain this a little bit more? “I’m looking to add a second custom tab into the “additional product option” that your theme created” with a screenshot what you try to create, so that we may guide you the process.
Let us know,
Thanks,
laranz.
I added 2 screenshots that should clarify what I mean.
Hi,
You mean you want your custom tab on the end of the tabs? if so, copy this file, /wp-content/themes/legenda/woocommerce/single-product/tabs/tabs.php and add that inside your child folder in the woocommerce/single-product/tabs folder then edit that according to your needs.
Let us know,
Thanks,
laranz.
You must be logged in to reply to this topic.Log in/Sign up