I have a product tab that I do not wish to display on the desktop site but be visible via Twigmo. As far as I can tell it isn't possible to do it via Twigmo so was wondering if this could be done in the main cart?
I have a product tab that I do not wish to display on the desktop site but be visible via Twigmo. As far as I can tell it isn't possible to do it via Twigmo so was wondering if this could be done in the main cart?
I have a product tab that I do not wish to display on the desktop site but be visible via Twigmo. As far as I can tell it isn't possible to do it via Twigmo so was wondering if this could be done in the main cart?
What kind of content is displayed in this block? If you use blocks, please check our Additional Blocks Settings module
Note that it does not affect Twigmo templates
What kind of content is displayed in this block? If you use blocks, please check our Additional Blocks Settings module
Note that it does not affect Twigmo templates
We use v3.6, the product tabs don't appear to be 'blocked' so i'm not sure that would work.
It's the 'Product Info' tab that i'm trying to hide. The content of this is duplicated as it appears to the right of the images however it's not displayed in the Twigmo Plugin.
We use v3.6, the product tabs don't appear to be 'blocked' so i'm not sure that would work.
I am afraid, it is required to create additional script which will detect mobile device and hide this tab
/* Where XXX is the product tab ID */
#product_tab_XXX {
display: none !important;
}
This should hid the tab on your website but not on Twigmo.
/* Where XXX is the product tab ID */
#product_tab_XXX {[/size]
display: none !important;[/size]
}[/size]
This should hid the tab on your website but not on Twigmo.[/size]
@media screen and (min-width: 480px) { #description, #content_description { display: none !important; } }
Sorry to use this topic, but how can i hide tab for specific category.
Tab is html block with smarty.
For example:
{if $category.category_id == "xxx"} tab code {/if}
any help please
Sorry to use this topic, but how can i hide tab for specific category.
Tab is html block with smarty.
For example:
{if $category.category_id == "xxx"} tab code {/if}any help please
Please use
{if $product.main_category == "xxx"} tab code {/if}
Please use
{if $product.main_category == "xxx"} tab code {/if}
Hi eComLabs,
it works, but the tab is still visible in other categories, but without content.
How can I complete hide tab for other categories?
Any help, please.
Thank you
Hi eComLabs,
it works, but the tab is still visible in other categories, but without content.
How can I complete hide tab for other categories?
Any help, please.
Thank you
{if $product.main_category == "xxx"} tab code {else} #tabID, #content_tabID { display: none !important; } {/if}
Try the following solution:{if $product.main_category == "xxx"} tab code {else} #tabID, #content_tabID { display: none !important; } {/if}
Still shows the empty tab.
Maybe my code is not good.
Can you advice with the code:
{if $product.main_category == "xxx"} {if $product.full_description}{$product.full_description nofilter}{else}{$product.short_description nofilter}#tabID, #content_tabID { display: none !important; }{/if}
{/if}
You should change xxx and tabID according to the actual IDs of your store
You should change xxx and tabID according to the actual IDs of your store
Hi eComLabs,
I'm not clear, I want that tab with ID 111 show only in category 434.
Thank you in advance
Frank
Please try
{if $product.main_category == "434"} {if $product.full_description}{$product.full_description nofilter}{else}{$product.short_description nofilter}{/if} {else} #content_product_tab_111, #product_tab_111 { display: none !important; } {/if}
If it does not help, PM me temporary FTP access
Thank you so much, works fine now.
Great help as usual, many thanks again, wise man.
Frank
You are welcome!