Title: Customizing Attribute Using Coding
Last modified: August 21, 2016

---

# Customizing Attribute Using Coding

 *  [timothyky](https://wordpress.org/support/users/timothyky/)
 * (@timothyky)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/customizing-attribute-using-coding/)
 * Hi,
 * I was wondering I currently was able to add attributes into a product. But the
   product attribute is just added to product.
 * However the product variation is not added. In the Backend CMS under Product 
   Data I would like to have both the checkbox for “Visible on the Product Page”
   and “Used for Variations” selected.
 * Also does anyone know whats the code so I can automatically link all the variations?
 * Thank you so much in advance for the help!
 * [http://wordpress.org/extend/plugins/woocommerce/](http://wordpress.org/extend/plugins/woocommerce/)

The topic ‘Customizing Attribute Using Coding’ 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/)

## Tags

 * [attributes](https://wordpress.org/support/topic-tag/attributes/)
 * [variations](https://wordpress.org/support/topic-tag/variations/)

 * 0 replies
 * 1 participant
 * Last reply from: [timothyky](https://wordpress.org/support/users/timothyky/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/customizing-attribute-using-coding/)
 * Status: not resolved