While adding SSL certificate to the domain in site builder,the cart page will not be shown.Because the site builder did not offer a secure shopping.For that we have to add some patch files to that.
Steps for that:
1.Download the correct patch .zip file, depending on you implementation.
| Implementation | Download |
| Site Builder Reference Checkout 2.0.4 and 2.0.5 | HTTPS_SiteBuilder-Reference-Checkout-2-0-4_and_2-0-5.zip |
| Site Builder Reference My Account and My Account Premium 1.0.5 | HTTPS_SiteBuilder-Reference-My-Account.1-0-5.zip |
| Site Builder Reference My Account and My Account Premium 1.0.6 | HTTPS_SiteBuilder-Reference-My-Account-1-0-6.zip |
Table 1:Patch files
From this ,since cart is associated with checkout download the checkout patch file.
2.Extract the .zip file and open the .patch file you find there.
3.For updating patch file,each patch file contains a source file where the code has to be changed .Locate that code in your file and add changes.The code have – sign on the front of the has to removed from the code and starting with + sign has to be added in the code.
For example,
In this screenshot the changes to be added is in the cart.ssp file.Locate that file and locate the code in pink colour and remove it and add the yellow color line to the code in that located position.
This method has to be continued in every files in the patch file.
4.Save the edited code in the corresponding files.
5.Next step update two configuration files.
a. Application.js
b. Templates.js
To update two configuration files
Perform this procedure for both combiner.config and templates.config.
- In your NetSuite File Cabinet, navigate to Web Site Hosting Files > Live Hosting Files > SSP Applications > [APPLICATION] > [CUSTOM IMPLEMENTATION FOLDER] > js.
- Click Edit next to combiner.config.
- Locate the Media Item section and click Edit to preview the file.
- Place your cursor at the very end of the code in this file.
- Add a single space to the end of the code and click Save.
This change forces a background process to generate a new, concatenated Application.js file. - Confirm that a new Application.js file is generated.
The date in the Last Modified column should reflect an updated date and time when the process is complete. - Repeat this procedure for the templates.config file, located here:
Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. – My Account Premium 1.05 > Custom My Account Premium > templates.