diff --git a/lib/shopware/api.ts b/lib/shopware/api.ts index 89c666674..35655a275 100644 --- a/lib/shopware/api.ts +++ b/lib/shopware/api.ts @@ -123,6 +123,16 @@ export async function requestSeoUrl( type: 'equals', field: 'seoPathInfo', value: handle + }, + { + type: 'equals', + field: 'seoPathInfo', + value: decodeURI(handle) + '/' + }, + { + type: 'equals', + field: 'seoPathInfo', + value: decodeURI(handle) } ] } @@ -145,4 +155,4 @@ export async function requestCrossSell( export async function requestCart() { return apiInstance.invoke('readCart get /checkout/cart?name', {}); -} \ No newline at end of file +}