summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/sdk/auth.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-21 15:57:50 -0500
committerJules Laplace <jules@okfoc.us>2015-11-21 15:57:50 -0500
commitc223032bbd67fe5b6ad1334ce81a3f51a7631bfc (patch)
tree9f832d23e348a3b92030ec7da6053d7eece24254 /StoneIsland/www/js/sdk/auth.js
parent29380aa560c05186aa67b7b36d4a40c65e570d35 (diff)
cart empty warning
Diffstat (limited to 'StoneIsland/www/js/sdk/auth.js')
-rw-r--r--StoneIsland/www/js/sdk/auth.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/StoneIsland/www/js/sdk/auth.js b/StoneIsland/www/js/sdk/auth.js
index fe7acc5c..66dd81e8 100644
--- a/StoneIsland/www/js/sdk/auth.js
+++ b/StoneIsland/www/js/sdk/auth.js
@@ -82,6 +82,12 @@ var auth = sdk.auth = (function(){
}
auth.defer_add_to_cart = function(){
// auth.deferred_product
+ sdk.cart.add_item({
+ data: {
+ Code10: auth.deferred_product.code,
+ Size: auth.deferred_product.size,
+ }
+ })
}
auth.log_out = function(){
auth.clear_user()