from django.urls import path
from . import views

urlpatterns = [
    path('', views.store, name='store'),
    path('category/<slug:category_slug>', views.store, name='product_by_category'),
    path('category/<slug:category_slug>/<slug:product_slug>', views.product_detail, name='product_detail'),
    path('search', views.search, name='search'),
    path('sumbit_review/<int:product_id>', views.sumbit_review, name='sumbit_review'),
]
