This section applies to pre-Denali releases of SuiteCommerce Advanced.
A secure shopping domain creates an encrypted connection between your web server and your customer’s web browser. You can use an SSL certificate to secure the shopping portion of your web store under an HTTPS domain. HTTPS is currently the industry standard for ecommerce services and consumers prefer seeing the secure icon in their browser address bar.
Including secure technology in your shopping area assures your customers that their activities on your site are safe. In addition, search engines tend to rank secure sites higher than non-secure sites.
There are two new SuiteCommerce API methods that help make HTTPS support possible. These methods distinguish between the checkout, shopping, and single domains.
!~request.getURL().indexOf('https') is the legacy domain check and it will no longer work to distinguish between the domains.
session.isLoggedIn() method is the legacy session check for a user’s logged in status. This method has been replaced with the new
session.isLoggedIn2() method in later versions of SuiteCommerce Advanced. The new session check method is required in this migration to help maintain the identity of the user.
To leverage a secure shopping domain in a pre-Denali version of SuiteCommerce Advanced, you need to: