OK, I was able to add a product variation by what I thought was the
"old" way.

Add product, make configurable, add another product, add variation,
link new variation to original configurable product.

I believe my confusion was with the "Create Variations" check box on
the ConfigurableProduct edit page. I misunderstood the help_text there
and was confused as to why the variations were not being created. (To
me "add" an option meant "create" the option, not "select" an option).

OK, I thought, so I just click the "Add variations" link next to my
Option, select my option again on the next page (?), then save. That
500s (I'll file a bug for that) because I'm trying to add a variation
on a ConfigurableProduct.

So there is a minor bug that I'll file, but I think the rest boils
down to me not understanding the interface. I'm going to try to post a
screencast of how this works as I imagine it will help folks like me
grok this a lot sooner.

--
Pete



On Nov 20, 1:48 pm, "Chris Moffitt" <[EMAIL PROTECTED]> wrote:
> If you try to load the sample store data, does it work?
>
> python manage.py satchmo_load_store
>
> I'm trying to figure out where the issue lies.
>
> -Chris
>
> On Thu, Nov 20, 2008 at 1:28 PM, baumer <[EMAIL PROTECTED]> wrote:
>
> > I think there is an issue here too. No matter what I do, I cannot add
> > a product variation. The second and third errors I was seeing here [1]
> > still stand in r1711.
>
> >http://groups.google.com/group/satchmo-users/browse_thread/thread/b9d...
>
> > --
> > Pete
>
> > On Nov 19, 6:01 pm, joshm <[EMAIL PROTECTED]> wrote:
> > > I went back to a clean snapshot and reloaded the demo data, I'm still
> > > getting this issue.  It seems my configuration is correct... Anyone
> > > have any suggestions...
>
> > > Thanks.
>
> > > On Nov 18, 2:11 pm, joshm <[EMAIL PROTECTED]> wrote:
>
> > > > Bruce,
>
> > > > Sorry for the troubles with this, and thank you for your help.
>
> > > > I'm now trying to figure out why my variation manager is not working
> > > > for me.
>
> > > > I logged a bit out of satchmo and here is what I found, maybe you can
> > > > point me to what is going on here:
>
> > > > When I go to the variation manager, I click "Select All" and then
> > > > "Update Variations"
> > > > When I log the actions I see that the method varitiation_manager in
> > > > product/adminviews.py is called
> > > > This in turn saves the request, with form.save(request)
> > > > In the Variation Manager call for save, I have this as my optiondict:
> > > > {1L: {1L: <Option: Small>, 2L: <Option: Medium>, 3L: <Option: Large>,
> > > > 12L: <Option: Extra Large>, 13L: <Option: Extra Small>}, 2L: {4L:
> > > > <Option: Chocolate>, 5L: <Option: Sky>}, 5L: {14L: <Option: Ocean>,
> > > > 15L: <Option: Milk Chocolate>}}
>
> > > > and this as my cleaned_data:
>
> > > > {'optiongroup__1': [u'1_13', u'1_1', u'1_2', u'1_3', u'1_12'],
> > > > 'name__1_1': u'test product (S)', 'name__1_2': u'test product (M)',
> > > > 'name__1_3': u'test product (L)', 'sku__1_13': u'', 'sku__1_12': u'',
> > > > 'pv__1_13': True, 'pv__1_12': True, 'sku__1_3': u'', 'sku__1_2': u'',
> > > > 'sku__1_1': u'', 'slug__1_12': u'test-product_XL', 'slug__1_13':
> > > > u'test-product_XS', 'pv__1_3': True, 'pv__1_2': True, 'pv__1_1': True,
> > > > 'name__1_12': u'test product (XL)', 'name__1_13': u'test product
> > > > (XS)', 'dirty': u'', 'slug__1_1': u'test-product_S', 'slug__1_2':
> > > > u'test-product_M', 'slug__1_3': u'test-product_L'}
>
> > > > In this instance there is no dirty items, thus nothing is ever
> > > > committed to the db.  (At least I think that is what is going on
> > > > here).
>
> > > > Do you have any ideas hints or pointers as to how to track down what
> > > > might be going on here, should there be dirty data?
>
> > > > Thanks in advance....
>
> > > > On Nov 18, 10:14 am, "Bruce Kroeze" <[EMAIL PROTECTED]> wrote:
>
> > > > > On Tue, Nov 18, 2008 at 10:06 AM, joshm <[EMAIL PROTECTED]>
> > wrote:
>
> > > > > > I still can not seem to add a variation from this screen, it might
> > be
> > > > > > because of my configuration, but when I click add variation, I go
> > to
> > > > > > the "Add Product Variation" screen, (my options aren't selected,
> > but
> > > > > > this might be an existing bug that is being worked on) I select my
> > > > > > options, and click save, it does not save.  In the log file i have:
>
> > > > > > "WARNING  cannot add a productvariation subtype to a product which
> > > > > > already is a configurableproduct. Aborting
> > > > > > rting"
>
> > > > > You don't hit "add product variation" on a configurable product.  You
> > hit it
> > > > > on some other product that you want to make into a variation.  Think
> > of it
> > > > > as an attribute of the product.  The system is doing exactly what it
> > is
> > > > > supposed to do here.
>
> > > > > I made a video a long time ago which gives an example of "manually"
> > creating
> > > > > a product.  It may help, even though it is very out of date:
> >http://coderseye.com/files/satchmo/satchmo_pv.swf
>
> > > > > > Which doesn't seem to make too much sense, if I have a configurable
> > > > > > product, how is it configurable if I can't add any product
> > > > > > variations...
>
> > > > > You add them from the configurable product page, or the variation
> > manager.
>
> > > > > > I can now get into the variation manager, but selecting anything
> > and
> > > > > > clicking "Update Variation" doesn't seem to do anything.
>
> > > > > > Are you seeing this same behavior?
>
> > > > > Nope, it works for me.
>
> > > > > --
> > > > > Bruce Kroezehttp://gosatchmo.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to