as you know eCommerce websites consist of various types of products and 
attributes.
there are digital products as well as physical products.
there are many different attributes that are assigned to a specific type of 
product.

i need a good example to build such a system in django.

what i know is that i need to create an app for products and create a class 
for the product type and then later you lookup the data in the database 
using this fields:

class Product(models.Model):
title = models.CharField(max_length=200)
...
...
...
a
but what if i want my users (vendors) to be able to define an attribute for 
their product model that is not pre-defined by me?
say a shoe might have a size field(attribute) but a memory may have a 
capacity attribute. a developer can't predefine everything.

woocommerce in WordPress has a system that enables admins to add global 
attributes for product types that is usable and see-able by all vendors.
vendors can also define local attributes only seen by themselves.

how do you perform such a task in django? are there any good 
articles/tutorials on this subject that covers everything?

thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a2b1f242-af3c-4666-b778-552103614e25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to