Title: Global attribute correlations
Last modified: September 16, 2020

---

# Global attribute correlations

 *  Resolved [eddowding](https://wordpress.org/support/users/eddowding/)
 * (@eddowding)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/global-attribute-correlations/)
 * A site I’m working on sells about 100 products, each 4 attributes and each attribute
   has 3-20 variations.
 * TLDR: Can I set global attribute correlations so eg materialA is available in
   red, green, and blue; and materialB is available blue and green — and apply this
   to all products?
 * The products are bags, and attributes are Material (3 variables), Colour (20),
   Trim colour (20), Handle style (4).
 * The products obey simple rules.
    MATERIAL / COLOURS: MaterialA is available in
   Colours 1-10. MaterialB is available in colours 5-18. MaterialC is available 
   in Colours 15-20. MATERIAL: MaterialA adds 60% to the price. MaterialC takes 
   20% off the price. TRIM: Any HANDLE: Any
 * Material Price can be set by using Markup by Attribute for WooCommerce. This 
   is good.
 * But is there a way to create the material<>product relationship?

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

 *  [Phil](https://wordpress.org/support/users/fullysupportedphil/)
 * (@fullysupportedphil)
 * Automattic Happiness Engineer
 * [5 years, 6 months ago](https://wordpress.org/support/topic/global-attribute-correlations/#post-13413740)
 * Using the normal setup for a variable product, no you could not do this.
 * You can set what values are available for an Attribute and that can be done on
   a global level. However, you cannot set what values are available for an attribute,
   based on the selection of another attribute globally. That would need to be done
   by setting up your variations correctly.
 * So what I mean by this is that if you have an Attribute for each material, you
   could set the colours that each of those have. For example:
 * Cotton : red, green, blue
    Leather: black, brown, gray Canvas : white, tan, gray
 * There would be no issue setting up three different attributes and assigning the
   values to each of those. However, if you use these attributes for your variations,
   it would mean that each would be a separate selection on the customer’s side.
   So instead of seeing a single drop-down to choose their fabric type, they’d see
   a drop-down for cotton with color selections, then a drop-down for leather, and
   canvas, etc.
 * If you are looking to save some time from manually working through setting up
   each product, I would recommend importing these products by CSV. That way you
   can set up all your products on a CSV, then edit them far more quickly, in bulk,
   and upload them to your site.
 *  Plugin Support [fevered – a11n](https://wordpress.org/support/users/fevered/)
 * (@fevered)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/global-attribute-correlations/#post-13444280)
 * Hey there, since we haven’t heard back from you in awhile I’ll mark this thread
   as resolved now. If you have any further questions, I recommend creating a new
   thread.

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

The topic ‘Global attribute correlations’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [fevered – a11n](https://wordpress.org/support/users/fevered/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/global-attribute-correlations/#post-13444280)
 * Status: resolved