-2 added to Attribute slug in Variable SKU
-
Hi,
I recently started using your plugin, but unfortunately I run into an issue. I want to generate the variable product SKU using the Attribute slug name which are shoe sizes in our case, but unfortunately the plugin adds -2 to all SKU’s. I am not sure where this is coming from since the attributes do not have this in the name or slug.
Because of the added -2 in the SKU Woocommerce does not seem to recognize the variable product and does not manage the stock properly. For context we have a shoe shop and the sizes are the variable products. To take https://www.leukelaarsjes.com/product/pikolinos-leren-sandalet-bruin/ as an example I have switched the plugin to generate variable sku’s to: never. I changed the SKU from: Pikolinos sandalet bruin-36-2 to Pikolinos sandalet bruin-36 manually and then it removes the option from the size selection as it should. If I do not do that the size stays visible and only after you add it to cart it gives you a message that the stock is 0. I have updated the stock for size 37 to 0 as well, but left the SKU as automatically generated: Pikolinos sandalet bruin-37-2 so you can see what I mean.
I hope you can help me with this. Seems to me that I should remove the -2 from the sku’s, but I am not sure why or how the plugin is generating this or where I can maybe manually change this. If you can point me into the right direction that would be much appreciated.
The page I need help with: [log in to see the link]
- The topic ‘-2 added to Attribute slug in Variable SKU’ is closed to new replies.