Hide size guide, stock and Custom tabs for a specific product (giftcard)

This topic has 4 replies, 3 voices, and was last updated 1 weeks ago ago by Rose Tyler

  • Avatar: LVRB Love's Rebel
    LVRB
    Participant
    April 13, 2025 at 17:23

    Hello!

    I need to hide information from the GIFT CARD product that is not relevant to it.
    Important: only hide from this product, not from other products.

    What I need to hide is:

    – the size guide.
    – Stock (it is a digital product).
    – Garment care (Custom tab static block).
    – Shipping information (Custom tab static block).

    Attached is a screenshot of what I need to hide and the link of the product + access to wp in the private area.

    Thanks!

    Content is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 14, 2025 at 07:40

    Hello, LVRB,

    Thank you for reaching out to us.

    Theme Options > WooCommerce > Single Product Builder > Multiple Templates > Add New Template

    Once you’ve created the new template, you can assign it to the desired product only.

    Should you need any further assistance, please do not hesitate to contact us.

    Warm Regards,
    The 8Theme Team

    Avatar: LVRB Love's Rebel
    LVRB
    Participant
    April 14, 2025 at 15:50

    hello

    Is there a way with code so that it is not visible only in that product and thus not making a template?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 14, 2025 at 16:13

    Hello, LVRB,

    Custom CSS code can be used:

    .single-product.postid-24755 .single-product-size-guide,
    .single-product.postid-24755 .et_product-block .cart .stock,
    .single-product.postid-24755 div#tab-title-et_custom_tab_01, 
    .single-product.postid-24755 div#tab-title-et_custom_tab_02 {
        display: none;
    }

    https://www.8theme.com/documentation/xstore/additional-customisation/optimal-placement-for-custom-css-code/

    Best Regards,
    8Theme’s Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.