Re: Template Variations title not showing

2020-05-24 Thread Ahmed Khairy
here is the link https://groups.google.com/forum/#!topic/django-users/5SckOumQLQM On Sunday, May 24, 2020 at 10:38:18 PM UTC-4, Ahmed Khairy wrote: > > Helloo, > > Check my views in this question link, it might be useful > > On Saturday, May 23, 2020 at 1:35:32 AM UTC-4, oldtimer wrote: >> >> I

Re: Template Variations title not showing

2020-05-24 Thread Ahmed Khairy
Helloo, Check my views in this question link, it might be useful On Saturday, May 23, 2020 at 1:35:32 AM UTC-4, oldtimer wrote: > > I cannot get variations or I tried model forms for options as well and > cannot get either to add to the cart. I can get both to display as options > on the produ

Re: Template Variations title not showing

2020-05-22 Thread oldtimer
I cannot get variations or I tried model forms for options as well and cannot get either to add to the cart. I can get both to display as options on the product page, but that is as far as I've made it. Need some help on how to get the views.py to get the options and post to cart. -- You recei

Re: Template Variations title not showing

2020-05-22 Thread Ahmed Khairy
Did you adjust your views to make the variations add to the cart ? On Thursday, May 21, 2020 at 10:04:15 PM UTC-4, oldtimer wrote: > > Hello, > > i was able to get the variant to show on the product page with using a > form. > > I cannot get the variants to display in the cart. > > Only differen

Re: Template Variations title not showing

2020-05-21 Thread oldtimer
Hello, i was able to get the variant to show on the product page with using a form. I cannot get the variants to display in the cart. Only difference is my Variation model is a ManyToManyField to the item. I have also changed my variant options to numbers as the dict was expecting an integer a

Template Variations title not showing

2020-05-05 Thread Ahmed Khairy
Hello all, I have made a variation to an Item class in models.py and I think i got the template syntax right but apparently there are something wrong which i can't figure it out Here is the model class Item(models.Model): title = models.CharField(max_length=100) description = models.