from django.urls import path
from cart import views

urlpatterns = [
    path("delete/<int:cartitemid>", views.delete_cart_item, name="deletecartitem"),  # this connects to the
    # views in cart app
    path("sfl/<int:cartitemid>", views.save_for_later, name="saveforlater"),  # this connects to the
    # views in cart app
    path("mtc/<int:cartitemid>", views.move_to_cart, name="movetocart"),  # this connects to the
    # views in cart app
    path("updateqnty/<int:cartitemid>", views.update_quantity, name="updateqty"),
    path("checkout", views.checkout, name="checkout"),# this connects to the
    # views in cart app
    path('', views.shoppingcartview, name='cart'),  # this connects to the
    # views in cart app
]
