How to call the Xstore Single product Custom Tab in Elementor Single Product Tabs

This topic has 6 replies, 2 voices, and was last updated 1 months, 2 weeks ago ago by Bas Kling

  • Avatar: Bas_Kling
    Bas Kling
    Participant
    October 19, 2025 at 10:38

    Hi,

    Populating the Additional Custom block under Xstore Options when editing a product (https://imgur.com/avZFies), I would assume that I would be able to hook the content in a product template under the Product Tabs (https://imgur.com/cj6Z9a1) but the whole tab including content won’t appear on the page.

    We have 2 fields to hook into our product page:
    1) Additional custom block
    2) Custom tab

    If both hooks need to be a custom tab, what dynamic tags do we need to call?

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    October 20, 2025 at 09:34

    Hello @Bas Kling,

    Could you please clarify the issues you are experiencing?
    We are still not entirely sure about the problem. We have checked your single product page and can see that both custom tabs are displayed:

    https://prnt.sc/pK7yOEbFlWJu

    Best regards,
    The 8Theme Team

    Avatar: Bas_Kling
    Bas Kling
    Participant
    October 20, 2025 at 11:21

    Hi Luca,

    We want to have 4 tabs defined.

    1st one: “Product informatie” (calling “Woocommerce->Product content”, successfully)
    2nd one: “Materiaal & care” (trying to call the “Additional Custom Block” from inside a specific product, up until now unable to do so)
    3rd one: “Maat & Pasvorm” (calling the “Custom Tab” from inside a specific product, successfully)
    4th one: “Levering & Retour” (calling a static block with ID 22665, successfully)

    The screenshots of the tab configs:
    1) https://imgur.com/tiBpZOr
    2) https://imgur.com/ctkzSVB
    3) https://imgur.com/jjukU5Y
    4) https://imgur.com/Q9qfpb3

    Current result: https://imgur.com/zOhhZFD (only 3 tabs)
    So basically, we don’t know how to configure Tab 2 to have it display the product’s Additional Custom Block content available under the Xstore Options at the product settings (https://imgur.com/WeqdDYk)

    Hope this clarifies…

    Avatar: Justin
    Luca Rossi
    Support staff
    October 20, 2025 at 15:56

    Hello @Bas Kling,

    We have created a shortcode for the additional block of a single product:

    
    add_shortcode('single_product_additional_block', 'single_product_additional_block');
    function single_product_additional_block(){
        $content = etheme_get_custom_field('additional_block', get_the_ID());
        if ($content != '' && $content > 0) {
            etheme_static_block($content, true);
        }
    }
    

    After that, we’ve added the [single_product_additional_block] shortcode to the second custom tab. It is now working correctly.

    Could you please verify this?

    Best regards,
    8Theme Team

    Avatar: Bas_Kling
    Bas Kling
    Participant
    October 20, 2025 at 20:52

    Works like a charm. Thanks!

    Avatar: Bas_Kling
    Bas Kling
    Participant
    October 20, 2025 at 20:52

    Thanks for the support! My topic “How to call the Xstore Single product Custom Tab in Elementor Single Product Tabs” has been successfully resolved.

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

The issue related to '‘How to call the Xstore Single product Custom Tab in Elementor Single Product Tabs’' has been successfully resolved, and the topic is now closed for further responses

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