• Resolved okacko

    (@okacko)


    Hello,
    I would like to hide Additional Information tab or change anything inside. Is it possible?

    THX

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi okacko,

    The “Additional Information” tab is automatically populated with the category, sub-category, tags and custom field values for a product. You can choose what elements show in the “Additional Information” tab using the “Product Page Elements (Additional Info)” setting in the “Basic” area of the “Options” tab.

    If you wanted to hide that tab completely, then you could use custom CSS. For example:

    .upcp-tabbed-addtl-info-menu, .upcp-tabbed-addtl-info {
    display: none;
    }
    
    Thread Starter okacko

    (@okacko)

    Hi,
    thank you very much. This is it!

    I chose Custom fields in Basic area for the content of Additional Info. But one last thing: I need to hide the colon “:” at the end of each custom field name. Is it possible? And where?

    Thanks.

    Hi Okacko,

    There is no options or function to remove “:” in custom field. But if you have some knowledge in PHP. You can go to this file:
    \wp-content\plugins\ultimate-product-catalogue\Functions\Shortcodes.phpand search for this string:
    else {$ProductString .= "<div class='upcp-tab-title'>" . $Field->Field_Name . ":</div><span>" . $Meta_Value . "</span><br>";}
    and remove “:” before </div>. That will remove “:” from the custom field.
    Please make backup of your file first before making any changes to the plugin file.

    Thank you

    Thread Starter okacko

    (@okacko)

    You are the best!

    I promise that this is the last question. Is it possible to hide “Field Name” in custom fields? After hiding “:”, I still need to display pure text (text area) without a field name. If I do not write anything into “Field Name”, then content of the text area will not appear.

    Okacko

    Hi Okacko,

    If possible can you send us a link of your product page, please? So, We can check the page and inspect it to hide with custom css. If you are creating a custom field without a name than in future you will not be able to make any changes in custom field with blank name. Instead try creating a custom field with simple name and hide it either custom css or via editing PHP code.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to hide Additional Information tab’ is closed to new replies.