Hey everyone, in NetSuite, we have a feature calle...
# suitecommerce
j
Hey everyone, in NetSuite, we have a feature called "skip checkout login." Enabling it should bypass the login page before proceeding to checkout. However, on the SCA website, it is not skipping the login page, and this issue is also appearing in production. What could be causing this problem?
s
Does this happen in a private browsing window, where there are no cookies saved in your browser?
Or is it happening with customers who already have an established session ID? (Ie they have previously logged in.)
j
This issue is occurring across all browsers (Google Chrome, Firefox, Microsoft Edge), so the browser itself does not matter. Additionally, it does not matter if the user is a new user or has logged in previously. The issue is happening randomly, meaning sometimes the checkout process is skipped, and other times it is not, in both the sandbox and production SuiteCommerce Advanced (SCA) websites.
s
Seems to be working fine on my site. This is the full check we do:
Copy code
if (
    (checkoutApp.skipLogin &&
        siteSettings.registration.registrationoptional === 'T' &&
        profile_model.get('isRecognized') === 'F') ||
    profile_model.get('isLoggedIn') === 'T'
)
Something must be triggering it for it to not work on your site
j
okay thank you so much, will check.👍