diff options
| -rwxr-xr-x | StoneIsland/www/css/blogs.css | 1 | ||||
| -rwxr-xr-x | StoneIsland/www/css/nav.css | 56 | ||||
| -rwxr-xr-x | StoneIsland/www/index.html | 71 | ||||
| -rwxr-xr-x | StoneIsland/www/js/index.js | 3 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/_router.js | 59 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/account/AccountView.js | 1 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/account/ConsentModal.js | 74 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/account/OrdersView.js | 1 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/account/PaymentView.js | 1 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/account/ProfileView.js | 12 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/account/SettingsView.js | 1 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/account/ShippingView.js | 1 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/auth/SignupView.js | 19 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/blogs/BlogView.js | 2 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/blogs/PageView.js | 9 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/etc/backup_db.js | 14 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/nav/NavView.js | 5 |
17 files changed, 285 insertions, 45 deletions
diff --git a/StoneIsland/www/css/blogs.css b/StoneIsland/www/css/blogs.css index 4823fbef..bf5ab68f 100755 --- a/StoneIsland/www/css/blogs.css +++ b/StoneIsland/www/css/blogs.css @@ -43,6 +43,7 @@ animation: mfadein 0.6s; /* FAQ */ .privacy #privacy { display: block } +.account_terms #account_terms { display: block } .terms #terms { display: block } .returns #returns { display: block } .care #care { display: block } diff --git a/StoneIsland/www/css/nav.css b/StoneIsland/www/css/nav.css index a2448b0e..332e0ca1 100755 --- a/StoneIsland/www/css/nav.css +++ b/StoneIsland/www/css/nav.css @@ -318,6 +318,62 @@ padding-bottom:0px; display: block; } +/* MODAL */ + +.modal { + position: absolute; + top: 50%; left: 50%; + transform: translate3d(-50%, -50%, 0); + max-width: 95vw; + background: white; + box-sizing: border-box; + padding: 40px 20px; + box-shadow: 0 2px 2px #ddd; + opacity: 0; + pointer-events: none; + transition: all 0.2s; +} +.modal.visible { + opacity: 1; + pointer-events: auto; +} + +/* CONSENT MODAL */ + +#consent_modal { + display: none; + z-index: 2; +} +#consent_modal a { + color: black; +} +.modal button { + width: 100%; + padding: 10px; + box-sizing: border-box; + margin: 0; + border: 1px solid; + color: black; + background: white; + margin-top: 20px; + width: 100px; +} +#consent_proceed { + display: inline-block; + background: black; + color: white; + border-color: black; +} +#consent_proceed[disabled] { + color: #888; + background: white; +} +#consent_error { + display: none; +} +.consent-no #consent_error { + color: red; +} /* SELECTOR */ diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 18becf7f..41603e42 100755 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -44,17 +44,18 @@ <span class="archive">ARCHIVE</span> </div> <div class="account_menu"> - <span class="account_back menu-emphasis">< ACCOUNT</span> - <span class="profile">PROFILE</span> - <span class="payment">PAYMENT</span> - <span class="shipping">SHIPPING</span> - <span class="orders">ORDERS</span> - <span class="return_link">RETURN</span> + <span class="account_back menu-emphasis">< MY ACCOUNT</span> + <span class="profile">MY PROFILE</span> + <span class="payment">MY CARD</span> + <span class="shipping">ADDRESS BOOK</span> + <span class="orders">MY ORDERS</span> + <span class="return_link">RETURNS</span> <span class="settings">NOTIFICATIONS</span> </div> <div class="faq_menu"> <span class="faq_back menu-emphasis">< FAQ</span> <span class="privacy">PRIVACY POLICY</span> + <span class="account_terms">MY ACCOUNT TERMS AND CONDITIONS OF USE</span> <span class="terms">TERMS AND CONDITIONS</span> <span class="returns">RETURN POLICY</span> <span class="care">CUSTOMER CARE</span> @@ -205,6 +206,12 @@ <div class="content"></div> </div> </div> + <div id="account_terms" class="page"> + <div class="scroll"> + <h1>MY ACCOUNT TERMS AND CONDITIONS OF USE</h1> + <div class="content"></div> + </div> + </div> <div id="terms" class="page"> <div class="scroll"> <h1>TERMS AND CONDITIONS</h1> @@ -356,7 +363,7 @@ <input type="email" name="Email" placeholder="EMAIL ADDRESS" required tabindex="3"> <input type="email" name="ConfirmEmail" placeholder="CONFIRM EMAIL ADDRESS" required tabindex="4"> <div class="select-wrapper date-wrapper"> - <span>BIRTHDAY (OPTIONAL)</span> + <span>BIRTHDAY (MM/DD/YYYY)</span> <input type="date" name="BirthDay" min="1900-01-01" placeholder="BIRTHDAY (MM/DD/YYYY)" required tabindex="5"> </div> @@ -385,6 +392,15 @@ I agree that YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY may collect my personal information for creating a profile of my shopping habits. </label> </div> + <div class="checkbox-row"> + <div class="checkbox-toggle"> + <input type="checkbox" id="checkbox-shopping-account-terms" name="AccountTerms" value="true" required tabindex="9"> + <label for="checkbox-shopping-data-profiling"></label> + </div> + <label class="checkbox-caption" for="checkbox-shopping-account-terms"> + Accept account terms and conditions of use + </label> + </div> <div class="container-message submessage"> <span class="msg"></span> </div> @@ -468,6 +484,9 @@ * Your personal and payment<br> information will always remain private </span> + <div class="privacy-msg"> + Consult our <u>PRIVACY POLICY</u> for further information. + </div> </div> </div> </div> @@ -490,6 +509,9 @@ * Your personal and payment<br> information will always remain private </span> + <div class="privacy-msg"> + Consult our <u>PRIVACY POLICY</u> for further information. + </div> </div> </div> </div> @@ -735,6 +757,9 @@ * Your personal and payment<br> information will always remain private </span> + <div class="privacy-msg"> + Consult our <u>PRIVACY POLICY</u> for further information. + </div> </div> </div> </div> @@ -825,6 +850,9 @@ * Your personal and payment<br> information will always remain private </span> + <div class="privacy-msg"> + Consult our <u>PRIVACY POLICY</u> for further information. + </div> </div> </div> </div> @@ -921,6 +949,34 @@ <div class="loader"></div> </div> + <div class="modal" id="consent_modal"> + YOUR MY ACCOUNT + <br><br> + We have improved the My Account Terms and Conditions of Use. + <br><br> + <div class="checkbox-container account_terms_consent"> + <div class="checkbox-row"> + <div class="checkbox-toggle"> + <input id="modal_account_terms_consent" type="checkbox" name="AccountTermsConsent" value="true"> + <label for="account_terms_consent"></label> + </div> + <label class="checkbox-caption" for="modal_account_terms_consent"> + Accept <a href='#/page/account_terms'>My Account Terms and Conditions of Use</a> * + </label> + </div> + </div> + <div id="consent_error">Please note that if you do not consent to terms, you cannot use the app.</div> + <br><br> + For more information, please consult our + <a href="#/page/privacy">Privacy Policy</a> or visit + <a href="#" id="care-link">Customer Care</a>. + <br><br> + To continue to My Account we invite you to click accept. Otherwise you can continue to navigate as an unregistered user. + <br><br> + <button id="consent_proceed">PROCEED</button> + <button id="consent_logout">LOG OUT</button> + </div> + <div id="selector"> <div class="options"> <script type="text/html" class="template"> @@ -1147,6 +1203,7 @@ <script src="js/lib/auth/SignupView.js"></script> <script src="js/lib/account/AccountView.js"></script> +<script src="js/lib/account/ConsentModal.js"></script> <script src="js/lib/account/ProfileView.js"></script> <script src="js/lib/account/PaymentView.js"></script> <script src="js/lib/account/ShippingView.js"></script> diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js index ea992fc7..a8caa2e5 100755 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -57,7 +57,8 @@ var app = (function(){ app.orders = new OrdersView () app.terms = new PageView ({ page: "terms" }) - app.privacy = new PageView ({ page: "privacy" }) + app.privacy = new PageView ({ page: "privacy" }) + app.account_terms = new PageView ({ page: "account_terms" }) app.returns = new PageView ({ page: "returns" }) app.care = new PageView ({ page: "care" }) diff --git a/StoneIsland/www/js/lib/_router.js b/StoneIsland/www/js/lib/_router.js index 19b6fd63..723bb944 100755 --- a/StoneIsland/www/js/lib/_router.js +++ b/StoneIsland/www/js/lib/_router.js @@ -4,39 +4,40 @@ var SiteRouter = Router.extend({ routeByHash: true, routes: { - '/': 'intro', - '/intro': 'intro', - '/hub': 'hub', - '/story': 'story', - '/archive': 'archive', + '/': 'intro', + '/intro': 'intro', + '/hub': 'hub', + '/story': 'story', + '/archive': 'archive', - '/store': 'collection', - '/store/closed': 'closed', - '/store/:code': 'product', + '/store': 'collection', + '/store/closed': 'closed', + '/store/:code': 'product', - '/account/login': 'login', - '/account/logout': 'logout', - '/account/signup': 'signup', - '/account/profile': 'profile', - '/account/payment': 'payment', - '/account/shipping': 'shipping', - '/account/orders': 'orders', - '/account/settings': 'settings', + '/account/login': 'login', + '/account/logout': 'logout', + '/account/signup': 'signup', + '/account/profile': 'profile', + '/account/payment': 'payment', + '/account/shipping': 'shipping', + '/account/orders': 'orders', + '/account/settings': 'settings', - '/page/terms': 'terms', - '/page/privacy': 'privacy', - '/page/returns': 'returns', - '/page/care': 'care', + '/page/terms': 'terms', + '/page/account_terms': 'account_terms', + '/page/privacy': 'privacy', + '/page/returns': 'returns', + '/page/care': 'care', - '/search': 'search', + '/search': 'search', - '/cart': 'cart.summary', - '/cart/summary': 'cart.summary', - '/cart/payment': 'cart.payment', - '/cart/shipping': 'cart.shipping', - '/cart/confirm': 'cart.confirm', - '/cart/thanks': 'cart.thanks', - '/cart/error': 'cart.error', + '/cart': 'cart.summary', + '/cart/summary': 'cart.summary', + '/cart/payment': 'cart.payment', + '/cart/shipping': 'cart.shipping', + '/cart/confirm': 'cart.confirm', + '/cart/thanks': 'cart.thanks', + '/cart/error': 'cart.error', }, initialize: function(){ @@ -90,7 +91,7 @@ var SiteRouter = Router.extend({ } // window.FirebasePlugin && window.FirebasePlugin.setScreenName(name) -console.log("view >>", app.view) + console.log("view >>", app.view) app.header.set_back( !! app.view.back ) app.view.show() }.bind(this) diff --git a/StoneIsland/www/js/lib/account/AccountView.js b/StoneIsland/www/js/lib/account/AccountView.js index 4a6ff9e0..4605416c 100755 --- a/StoneIsland/www/js/lib/account/AccountView.js +++ b/StoneIsland/www/js/lib/account/AccountView.js @@ -1,6 +1,7 @@ var AccountView = View.extend({ initialize: function(){ + this.consent = new ConsentModal({ parent: this }) }, connect: function(initialLoginPath){ diff --git a/StoneIsland/www/js/lib/account/ConsentModal.js b/StoneIsland/www/js/lib/account/ConsentModal.js new file mode 100644 index 00000000..fcf2804c --- /dev/null +++ b/StoneIsland/www/js/lib/account/ConsentModal.js @@ -0,0 +1,74 @@ +var ConsentModal = View.extend({ + + el: "#consent_modal", + + events: { + "change [name=AccountTermsConsent]": "changeConsent", + "click #consent_proceed": "proceed", + "click #consent_logout": "logout", + "click a": "navigate", + }, + + initialize: function(){ + this.$form = this.$(".form") + this.$msg = this.$(".msg") + this.$checkbox = this.$("[name=AccountTermsConsent]") + }, + + check: function(){ + var status = localStorage.getItem('account_terms.consent') + if (status !== 'true') { + this.show() + } else { + this.hide() + } + }, + + show: function(){ + this.$el.show() + setTimeout(function(){ + this.$el.addClass('visible') + }.bind(this), 20) + app.curtain.show() + }, + + hide: function(){ + app.curtain.hide() + this.$el.removeClass('visible') + setTimeout(function(){ + this.$el.hide() + }.bind(this), 300) + }, + + navigate: function(e){ + var href = $(e.currentTarget).attr('href').replace('#', '') + console.log(href) + this.hide() + app.router.go(href) + }, + + changeConsent: function(){ + var state = this.$checkbox.prop("checked") + if (state) { + this.$el.addClass('consent-yes').removeClass('consent-no') + } else { + this.$el.addClass('consent-no').removeClass('consent-yes') + } + }, + + proceed: function(){ + var state = this.$checkbox.prop("checked") + if (!state) { + return + } + this.hide() + localStorage.setItem('account_terms.consent', 'true') + }, + + logout: function(){ + this.hide() + localStorage.setItem('account_terms.consent', 'false') + app.router.go("account/logout") + }, + +})
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/account/OrdersView.js b/StoneIsland/www/js/lib/account/OrdersView.js index b3ff3e7a..ee0eb277 100755 --- a/StoneIsland/www/js/lib/account/OrdersView.js +++ b/StoneIsland/www/js/lib/account/OrdersView.js @@ -36,6 +36,7 @@ var OrdersView = ScrollableView.extend({ app.closed.setMessage("PLEASE GO ONLINE TO VIEW<br>YOUR ORDERS.", "") return } + app.account.consent.check() app.header.set_back(false) app.footer.hide() document.body.className = "orders" diff --git a/StoneIsland/www/js/lib/account/PaymentView.js b/StoneIsland/www/js/lib/account/PaymentView.js index 69d4f943..0fcf7e8f 100755 --- a/StoneIsland/www/js/lib/account/PaymentView.js +++ b/StoneIsland/www/js/lib/account/PaymentView.js @@ -39,6 +39,7 @@ var PaymentView = FormView.extend({ app.closed.setMessage("PLEASE GO ONLINE TO CHANGE<br>YOUR PAYMENT INFO.", "") return } + app.account.consent.check() app.footer.show("SAVE") document.body.className = "payment" this.deferScrollToTop() diff --git a/StoneIsland/www/js/lib/account/ProfileView.js b/StoneIsland/www/js/lib/account/ProfileView.js index ee39374b..a4e06791 100755 --- a/StoneIsland/www/js/lib/account/ProfileView.js +++ b/StoneIsland/www/js/lib/account/ProfileView.js @@ -21,6 +21,8 @@ var ProfileView = FormView.extend({ app.closed.setMessage("PLEASE GO ONLINE TO<br>EDIT YOUR PROFILE.", "") return } + if (! auth.user) return + app.account.consent.check() app.footer.show("SAVE") document.body.className = "profile" if (auth.user.BirthDay.match(/T/)) { @@ -47,6 +49,7 @@ var ProfileView = FormView.extend({ "Name": "Please enter your first name.", "Surname": "Please enter your last name.", "Email": "Please enter a valid email address.", + "BirthDay": "Please your birthday.", }, validate_fields: function(data, errors){ @@ -54,7 +57,14 @@ var ProfileView = FormView.extend({ if (! data.CurrentPassword && (data.NewPassword || data.Email !== auth.user.Email)) { errors.push([ "CurrentPassword", "Please enter your current password." ]) } if (data.CurrentPassword && ! data.NewPassword) { errors.push([ "NewPassword", "Please enter your new password." ]) } if (data.NewPassword && data.NewPassword.length < 7) { errors.push([ "CurrentPassword", "New password must be 7 characters or more." ]) } - if (! data.Birthday) data.BirthDay = '1900-01-01' + var now = new Date () + var year = now.getFullYear() + if (! data.BirthDay) data.BirthDay = year + '-01-01' + if (data.BirthDay.split('-')[0] || '2018') + var birthday = new Date (data.BirthDay) + if (isNaN(birthday) || (now - birthday) / (365*24*60*60*1000) < 18) { + errors.push(['BirthDay', 'You must be 18 or older to use the Stone Island app.']) + } // if (data.Gender === "NONE") { errors.push([ "Gender", "Please supply your gender." ]) } }, diff --git a/StoneIsland/www/js/lib/account/SettingsView.js b/StoneIsland/www/js/lib/account/SettingsView.js index 90ace549..5586e0fd 100755 --- a/StoneIsland/www/js/lib/account/SettingsView.js +++ b/StoneIsland/www/js/lib/account/SettingsView.js @@ -22,6 +22,7 @@ var SettingsView = FormView.extend({ app.closed.setMessage("PLEASE GO ONLINE TO CHANGE<br>YOUR NOTIFICATION SETTINGS.", "") return } + app.account.consent.check() document.body.className = "settings" this.deferScrollToTop() diff --git a/StoneIsland/www/js/lib/account/ShippingView.js b/StoneIsland/www/js/lib/account/ShippingView.js index abc12818..c1bac782 100755 --- a/StoneIsland/www/js/lib/account/ShippingView.js +++ b/StoneIsland/www/js/lib/account/ShippingView.js @@ -38,6 +38,7 @@ var ShippingView = FormView.extend({ return } // this.preload( this.data || this.test_data ) + app.account.consent.check() app.footer.show("SAVE") document.body.className = "shipping" this.deferScrollToTop() diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js index ed702a03..3612abe7 100755 --- a/StoneIsland/www/js/lib/auth/SignupView.js +++ b/StoneIsland/www/js/lib/auth/SignupView.js @@ -49,10 +49,11 @@ var SignupView = FormView.extend({ "Surname": "Please enter your last name.", "Email": "Please enter a valid email address.", "ConfirmEmail": "Please enter a valid email address.", - // "BirthDay": "Please enter your birthday.", + "BirthDay": "Please enter your birthday. You must be 18 or older to use the Stone Island app.", "Password": "Please enter your password.", "Password2": "Please enter your password again.", - "DataProfiling": "You must agree to data profiling.", + "DataProfiling": "You must consent to data profiling to use the Stone Island app.", + "AccountTerms": "You must agree to the Your My Account terms.", }, validate_fields: function(data, errors){ @@ -62,8 +63,18 @@ var SignupView = FormView.extend({ if (! data.Email.match("@")) { errors.push([ "Email", "Email address is not valid." ]) } if (data.Email.toLowerCase() !== data.ConfirmEmail.toLowerCase()) { errors.push([ "ConfirmEmail", "Email addresses don't match." ]) } // if (data.Gender === "NONE") { errors.push([ "Gender", "Please supply your gender." ]) } - if (data.DataProfiling !== "true") { errors.push([ "DataProfiling", "You must consent to use this service." ]) } - if (! data.BirthDay) data.BirthDay = '1900-01-01' + if (data.DataProfiling !== "true") { errors.push([ "DataProfiling", "You must consent to data profiling to use the Stone Island app." ]) } + if (data.AccountTerms !== "true") { errors.push([ "AccountTerms", "You must agree to the Your My Account terms to use the Stone Island app." ]) } + + var now = new Date () + var year = now.getFullYear() + if (! data.Birthday) data.BirthDay = year + '-01-01' + if (data.BirthDay.split('-')[0] || '2018') + var birthday = new Date (data.BirthDay) + if (isNaN(birthday) || (now - birthday) / (365*24*60*60*1000) < 18) { + errors.push(['BirthDay', 'You must be 18 or older to use the Stone Island app.']) + } + data.YooxLetter = this.$("[name=YooxLetter]").prop("checked") }, diff --git a/StoneIsland/www/js/lib/blogs/BlogView.js b/StoneIsland/www/js/lib/blogs/BlogView.js index e9086982..e58c975c 100755 --- a/StoneIsland/www/js/lib/blogs/BlogView.js +++ b/StoneIsland/www/js/lib/blogs/BlogView.js @@ -88,7 +88,7 @@ var BlogView = View.extend({ }.bind(this)) data.page.forEach(function(page){ - app[page.tag].populate(page) + app[page.tag] && app[page.tag].populate(page) }) console.log(app.store.StoreStatus) diff --git a/StoneIsland/www/js/lib/blogs/PageView.js b/StoneIsland/www/js/lib/blogs/PageView.js index f5f8ab2e..ae18091a 100755 --- a/StoneIsland/www/js/lib/blogs/PageView.js +++ b/StoneIsland/www/js/lib/blogs/PageView.js @@ -22,10 +22,11 @@ var PageView = ScrollableView.extend({ this.$content.html(data.body.replace(/\n/g, "<br>")) this.$content.find("a").each(function(){ var href = $(this).attr("href") // .substr(1, "fuck".length-2) - if (href.indexOf("“")) { + if (href.indexOf("“") !== -1) { href = href.substr(1, href.length-2) $(this).attr("href", href) } + console.log(href) $(this).attr("target", "_system") }) }, @@ -35,7 +36,11 @@ var PageView = ScrollableView.extend({ e.preventDefault() var href = $(e.currentTarget).attr("href") console.log(href) - window.open(href, '_system') + if (href.indexOf('http') !== 0) { + app.router.go(href.replace('!/', '')) + } else { + window.open(href, '_system') + } }, })
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/etc/backup_db.js b/StoneIsland/www/js/lib/etc/backup_db.js index dce8835a..d4d4557b 100755 --- a/StoneIsland/www/js/lib/etc/backup_db.js +++ b/StoneIsland/www/js/lib/etc/backup_db.js @@ -375,6 +375,20 @@ var BACKUP_DB = { "__index": "4", "dateCreated": "Tue, 17 Nov 2015 21:03:57 GMT", "tag": "care" + }, + { + "id": "account-terms", + "title": "Account Terms", + "image": { + "uri": "", + "caption": "", + "width": "", + "height": "" + }, + "body": "<h2>1. Services</h2>\r\n\r\nStone Island - SPORTSWEAR COMPANY S.p.A. (\"Stone Island\") offers you the possibility of using the following services \"My Account\" (the \"Services\")*:\r\n\r\n<ul>\r\n<li><b>My Orders:</b> Track the shipping of your orders, change or return items that are not for you and see the history of your orders.</li>\r\n<li><b>My Profile:</b> Manage your registration data.</li>\r\n<li><b>Address Book:</b> Save or change your addresses to have them always at hand and complete your purchases faster.</li>\r\n<li><b>My Card:</b> Save or change your card information and complete your orders faster and always safely.</li>\r\n</ul>\r\n\r\n<h2>2. Registration</h2>\r\n<h3>2.1</h3>\r\n\r\nIf you want to use the Services you must be an adult user, register on stoneisland.com creating your My Account account, and accept these terms and conditions for using the Services (\"Terms\"). Registration is free of charge. To create your My Account account, you will need to fill out the registration form by entering the required information, and guarantee to Stone Island that the information provided during the registration process is complete, accurate and truthful. We will send you an email to confirm your registration. We remind you that the credentials to access your My Account account must be used exclusively by you, and they cannot be transferred to third parties. Subject to legal limitations, Stone Island cannot in any way be held responsible in the event of access to your My Account account by unauthorized third parties. You are requested to keep your credentials confidential and to immediately inform Stone Island if you suspect that there has been an unauthorized access to your My Account account or if your password has been violated.\r\n\r\n\r\n<h3>2.2</h3>\r\n\r\nFor the provision of some Services, it may be necessary to use electronic communication channels (such as e-mail, SMS or telephone). If you want to use these specific services, you will be asked to give your consent to be contacted by Stone Island for the related communications by SMS, email or other communication channel.\r\n\r\n\r\n<h3>2.3</h3>\r\n\r\nWe also request you to consult, if you have not already done so, our <a href=\"#!/page/terms\">General Terms of Use</a> which form an integral part of these Terms. For any other legal information, consult the <a href=\"http://www.stoneisland.com/localize.asp?tskay=4036416C&page=legal/saleterms&\">General Terms of Sale</a>, <a href=\"http://www.stoneisland.com/localize.asp?tskay=4036416C&page=legal/returnpolicy\">Return Policy</a> and <a href=\"http://www.stoneisland.com/localize.asp?tskay=4036416C&page=legal/privacypolicy&\">Privacy Policy</a> of stoneisland.com.\r\n\r\n\r\n<h2>3. Duration and withdrawal</h2>\r\n\r\n<h3>3.1</h3>\r\n\r\nThe registration with the Services shall be effective from the moment you receive the confirmation email and for the entire period in which you use the Services.\r\n\r\n\r\n<h3>3.2</h3>\r\n\r\nAt any time and for any reason, you can cancel your subscription to the Services by sending a request to our Customer Service and selecting \"privacy\". In the event you exercised the right of withdrawal, we will send you an email to confirm the cancellation of the Services.\r\n\r\n\r\n<h3>3.3</h3>\r\n\r\nStone Island reserves the right to cancel your registration with the Services in the event of a violation of the provisions contained in these Terms, or in the event that the data provided was not complete, truthful or accurate, without prejudice to the right to compensation for the damage suffered. Stone Island also reserves the right to temporarily suspend, without any prior communication, the provision of the Services, for the time necessary and / or appropriate, to perform all the technical interventions required to improve the quality of the Services. Stone Island may, at any time, interrupt the provision of the Services for security reasons.\r\n\r\n\r\n<h2>4. Warning on the Services</h2>\r\n\r\nStone Island shall do its best to provide an accurate services. Without prejudice to the legal limits, the Services are provided free of charge \"AS IS\". Stone Island does not provide any guarantee, by way of example but not limited to, relating to the quality, the good functioning, the absence of interruptions or the suitability of the Services for an end or a particular result set by the user.\r\n\r\n\r\n<h2>5. Rectification and Update</h2>\r\n\r\nThe present Terms can be amended from time to time in consideration of possible regulatory changes. The new Terms shall be effective as of their date of publication in stoneisland.com You are requested to regularly access this section in order to check the publication of the most recent and updated Privacy Policy.\r\n\r\n\r\n*The availability of the Service may vary by country or region. Verify your My Account account to see which Services are available.\r\n\r\n", + "tag": "account_terms", + "__index": 5, + "dateCreated": "Tue, 24 Jul 2018 13:59:23 GMT" } ], "store": [ diff --git a/StoneIsland/www/js/lib/nav/NavView.js b/StoneIsland/www/js/lib/nav/NavView.js index cfb39ff6..86c8ecaf 100755 --- a/StoneIsland/www/js/lib/nav/NavView.js +++ b/StoneIsland/www/js/lib/nav/NavView.js @@ -27,6 +27,7 @@ var NavView = View.extend({ "click .faq_back": "back", "click .privacy": "privacy", + "click .account_terms": "account_terms", "click .returns": "returns", "click .terms": "terms", "click .care": "care", @@ -126,6 +127,10 @@ var NavView = View.extend({ this.hide() app.router.go("page/privacy") }, + account_terms: function(){ + this.hide() + app.router.go("page/account_terms") + }, returns: function(){ this.hide() app.router.go("page/returns") |
