Tagged: x
-
AuthorPosts
-
October 15, 2016 at 10:59 am #1217400
Antony HParticipantHello Themeco people,
Just a quick question, if I may: Is it possible to add new tabs to the WooCommerce product pages please?
I want to add tabs for:
- Formula
- Ingredients
- Daily Intake
- Caution / Allergies
- Suitable For
Is this possible please?
Thank you!
October 15, 2016 at 12:14 pm #1217443
ThaiModeratorHi There,
This plugin should help: https://wordpress.org/plugins/yith-woocommerce-tab-manager/.
Regards!
October 15, 2016 at 12:58 pm #1217475
Antony HParticipantPerfect, thanks Thai!
October 15, 2016 at 1:35 pm #1217499
Antony HParticipantActually the plugin didn’t work 🙁
I found a workaround by enabling cornerstone editing on product pages. That way I can add my own tabs. The only problem is that the page loads with the descriptions tab closed and when I expand the description tab and make it active, none of the tabs are initially active, even though I’ve set one of them to be initially active in cornerstone.
I’ll add the URL in a private post in one second…
Thanks again!
October 15, 2016 at 1:36 pm #1217500
Antony HParticipantThis reply has been marked as private.October 15, 2016 at 1:39 pm #1217502
Antony HParticipantQuick screen shot to illustrate the issue. Thanks.
October 15, 2016 at 10:14 pm #1217769
Rue NelModeratorHello There,
Thanks for updating in! Please add the following JS code in the customizer, Appearance > Customize > Custom > Javascript
(function($){ $('.woocommerce-tabs .x-nav-tabs-item:first-child a').trigger('click'); })(jQuery);We would loved to know if this has work for you. Thank you.
October 16, 2016 at 1:14 am #1217831
Antony HParticipantMorning! Thanks for looking into this for me, I appreciate your help. Unfortunately the above JS didn’t seem to do anything as neither of the tab sections loads an initially active tab.
Do you have any other ideas please?
October 16, 2016 at 3:58 am #1217916
Rue NelModeratorHello There,
Would you mind providing us the url of your site with login credentials so we can take a closer look and fix the issue? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
October 16, 2016 at 4:04 am #1217921
Antony HParticipantThis reply has been marked as private.October 16, 2016 at 4:04 am #1217923
Antony HParticipantThis reply has been marked as private.October 16, 2016 at 4:19 am #1217942
Rue NelModeratorHello There,
Thanks for providing the information. I have updated the JS code and use this instead:
(function($){ $(window).load(function(){ $('.woocommerce-tabs .x-nav-tabs-item:first-child a').trigger('click'); }); })(jQuery);Please let us know if this works out for you.
October 16, 2016 at 4:43 am #1217949
Antony HParticipantWow. That worked a treat. Thank you!
October 16, 2016 at 5:02 am #1217969
ThaiModeratorGlad it worked 🙂
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1217400 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
