Size guide – different content on each product

This topic has 3 replies, 2 voices, and was last updated 1 years, 2 months ago ago by Tony Rodriguez

  • Avatar: TheOne
    February 23, 2023 at 12:53


    This question is about showing individual sizing guides on single products and not showing the label on the products who don’t have assigned sizing guides to them.

    Let me explain:

    On my old online shop (Woodmart) i have about 10 products who all have different size guide popups. In the theme they have a specific size guide option in the control panel – you create a single size guide and select it in the sidebar on a desired single product.

    On Xstore if i input size guide element on the single product builder it shows the “sizing guide” block everywhere – not just for the products i have inputed the .jpg file. This is not logical. It shouldn’t show on the products i have not assign the size guide too (only if i set it globaly).

    1. Now i have an idea – i could create different single product layout (with size guide included) and show them only where i need them. But thats not an efficient way.

    2. Using static block instead of image. On the products (backend) you can select an image that will show once you click on the sizing guide icon. Can i input a static block instead and not an image? The thing is i can select the static block in Theme Options (under size guide), but again thats for to set it globally.

    Thank you,

    2 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 23, 2023 at 15:34

    Hello, @TheOne,

    We are delighted to have you join our support forum and hope you are doing well.

    You are correct in that if you set the Size Guide to a single product by editing it, then you must also set the size guide widget in the single product builder in order for it to be displayed. This is the current functionality.

    If you would like to change the behavior or add an option to enhance its functionality, please post your request on our taskboard at If it receives votes from other customers, our development team will attempt to include it in one of our upcoming updates.

    Thank you for your understanding.

    Best Regards,
    8Theme’s Team

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 24, 2023 at 09:48

    Hello, @TheOne,

    In order for the size guide to function as desired, please follow the steps outlined by 8Theme’s Team.

    1- We kindly request that you add a size guide element to the Single product builder, as shown in the screenshot:

    2- Please open xstore-child/functions.php and add the following PHP snippet:

    add_action('wp', function() {
     if ( get_query_var('is_single_product', false) && etheme_get_custom_field( 'size_guide_img', get_the_ID()) == '' ) {
      remove_action( 'etheme_product_single_size_guide', 'etheme_product_single_size_guide', 10 );
    }, 30);

    3- Please open the product where you would like to have a size guide and upload it to the following link: and save the changes.

    4- Please check the product and note that those with a custom uploaded size guide image will have a size guide element on the front end, as seen in this example ( Those without a custom-size guide image will not have such an element, as seen in this example (

    Best Regards,
    8Theme’s Team

  • Viewing 3 results - 1 through 3 (of 3 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.