from django.urls import path, include
from .views import cart_home, add_to_cart, remove_from_cart, checkout_home, checkout_shipping, success_payment

app_name = 'carts'

urlpatterns = [
    path('', cart_home, name='cart'),
    path('add_cart/', add_to_cart, name='add_to_cart'),
    path('remove_from_cart/', remove_from_cart, name='remove_from_cart'),
    path('checkout/', checkout_home, name='checkout_home'),
    path('checkout_shipping/', checkout_shipping, name='checkout_shipping'),
    path('success_payment/', success_payment, name='success_payment')
]