Skip to content

Instantly share code, notes, and snippets.

@vastolf
vastolf / customer-completed-order.php
Last active Mar 26, 2020
Vimeo for Woocommerce - Example customer-completed-order Email template
View customer-completed-order.php
<?php
/**
* Customer completed order email
*
* This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-completed-order.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
@vastolf
vastolf / page.scss
Created Oct 21, 2017
Testing embedded Gists
View page.scss
// Page
//
// Markup: page.twig
//
// Style guide: page
$transparent__light = rgba(255,255,255,.9);
.page,
%page {
View sonesta landing page code
<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/6554094/7880952/css/fonts.css" />
<link href="https://fonts.googleapis.com/css?family=Arvo" rel="stylesheet">
<script src="https://www.sonesta.com/sites/all/modules/contrib/jquery_update/replace/jquery/1.10/jquery.min.js"></script>
<script>
document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')
</script>
<script type="text/javascript" src="https://modulist.github.io/sonesta-spring-stays/js/spring-stays.js"></script>
<script type="text/javascript">
$(".listitems.autosort").each(function(){
$(this).html($(this).children('li').sort(function(a, b){