From c223032bbd67fe5b6ad1334ce81a3f51a7631bfc Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 21 Nov 2015 15:57:50 -0500 Subject: cart empty warning --- StoneIsland/www/js/sdk/auth.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'StoneIsland/www/js/sdk/auth.js') 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() -- cgit v1.2.3-70-g09d2