main
Amir Hossein Moghiseh 2025-03-03 22:45:35 +03:30
parent 67e84dbfa2
commit e0b3960b6b
1 changed files with 3 additions and 1 deletions

View File

@ -47,6 +47,7 @@ query Products_connection(
] ]
} }
locale: $locale locale: $locale
sort: ["order:asc"]
) { ) {
nodes { nodes {
documentId documentId
@ -84,6 +85,7 @@ query Products_connection(
} }
` `
@ -132,7 +134,7 @@ const ProductsListingPage = () => {
getProducts(category) getProducts(category)
}, [searchParams]) }, [searchParams])
console.log("products", products)
const t = useTranslations("PLP") const t = useTranslations("PLP")
return ( return (
<> <>