Product Attribute required when adding parent product in django oscar 0.5.1

859 views
Skip to first unread message

Shu Yang Quek

unread,
May 18, 2013, 6:32:06 AM5/18/13
to django...@googlegroups.com
Hello,

I really like django oscar and am contemplating using it in one of our company's projects.

I've installed oscar from PyPI (so it's version 0.5.1) and am playing around with it. 

I have a number of queries though:

1. When adding parent products using the dashboard, I find that I'm required to fill in product attributes, even though as a parent product it should be abstract. For example, I've created a Product Class called T-shirts, and a parent product of this class, called Coalesce T-Shirt. Products of this class have an option product attribute, Size. I am required to specify a value for the Size attribute in order to save Coalesce T-Shirt.

2. I've gone ahead to select a value for Size in the case above. I've also specified 2 variants of different sizes. Now in the store, on the product page, the variant selector shows the 2 variants but it does not differentiate by the product attributes, instead showing that both variants have the same name. I've included a screenshot here. I'm worried I'm not doing this right.

Thanks again for the work. 





Shu Yang Quek

unread,
May 18, 2013, 6:41:09 AM5/18/13
to django...@googlegroups.com
I realize I should clarify:  for point 2 I was expecting something more along the lines of "Coalesce T-Shirt (Small)" instead of "Coalesce T-Shirt (Size)" as an auto-generated variant title. Is the way the variant title is being generated intentionally done the way it is, or should I explicitly define in the Title field that it is "Small".

Maik Hoepfel

unread,
May 22, 2013, 10:02:38 AM5/22/13
to django...@googlegroups.com
Hi Shu,

I'm glad you're enjoying Oscar!

I'm afraid I can't help you with your question at the moment - I have no experience with variants nor the product attributes. My products are a lot simpler ;) But I know there are issues with them: https://github.com/tangentlabs/django-oscar/issues/675 I've added your questions to that issue.

David Winterbottom will be back next from holidays week and should be able to answer your questions.

Regards,

Maik

David Winterbottom

unread,
May 29, 2013, 7:01:32 AM5/29/13
to django-oscar
Hi Shu,

1. When adding parent products using the dashboard, I find that I'm required to fill in product attributes, even though as a parent product it should be abstract. For example, I've created a Product Class called T-shirts, and a parent product of this class, called Coalesce T-Shirt. Products of this class have an option product attribute, Size. I am required to specify a value for the Size attribute in order to save Coalesce T-Shirt.

That sounds like a bug - I'll fix for 0.6 via https://github.com/tangentlabs/django-oscar/issues/692.  Looking deeper, I can see it's slightly tricky as, in the current dashboard implementation, it's impossible to distinguish between creating a standalone product with no stockrecord and an abstract product.  Consequently, I've started the ball rolling for a reworking of the product dashboard (see https://groups.google.com/forum/?fromgroups#!topic/django-oscar/VNc-IjQNQCw)

2. I've gone ahead to select a value for Size in the case above. I've also specified 2 variants of different sizes. Now in the store, on the product page, the variant selector shows the 2 variants but it does not differentiate by the product attributes, instead showing that both variants have the same name. I've included a screenshot here. I'm worried I'm not doing this right.

You're right - that's another bug.  It's fixed in 0.6 but is there in 0.5.1.


--
https://github.com/tangentlabs/django-oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
David Winterbottom
Head of Programming

Tangent Labs
84-86 Great Portland Street
London W1W 7NR
England, UK

Shu Yang Quek

unread,
May 30, 2013, 4:55:46 AM5/30/13
to django...@googlegroups.com, david.win...@tangentlabs.co.uk
Hello Maik / David,

Thanks for the responses. Much appreciated. As I installed directly from PyPI I'll just customise what I can and wait for the next update.
Reply all
Reply to author
Forward
0 new messages