• Resolved y2kwebs

    (@y2kwebs)


    Hello

    Is there a way to display all variations for a variable product even if they have the same attribute value?

    I have products that sometimes some of their variations have the same attribute value, let’s say color. So I have some variations sharing the same color, but they of course are different products with different prices, SKU, etc,

    Woocommerce only shows the first variation with shared value for the user to select. Is there a way for it to show them all? In my example I would get color swatches but some of them the same color, and different product when selecting them.

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter y2kwebs

    (@y2kwebs)

    Same questions asked here, somehow it says resolved… but I can’t see any solution or workaround….

    thanks

    As was mentioned in the post you linked to you can’t do what you’re trying to in Woo – each attribute term must be unique so you can’t have multiple instances of, say, Purple in the Colour.

    You would need to have something like Purple 1, Purple 2 etc

    You could have multiple instances of Purple if you were using a second attribute though – for example: Purple and Wool, Purple and Cotton etc

    Just had a quick look and you can do it! Providing you’re using a Global Attribute

    Go to Products – > Attributes and click on the Configure Terms link for the Attribute you want to edit. You can manually set the Slug value to, in this example, blue and blue-1 but leave the name for both as Blue.

    https://ibb.co/fd4Rg5Z

    That lets you add the two ‘Blue’ attributes into the product:

    https://ibb.co/8PL0YB6

    It’s difficult to see which attribute you’re picking as it only says Blue in the dropdown though!

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @y2kwebs

    I believe @seank123 explanation already provided you with a clear picture.

    If not, in WooCommerce, it’s possible to display all variations of a product, even if they share the same attribute value. You can achieve this by creating separate attributes for each variation. For example, if you have multiple products that share the same color, you can create an attribute for each of them with a unique name (e.g., “Red – 1”, “Red – 2”, etc.).

    Then, you can assign these attributes to the corresponding product variations. This way, even though the color is the same, each variation will be unique and will be displayed separately on the product page with its own price, SKU, etc.

    Please note that this might require some manual work, especially if you have many products. However, it’s a reliable way to ensure that all variations are displayed to your customers.

    I hope this provides some clarity on the matter. If you have any other questions or need further assistance, please don’t hesitate to ask.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show all variations even with same attribute values’ is closed to new replies.