Home Forums WoodMart support forum Variable Product Display

Variable Product Display

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #722868

    veronicafio
    Participant

    Hello, I would like to prevent the “attached image” attribute from appearing in the product list. I also want to hide the text for the “attached image” attribute on the product display page. Could you please help me with this?

    Attachments:
    You must be logged in to view attached files.
    #722875

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    01. The variation swatches displayed in the product grid are coming from the YITH Color, Image & Label Variation Swatches plugin rather than from the theme.

    Please navigate to YITH > Color, Image & Label Variation Swatches and disable the option:

    “Allow selection attributes in the store and archive pages”

    02. The text displayed upload selecting the variation on the single product page is also added by the same plugin. Please check the plugin settings for an option to disable the selected variation label, as this functionality is not controlled by the theme.

    Also, you can hide it with CSS. Add the following code in Theme Settings > Custom CSS:

    /* Hide selected variation text added by YITH */
    .yith_wccl_layout_inline label[data-default-label] {
        display: none;
    }

    Also, please note that WoodMart already includes its own built-in variation swatches functionality, so there is no need to use an additional swatches plugin.

    For more details, please review these helpful guides:https://xtemos.com/docs-topic/variable-products-and-swatches/, https://xtemos.com/docs-topic/attribute-swatches/

    Hope this helps!

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)