The scripts below require nothing but itself.
- No module installation
- No FTP access
- No third party integration
- No plans
- Only CMS > Blocks/Widgets
| /** | |
| * Address Auto Fill based on Postcode | |
| * | |
| * Author: | |
| * Rafael Patro <[email protected]> | |
| * | |
| * Intallation: | |
| * Add a CMS Static Block applying the entire script below. | |
| * Add a Widget to pages with address forms. | |
| * |
| var soap = require('soap'); | |
| var fs = require('fs'); | |
| var app = require('express')(); | |
| var privateKey = fs.readFileSync('/etc/apache2/ssl.crt/mydomain.key'); | |
| var certificate = fs.readFileSync('/etc/apache2/ssl.crt/87g4d56efa87af4.crt'); | |
| var chainFile = fs.readFileSync('/etc/apache2/ssl.crt/gd_bundle-g2-g1.crt'); | |
| var credentials = {key: privateKey, cert: certificate, chain: chainFile}; | |
| var https = require('https').Server(credentials, app); |
| /** | |
| * Credit Card Installments to Product Page | |
| * | |
| * Author: | |
| * Rafael Patro <[email protected]> | |
| * | |
| * Intallation: | |
| * Configure the variables ccording to your credit card plan. | |
| * maxInstallments (integer) Maximum number of installments the cc plan accept | |
| * minPlotValue (number) Minimum installment value |