feat: cart detail leads to order creation
This commit is contained in:
@@ -11,3 +11,9 @@ class CartItemForm(forms.Form):
|
||||
|
||||
product = forms.IntegerField(widget=widgets.HiddenInput)
|
||||
quantity = forms.IntegerField()
|
||||
|
||||
|
||||
class CreateOrderForm(forms.Form):
|
||||
shipping_address = forms.IntegerField()
|
||||
billing_address = forms.IntegerField()
|
||||
shipping_method = forms.IntegerField()
|
||||
|
||||
Reference in New Issue
Block a user