{"id":1177,"date":"2021-05-12T11:44:41","date_gmt":"2021-05-12T11:44:41","guid":{"rendered":"https:\/\/ithemelandco.com\/docs\/woocommerce-bulk-product-editing\/?p=1177"},"modified":"2024-04-14T09:39:09","modified_gmt":"2024-04-14T09:39:09","slug":"how-to-attach-change-product-variation-in-woocommerce-bulk-product-editing-plugin","status":"publish","type":"post","link":"https:\/\/ithemelandco.com\/docs\/woocommerce-bulk-product-editing\/how-to-attach-change-product-variation-in-woocommerce-bulk-product-editing-plugin\/","title":{"rendered":"How to Attach \/ Change product variation in Woocommerce bulk product editing plugin?"},"content":{"rendered":"\n
Attach \/ change product variation in Woocommerce bulk product editing plugin<\/a> can help you to add any attributes to your products in a few seconds. This option can save your time by attaching any attributes to your custom products without any need to open the product pages one by one in Woocommerce. <\/p>\n\n\n\n You can attach any variation to as many products as you filtered at the same time in our plugin in two ways:<\/p>\n\n\n\n We are going to describe both methods in this tutorial, so, stay with us. <\/p>\n\n\n\n Attach \/ change product variation by using variation \u201cbulk edit<\/strong>\u201d form is possible by following the below steps in our plugin: <\/p>\n\n\n\n For example, we searched the products that their titles include \u201cshirt” by using \u201cQuick Search<\/strong>\u201d fields as following:<\/p>\n\n\n\n After selecting all filtered products by marking checkbox next to ID, we clicked on \u201cVariation<\/strong>\u201d button, to see the Variation bulk edit form: <\/p>\n\n\n\n In \u201cAttach\/change Variation<\/strong>\u201d tab, you can add any variation that you have already assigned to the WordPress in two ways:<\/p>\n\n\n\n By clicking on the box under Select Attribute field, a list of all variations assigned to the products in the Woocommerce will be displayed. So, you can choose any of them to be attached to the custom products. <\/p>\n\n\n\n For example, we selected color in the below picture: <\/p>\n\n\n\n As soon as adding a new variation, a combo box will appear including all Attributes related to that variation which enables you to choose one of them from the list:<\/p>\n\n\n\n In this tutorial, we selected \u201cBlue<\/strong>\u201d from the drop down list as below:<\/p>\n\n\n\n Finally, by clicking on \u201cAttaching<\/strong>\u201d, this attribute will be added to the product variation. <\/p>\n\n\n\n This field will help you to get the variations of a specific product and attach it to the filtered products.<\/p>\n\n\n\n For example, we entered \u201c2238\u201d as product ID in the related text box and clicked on \u201cGet variations<\/strong>\u201d:<\/p>\n\n\n\n As shown in the below picture, all the Attributes related to this product are listed and we are able to choose any of them, to be assigned to our filtered products by clicking on \u201cAttaching<\/strong>\u201d: <\/p>\n\n\n\n As we expected, all those attributes that we selected were attached to our product variations:\u00a0<\/p>\n\n\n\n As we severally mentioned in the previous tutorial, to use bind edit in our plugin you need to add the proper columns to the product table. <\/p>\n\n\n\n As we are going to attach variations to our product, adding the columns related to those attributes are necessary. <\/p>\n\n\n\n You can easily add any attribute column to your products table by getting help from how to add new columns to the product table. As we did for adding color column to our table in this tutorial:\u00a0<\/p>\n\n\n\n Now to use \u201cbind edit<\/strong>\u201d for attaching new attributes to the product, you need to:<\/p>\n\n\n\n\n
Attach \/ change product variation by using variation bulk edit form <\/strong><\/h2>\n\n\n\n
\n
\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n
By \u201cSelect Attributes\u201d field<\/strong><\/h3>\n\n\n\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n
By \u201cvariable product Id\u201d field<\/strong><\/h3>\n\n\n\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n
Attach \/ change product variation by using variation bulk edit form<\/strong><\/h2>\n\n\n\n
<\/a><\/figure>\n\n\n\n
\n