summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/sdk/auth.js
diff options
context:
space:
mode:
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()