This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
<!--NAVIGATION CODE | |
LOGO: 209 | |
TOP BAR: 275 | |
EMAIL CONTENT: 259 | |
SIGNATURE: 296 | |
FOOTER: 409 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.toast-title { | |
font-weight: bold; | |
} | |
.toast-message { | |
-ms-word-wrap: break-word; | |
word-wrap: break-word; | |
padding-top: 28px; | |
} | |
.toast-message a, | |
.toast-message label { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script>!function(w,d,i,s){function l(){if(!d.getElementById(i)){var f=d.getElementsByTagName(s)[0],e=d.createElement(s);e.type="text/javascript",e.async=!0,e.src="https://canny.io/sdk.js",f.parentNode.insertBefore(e,f)}}if("function"!=typeof w.Canny){var c=function(){c.q.push(arguments)};c.q=[],w.Canny=c,"complete"===d.readyState?l():w.attachEvent?w.attachEvent("onload",l):w.addEventListener("load",l,!1)}}(window,document,"canny-jssdk","script");</script> | |
<script type="text/javascript"> | |
Canny('identify', { | |
appID: '5ada60c895e6667ef5f73ac6', | |
user: { | |
// avatarURL: viewer.avatarURL, // optional | |
//created: new Date(viewer.created).toISOString(), // optional | |
email: '<?php echo $_SESSION['email']; ?>', | |
id: <?php echo $accountID; ?>, | |
companies: viewer.companies.map((company) => ({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// using SendGrid's PHP Library | |
// https://github.com/sendgrid/sendgrid-php | |
//require 'vendor/autoload.php'; // If you're using Composer (recommended) | |
// Comment out the above line if not using Composer | |
require("includes/sendgrid/sendgrid-php.php"); | |
// If not using Composer, uncomment the above line | |
$email = new \SendGrid\Mail\Mail(); | |
$email->setFrom("[email protected]", "Example User"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if context == 'cart' or context == 'checkout' %} | |
<script type="text/javascript"> | |
/* include cart total amount */ | |
_cartstack.push(['setCartTotal', '{{ total_order }}']); | |
/* cart items loop, to be included in the email template */ | |
{% for item in items %} |