Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Help with Admin Dashboard

107 views
Skip to first unread message

salkirwi

unread,
Sep 15, 2023, 3:05:35 PM9/15/23
to django-oscar

I have searched all over the Internet looking for an Admin user manual for  Oscar/Django on how to add and configure products, attributes, and variants via the Admin Dashboard but I could not find any.  Most of what is available is for the back-end coding. I would appreciate any help.

 All I would like to see is how to add a single product with attributes and variants.

Thank you

Joey Jurjens

unread,
Sep 15, 2023, 3:32:15 PM9/15/23
to django...@googlegroups.com
Hi,

I can help you with this, but I’m wondering where you’re stuck? Do you have an instance of Django-Oscar already running?

Let me know where you’re stuck & I’ll try and get you started.

--
https://github.com/django-oscar/django-oscar
http://django-oscar.readthedocs.org/en/latest/
---
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.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/8449faa3-2166-4288-8667-7c100916d3f6n%40googlegroups.com.

salkirwi

unread,
Sep 15, 2023, 3:43:50 PM9/15/23
to django-oscar
Thank you, Joey, for responding

Yes, we have an instance setup

It is not clear to me where to start.  I can tell the difference between Categories and Classes, Attributes and Variants,  What to do when there is cost implication on some item attributes.

We have an online ordering website for fast food, and we are replacing it with Oscar-Django.   If I could get some help with adding one product then that should give me a good idea..

Here is the Oscar Django instance:


Here is the current PHP website:


The product I would like to add is one of the meals from the Pizza Category.

Thank you  

image.png

Sebastian Jung

unread,
Sep 15, 2023, 5:21:12 PM9/15/23
to django...@googlegroups.com
Hey,

yes i have the same problem with understanding why which things exists. Now i explain you Categories you can choose several per product. This is shown in Frontend in menu.. When user click on a menupoint then all products with this categorie are shown... Per product you must choose a productclass. Productclass have a very interesting thing: you can insert over EAV new attributes with serveral fieldtypes like decimal, string, option, mutlipleoptions and further more. Then when a product have a productclass with more attributes then you find in attributes tab this field and you can insert values. In frontend in Detailview of product it is shown. This are very cool. I have extend my django oscar that also filtering in frontend are shown and then user can filter after this EAV Fields.

This is the EAV Implementation https://django-eav2.readthedocs.io/en/latest/ which are used in django oscar.

On Variants you setup a basisproduct with basis attributes and then it is possible to "clone" this basisproduct and then every clone have on other attributes other values. For example you have a textile product where description and titel are everytime the same but on a Variant for example size and color are different...

Django Oscar in implementation are very very special. For example URL mapping are make in apps.py instead of normal url.py or models are not defined in models.py instead of you have a model_abstract file where you find all models as Astract classes. Please don't answer why it is used. It is too complex to understand it and perhaps one day i know it.

Yes that's it

I know most of django oscar how it works. So if you have specific questions ask me.

I have a question why you want in admin models? You can all administer django oscar over /dashboard/ url. There you can also insert partner, categories, products and variants and further further more. I never time need admin ....

Regards

Sebastian Jung

unread,
Sep 15, 2023, 5:31:51 PM9/15/23
to django...@googlegroups.com
Last thing i think perhaps Variant is not right thing to implement further options like Base / Drink / Ben / Jerry....

I would make following: extend in product.models product class with 3 new many to many fields... one for Base one for Drink and one for Jerry to another class with this chooses and prices...

Then on submit per basket/add/productid you must extend url so also choices of this 3 fields are submit in url. Then you must also override somethings on basket so url parameter are working and also stored in basket and in order.... and also in checkout choices are calculated. This is not absolut trivial but with a little effort also not so heavy but perhaps it exists a solution which are much easier.. I don't know sorry

Ask me if you have further questions



Am Fr., 15. Sept. 2023 um 21:43 Uhr schrieb salkirwi <salk...@gmail.com>:

salkirwi

unread,
Sep 16, 2023, 5:27:38 AM9/16/23
to django-oscar

Hello

Thank you very much Sebastian for your kind effort.

Let me first answer your question,  “why you want in admin models? You can all  . . .  etc”     Actually, I do not want admin models as I do not know coding.  I am looking for exactly what you have suggested, which is to do the setup via the Admin dashboard, not by coding.  Unfortunately,  I do not know how and where to start as there is no manual to show me.

Also, I must apologise for your effort in trying hard to explain in a developer language how to do it, and I am not a developer to understand it,  But I am sure the explanation will benefit others in this group.

Thanks again

Regards

Salah

Sebastian Jung

unread,
Sep 16, 2023, 5:52:55 AM9/16/23
to django...@googlegroups.com
Please open  /dashboard do you see that? Please login im dashboard and after this you don't need anymore admin

Sebastian Jung

unread,
Sep 16, 2023, 6:03:17 AM9/16/23
to django...@googlegroups.com
Hello,

I am developer and if you don't find anyone who can help you, you can writes me. Me Expertise in django oscar is good and deep enough to solve this.

Regards

salkirwi <salk...@gmail.com> schrieb am Sa., 16. Sept. 2023, 11:27:

salkirwi

unread,
Sep 16, 2023, 6:29:16 AM9/16/23
to django-oscar

Hi Sebastian

Again, thank you for trying to help

I can get to the Admin fine and I can see everything but I need to know to fill in so I can have:

Pizza with:

                     3 sizes (12”, 14”, 16”)  . . each size has different price

                     3 types of base (thick base, thin base, garlic base)  . .  each base has different price

I hope you can guide me

Thank you

Regards

Piyush Joshi

unread,
Nov 22, 2023, 9:01:31 AM11/22/23
to django-oscar
Hello Guys

Do we have any solution for this use case? I am in the same situation and naive with django-oscar. If anyone know any work-around or direct solution available within oscar,  please share the knowledge.

Thank you.

salkirwi

unread,
Nov 22, 2023, 9:19:58 AM11/22/23
to django-oscar
Hi Piyush
I am afraid we had to engage a developer to add these features.  We could not find a way around it.

It was not a huge job but I think it took around 15 hours to do, including some other bits.

Regards  

Piyush Joshi

unread,
Nov 23, 2023, 1:04:22 AM11/23/23
to django...@googlegroups.com
Thank you for the response Mr. @Salkirwi

You received this message because you are subscribed to a topic in the Google Groups "django-oscar" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-oscar/dLW2jCAEhjQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-oscar...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/9472ab2c-2c7c-4b64-ac25-120f3440b694n%40googlegroups.com.


--
Thanks & Regards

image.png

Piyush Joshi

Managing Director

Business Consultant | TechnoAce India

https://calendly.com/piyush-17/30min

9680-450-598 | 9799-992-111
piy...@technoace.in
www.technoace.in
Jaipur, Rajasthan, India, 302020
facebook
twitter
linkedin
instagram

Piyush Joshi

unread,
Nov 23, 2023, 1:55:33 AM11/23/23
to django-oscar
Hi Salkirwi

Can you please share the source code that is developed by your Team. That will be a big time saver for us. 

Regards
Piyush Joshi

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages