• Resolved niikk

    (@niikk)


    Hello,

    We have different product attribute to tag our products. These attributes are shown in the “Additional information”. So we will add each attribute to the products and give them the specific value. We know, that we can adjust the attribute order by drag&drop in the product edit page.

    However, we have over 1000 products and we do not want to adjust each product attribute order via drag&drop on the product edit page.

    Is there a way, to made a custom order for product attributes in order that the order is on every product the same?

    Example:
    Product Apple
    – Attribute A
    – Attribute B
    – Attribute C

    Product Samsung
    – Attribute B
    – Attribute A
    – Attribute C

    Product Windows
    – Attribute B
    – Attribute C
    – Attribute A

    Now we want that the attribute order is always shown like:
    – Attribute A
    – Attribute B
    – Attribute C

    Means, force the product own sorting and use the custom sorting. Is this somehow possible?

    We found that here: https://github.com/woocommerce/woocommerce/blob/master/templates/single-product/product-attributes.php So maybe we can work with this code in a way… Or maybe with this https://woocommerce.wp-a2z.org/oik_api/wc_display_product_attributes/
    Cheers

    • This topic was modified 4 years ago by niikk.
    • This topic was modified 4 years ago by niikk.
    • This topic was modified 4 years ago by niikk.
    • This topic was modified 4 years ago by niikk.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @niikk,

    If attributes have been added from Products > Attributes there are some automatic sorting options available for attributes which can be set at the time of creation.

    Image Link: https://cloudup.com/c8y7T1Hua1F

    If custom ordering is selected the Attributes can be dragged and dropped into a specific order which would display across all product they have been added to.

    With Custom Attributes added directly from the Edit Product screen those would need to be manually ordered like described in this topic below.

    https://www.ads-software.com/support/topic/sorting-of-attributes/

    Thread Starter niikk

    (@niikk)

    hello @stuartduff

    Thanks. We used the order by “Custom ordering” so every attribute has the default sorting “Custom ordering”. However, we are not able to drag&drop these attribute.

    Custom order hat a impact on the values of the attributes, but not of the attribute itself… “Determines the sort order of the terms on the frontend shop product pages. If using custom ordering, you can drag and drop the terms in this attribute.”

    Can you show us how?

    • This reply was modified 4 years ago by niikk.

    I’m searching a solution for exactly the same problem.
    It’s so silly that we can’t set a default order for Attributes Names in order to have a chosen “additional info” tab on our product page.

    Please anyone?

    Thread Starter niikk

    (@niikk)

    @stuartduff

    Would be nice! ??

    @niikk any updates?

    Same here! I dont want to reorder the terms within the attributes, but the attributes themselves. That would really be a very helpful option.

    Hello,

    I think woocommerce-group-attributes plugin will be a solution.

    Woocommerce Group Attributes

    Hi @tremenzo
    thanks for the suggestion, but for me this feature is not so important that I would pay for a solution. Solved it through custom post types. ??

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @niikk,

    Apologies for the delay here. You’ll want to go to Products → Attributes and hover on the particular attribute the click “Configure terms”. On the next screen, you will be able to drag and drop the terms using these “handles”:

    a
    Link to image: https://snipboard.io/D4IVT8.jpg

    As for @newshop, good to hear that you found a solution. In future, please create a new thread for better visibility of your issue.

    That said, I’ll go ahead and mark this thread as resolved. If you have other questions, please feel free to create a new thread.

    Thanks.

    @abwaita
    I think you misunderstood the issue of @niikk and the rest of us. We do not want to reorder the terms (e.g. Blue, Red Yellow), but the PARENT ATTRIBUTES (e.g Color, Size, …). There is no drag & drop solution for this. You can drag & drop the order in single product edit page but it is not applied in frontend.
    So, my solution was just a workaround. It would be great if this would be possible in the future, there are so many people out there opening threads for this and still no proper solution.

    Hi @newshop

    We do not want to reorder the terms (e.g. Blue, Red Yellow), but the PARENT ATTRIBUTES (e.g Color, Size, …). There is no drag & drop solution for this. You can drag & drop the order in single product edit page but it is not applied in frontend.

    As of today, there isn’t drag & drop option available by default. If you need to bulk-edit the order of parent attributes, you’d want to use a plugin or look into using the built-in Product CSV Importer and Exporter: https://docs.woocommerce.com/document/product-csv-importer-exporter/

    It would be great if this would be possible in the future, there are so many people out there opening threads for this and still no proper solution.

    There’s no guarantee on when/if this will be developed into an extension, but you can add this to our Ideas Board.

    Hi @niikk, @newshop,
    You might be interested in this example solution to change the default sort option for global attributes https://www.ads-software.com/support/topic/sort-list-of-attributes-by-alphabetical-order-of-the-default-site-language/#post-15215569. This will sort the attributes by name.

    And @niikk, Could you please write your answer to how you solved this question https://www.ads-software.com/support/topic/custom-product-tab-in-dokan-vendor-product-edit/
    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Product attribute order on product page’ is closed to new replies.