Product attribute order on product page
-
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 CProduct Samsung
– Attribute B
– Attribute A
– Attribute CProduct Windows
– Attribute B
– Attribute C
– Attribute ANow we want that the attribute order is always shown like:
– Attribute A
– Attribute B
– Attribute CMeans, 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
- The topic ‘Product attribute order on product page’ is closed to new replies.