summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/sdk/product.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-11-24 20:43:29 +0100
committerJules Laplace <julescarbon@gmail.com>2017-11-24 20:43:29 +0100
commit64e8bbc5f2c151d59ae54262e02060c705709755 (patch)
treeb00dce2967f04a5198bf3e1dbd2dcfb4c47868c4 /StoneIsland/platforms/ios/www/js/sdk/product.js
parent6cebaec68b7d579fe879bfcef254641bbbd15d50 (diff)
fix canadian situation before any exclamation
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/sdk/product.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/sdk/product.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/StoneIsland/platforms/ios/www/js/sdk/product.js b/StoneIsland/platforms/ios/www/js/sdk/product.js
index 671d1fea..3619b0bd 100755
--- a/StoneIsland/platforms/ios/www/js/sdk/product.js
+++ b/StoneIsland/platforms/ios/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,