from django.urls import path
from . import views

urlpatterns = [
    path('', views.collection_home, name='shop'),
    path('', views.collection_home, name='reverse_collection'),  # old name, kept for compatibility
    path('merchandise/', views.collection_home, {'listing': 'merch'}, name='shop_merch'),
    path('nostalgic/', views.collection_home, {'listing': 'nostalgic'}, name='shop_nostalgic'),
    path('place-order/', views.place_order, name='place_order'),
    path('cart-images/', views.cart_images, name='cart_images'),
    path('coupon/validate/', views.validate_coupon, name='validate_coupon'),
    path('<slug:slug>/', views.product_detail, name='product_detail'),
]
