Oscar - Multiple Categories

429 views
Skip to first unread message

ishaq ticklye

unread,
Aug 7, 2013, 6:02:39 AM8/7/13
to django...@googlegroups.com
I am using Oscar e-commerce framework on django installation. It provides only categorisation of one type. How can i make 2 different types of categorisation?
Example-
In my e-commerce shop, i have "Categories" & "Brands". "Categories" are say - electronics, clothes, shoes etc. & "Brands" are say - Nokia, Samsung, Spykar, Lee Cooper, Nike, Adidas etc. Now i want to show both of them differently as "Categories" & "Brands" in my main menu.
Is this feature readily available in Oscar? Because as far as i have found out, only one type of categorisation is available..
Request advice..
Thanks..

David Winterbottom

unread,
Aug 8, 2013, 10:50:50 AM8/8/13
to django-oscar
It's not but that isn't a problem.  Just create your own catalogue app where you define your own Brand model and create a foreign key (or M2M) on the product model.  You might need to adjust the product forms to allow brands to be assigned but that shouldn't be difficult.


--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-oscar/ff1379ea-c725-456e-9025-2c3db0ad644f%40googlegroups.com.
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

Michael Lind Hjulskov

unread,
Sep 18, 2013, 6:15:33 AM9/18/13
to django...@googlegroups.com
Hi Ishaq

I want to do excactly the same as You

Would You be kind and share Your code changes or explain how You did it :)

Thank You very much.

Best regards
Michael Hjulskov

bi...@dynaville.com

unread,
Nov 21, 2013, 7:01:12 PM11/21/13
to django...@googlegroups.com
Not sure when it was added, but multi-category support is available in the latest master branch.

Oleg Fish

unread,
Nov 22, 2013, 7:57:46 AM11/22/13
to django...@googlegroups.com
Yep, it is
But we must change product site view (template?) to display this categories as default product page shows the only last added. 

пятница, 22 ноября 2013 г., 4:01:12 UTC+4 пользователь bi...@dynaville.com написал:

Michael Lind Hjulskov

unread,
May 26, 2014, 12:09:30 PM5/26/14
to django...@googlegroups.com
Hi

Its been a while...

What would be the best way to organise brands now with version 0.7?

redefine catalog app or just add all brand names as categories below a category called something like "Brand's"

Thanks

Michael

Maik Hoepfel

unread,
May 27, 2014, 2:06:41 AM5/27/14
to django...@googlegroups.com
Hi Michael,

I don't think anything related to categories has changed. You should be
able to assign multiple categories to your products. You can also
investigate setting them as attributes and then using faceting to drill
down. Search for something on demo.oscarcommerce.com if you don't know
what I mean by faceting.

So it really depends on your use case. Let me know if I can help more.

Regards,

Maik
> --
> https://github.com/tangentlabs/django-oscar
> http://django-oscar.readthedocs.org/en/latest/
> https://twitter.com/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
> <mailto:django-oscar...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/django-oscar.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-oscar/071e3b60-0f35-4573-9b67-b413c231967c%40googlegroups.com
> <https://groups.google.com/d/msgid/django-oscar/071e3b60-0f35-4573-9b67-b413c231967c%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages