diff options
Diffstat (limited to 'StoneIsland/www/js/sdk/product.js')
| -rwxr-xr-x | StoneIsland/www/js/sdk/product.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/StoneIsland/www/js/sdk/product.js b/StoneIsland/www/js/sdk/product.js index 671d1fea..3619b0bd 100755 --- a/StoneIsland/www/js/sdk/product.js +++ b/StoneIsland/www/js/sdk/product.js @@ -7,7 +7,7 @@ sdk.product = (function(){ product.all = function(opt){ return $.ajax({ method: "GET", - url: sdk.path("Search.API/1.3", "search.json"), + url: sdk.path("Search.API/1.3", "search.json", "US"), data: { format: "full", productsPerPage: 100 }, success: opt.success, error: opt.error, @@ -17,7 +17,7 @@ sdk.product = (function(){ product.collection = function(opt){ return $.ajax({ method: "GET", - url: sdk.path("Search.API/1.3", "search.json"), + url: sdk.path("Search.API/1.3", "search.json", "US"), data: { format: "full", department: opt.department_id || default_department, productsPerPage: 100 }, success: opt.success, error: opt.error, @@ -27,7 +27,7 @@ sdk.product = (function(){ product.department_codes = function(opt){ return $.ajax({ method: "GET", - url: sdk.path("Search.API/1.3", "search/results.json"), + url: sdk.path("Search.API/1.3", "search/results.json", "US"), data: { format: "full", department: opt.department_id || default_department, page: 1 }, success: opt.success, error: opt.error, @@ -37,7 +37,7 @@ sdk.product = (function(){ product.collection_by_gallery = function(opt){ return $.ajax({ method: "GET", - url: sdk.path("Search.API/1.2", "search.json"), + url: sdk.path("Search.API/1.2", "search.json", "US"), data: { format: "full", gallery: opt.gallery_id || default_gallery, productsPerPage: 100 }, success: opt.success, error: opt.error, |
