A new attribute, such as material, added to products for filtering
Create a shop-wide attribute with its values and set it on existing products, so it shows on the product page and a filter can use it.
- Difficulty
- Intermediate
- Time
- about 25 min
I want customers to filter [the category Bags] by material. Create the attribute [Material] with the values [leather, canvas, synthetic] if it doesn't exist. Then set it on each product of the category from this list: [product and material]. It should show on the product page but not create variations. Keep each product's existing attributes. Show me the plan and wait for my approval.
Already connected?
If SAR is already in your AI app, this is enough:
Create the attribute [Material] with [values] and set it on the products of [category] from my list.
What happens
- The AI app reads the shop's attributes and creates the new one with its values. Nothing visitors see changes until products use it.
- It exports the category's products with their current attributes.
- It sets each product's attributes again, the existing ones plus the new one, shown on the page and not used for variations. A draft changes at once; a product on sale waits for your approval. It can be undone.
- A filter block on your shop pages can then offer the new attribute.
Approvals involved
Worked out from the tools this recipe uses.
wordpress_woo_list_attributesProduct attributesNonewordpress_woo_create_attributeCreate a product attributeNonewordpress_woo_export_productsExport products to CSVNonewordpress_woo_set_product_attributesSet a product's attributesApproval once live
What you get
Products described by material on their pages, ready for a material filter.
Related recipes
- Shop · about 15 minA new size added to a product you already sellAdd a missing size or colour to a variable product that is on sale, and make only the new variations, each with its price and stock.
- Shop · about 15 minA product with sizes and colours, built as a draftCreate a variable product with every size and colour, each priced and in stock, as a draft you check before it goes on sale.
- Shop · about 20 minA supplier's price increase passed on to one categoryRaise the regular price of a category's products by a percentage, with your rounding, in batches of up to 50 that you approve once each.
Try it on your own site
Install the plugin, add SAR to your AI app and paste the prompt. Free to start.