diff --git a/themes/nurgul/partials/seller/prod-update.htm b/themes/nurgul/partials/seller/prod-update.htm index c4dac97..6633b77 100644 --- a/themes/nurgul/partials/seller/prod-update.htm +++ b/themes/nurgul/partials/seller/prod-update.htm @@ -144,7 +144,7 @@ $(document).ready(function () { $.ajax({ - url: `https://nurgul.com.tm/app/api/vendor/{{user.seller_id}}`, + url: `https://nurgul.com.tm/app/api/vendor/{{user.seller_id}}??locale=tm`, type: 'GET', dataType: 'json', success: async function (data, textStatus, xhr) { @@ -175,7 +175,7 @@ $(document).ready(function () { $.ajax({ - url: `https://nurgul.com.tm/app/api/seller/products/{{user.seller_id}}/{{id}}`, + url: `https://nurgul.com.tm/app/api/seller/products/{{user.seller_id}}/{{id}}?locale=tm`, type: 'GET', dataType: 'json', beforeSend: function () { diff --git a/themes/nurgul/partials/sellerApi/getProducts.htm b/themes/nurgul/partials/sellerApi/getProducts.htm index 2f56251..2899d55 100755 --- a/themes/nurgul/partials/sellerApi/getProducts.htm +++ b/themes/nurgul/partials/sellerApi/getProducts.htm @@ -6,7 +6,7 @@ function getProducts(limit, page) { $(document).ready(function () { $.ajax({ - url: `https://nurgul.com.tm/app/api/seller/products/{{user.seller_id}}?limit=`+limit + `&page=` + page, + url: `https://nurgul.com.tm/app/api/seller/products/{{user.seller_id}}?locale=tm&limit=`+limit + `&page=` + page, type: 'GET', dataType: 'json', beforeSend: function () {