Page 1 of 1
Product option changes and sku generation
Posted: Mon Sep 10, 2012 12:38 pm
by dsailer
I created 2 product options and a new product that uses them. When I generate the SKUs it all seems fine. The SKUs generate and the SKUs tab shows the 2 options as column attributes. If you add another production option to the same product and generate SKUs the new product option and the values are not used to generate the additional SKUs nor does the added option show up as a column attribute on the SKUs tab. Should you be able to add options to products later in time?
If I create a new product and attach the 3 product options then it works as I would expect.
<blc.version>2.0.0-RC1-1</blc.version>
Re: Product option changes and sku generation
Posted: Mon Sep 10, 2012 3:16 pm
by phillipuniverse
Hm I created a new demo admin (which is based on the current RC1-1 version) and went through the exact scenario you described and it seemed to work ok. Let me take you through my process:
So this all seems to work ok on my end. How many Skus does it say that it generates? The number should be equal to the number of ProductOptionValues in each ProductOption multiplied together. So if you have a Weight option with 4 possible values, and a Size option with 3 possible values, it should generate 12 Skus. If you have a Weight option with 4 possible values, a Size option with 3 possible values, and a Color option with 3 possible values, it should generate 36 Skus.
Are you sure that the newly added Product Option has Product Option Values associated with it?
Re: Product option changes and sku generation
Posted: Mon Sep 10, 2012 4:35 pm
by dsailer
Oddly, now that I try it again it works for the option I added earlier. I have restarted the demo several times, but I'm not sure why that would matter. However I added another option and it does not generate anymore skus. This option was called MAGTEST. When I attempt to upload a word document to show you screen images it fails "The extension docx is not allowed". How can I upload these images?
Re: Product option changes and sku generation
Posted: Mon Sep 10, 2012 4:38 pm
by phillipuniverse
Probably the easiest would be to use imgur (
http://imgur.com/) and link them in your post.
Re: Product option changes and sku generation
Posted: Mon Sep 10, 2012 4:39 pm
by phillipuniverse
Is there any stack trace on the server? Does it say there was a problem generating Skus on the frontend?
Re: Product option changes and sku generation
Posted: Thu Sep 20, 2012 2:32 pm
by dsailer
I see no messages in the log. It gives no error on the front end. It just generates the same number of skus as it did before I add in the new product option. "4 Skus have been generated from the Product Option permutations". 4 is the number of option values in my first option. When I add another option with 4 values it should generate 16, but does not. Restarting the server (JBoss in our case) seems to "fix" it.