Please refer to TemplateMonster Support for any issues surrounding TemplateMonster/TemplateTuning Themes – thanks, Jigoshop Team

Remove Description Tab completely

semblance

24 Mar, 2013 11:56 AM

I would also like to remove the description tab. I read and tried the article about this in Knowledge Base.
http://forum.jigoshop.com/kb/faq/remove-product-description-header-...

I first pasted the first bit in my theme's function.php and then the second bit below with the 3rd line removed.
But the description tab with the description remains? Any ideas.
I would like to have the tab heading with the description completely removed.

  1. 2 Posted by glennyboy on 14 May, 2013 06:54 PM

    I have achieved with with just CSS. Please see:-

    http://www.slickmedia.co.uk/news/blog/jigoshop-completely-remove-product-description-tab/

  2. Support Staff 3 Posted by Jeff on 15 May, 2013 04:50 AM

    Jeff's Avatar

    While we try to keep knowledge base articles up to date, sometimes we miss a few, or there are better ways.

    Our main plugin folder contains the file:

    jigoshop_template_actions.php

    ... and this contains a lot of the things that cause things to happen in templates.

    All you really need, is to remove the actions that are added for these:

    remove_action( 'jigoshop_product_tabs', 'jigoshop_product_description_tab', 10 );
    remove_action( 'jigoshop_product_tab_panels', 'jigoshop_product_description_panel', 10 );
    

    Place that code in your theme's functions.php and that should do it. Basically, just copy and paste the add_action line and change it to remove_action.

    There are also tabs for reviews, attributes, and you can do the same for them.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.