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
<div class="col-xs-12"> | |
<!-- | |
use the data attribute like in this example | |
http://getbootstrap.com/javascript/#markup | |
--> | |
<ul class="nav nav-tabs nav-justified" id="text-image"> | |
<li class="active"> | |
<a class="custom-text" href="#custom-text">Text</a> | |
</li> | |
<li class=""> |
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
<!--This goes inside modal 2...one for each product--> | |
<div class="row"> | |
<div id="classic_tee" class="" data-style="CT"> | |
<div class="col-xs-6"> | |
<div class="product-wrap front-wrap"> | |
<a href="#" class="product-thumb image-front" data-sku="CT" data-side="front"> | |
<img src="/images/uploads/campaigns/builder/_proper_thumb/CT-MonoChrome_front.png"> | |
</a> | |
</div> | |
<div class="product-wrap back-wrap hidden"> |
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
$(function () { | |
var styleArray = [ 'CT', 'PFT', 'LT', 'VT', 'MCT', 'GRT', 'LS', 'H' ]; | |
styleArray.sort(function(a,b) { | |
return $.tablesorter.sortNatural(a, b); | |
}); | |
var sizeArray = [ 'S', 'M', 'L', 'XL', '2XL', '3XL', '4XL']; | |
sizeArray.sort(function(a,b) { | |
return $.tablesorter.sortNatural(a, b); | |
}); | |
$("#list_by_scs").tablesorter({ |
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 lang="en"> | |
<head> | |
<title>{site_name} | {page_title}</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
<link rel="stylesheet" href="/themes/third_party/teestyle/css/vendor/bootstrap/bootstrap.css"> |
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
$(".color_swatch") | |
.mouseenter(function() { | |
var imgBgColor = $(this).find("input.color_checkbox").val(); | |
console.log(imgBgColor); | |
$(".single_product .front_wrap").addClass("swatch_'+imgBgColor+'"); | |
}) | |
.mouseleave(function() { | |
var imgBgColor = $(this).find("input.color_checkbox").val(); | |
console.log(imgBgColor); |
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
{ | |
CT: [ | |
CT-AquBlu-S-0.42 | |
CT-AquBlu-M-0.48 | |
CT-AquBlu-L-0.56 | |
CT-AquBlu-XL-0.60 | |
CT-AquBlu-2XL-0.69 | |
CT-AquBlu-3XL-0.74 | |
CT-AquBlu-4XL-0.81 |
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
$(".ct_est.est_sales").change(function(){ | |
var findBaseCost = $(".profit_label.base_label").find(".base_cost_value"); | |
var baseCost = $(".profit_label.base_label").find(".base_cost_value").val(); | |
var findSellingPrice = $(".find_selling_price").find(".ct_sp.selling_price"); | |
var sellingPriceVal = $(".find_selling_price").find(".ct_sp.selling_price").val(); | |
var estSalesVal = $(".find_est_sales").find(".ct_est.est_sales").val(); | |
var shirtNumTxt = $(".profit_label.base_label").find("span.num_shirts"); | |
var numColor = $(".profit_label.base_label").find("span.num_colors"); | |
var baseTxt = $(".profit_label.base_label").find("span.bs_txt"); | |
var perProfitTxt = $(".profit_label.profit_sale").find("span.profit_per_sale"); |
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 !facebook_pixel_id} | |
{if:else} | |
<script> | |
var fb_p_id = {facebook_pixel_id}; | |
</script> | |
<!-- Facebook Pixel Code --> | |
<script> | |
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; | |
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; |
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 | |
if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
$plugin_info = array( | |
'pi_name' => 'PPInContextConfig', | |
'pi_version' => '1.0.0', | |
'pi_author' => 'Nate Lewis', | |
'pi_author_url' => 'https://www.teestyle.com/', | |
'pi_description' => 'PayPal In-Context Config', |
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 if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/******************************************** | |
PayPal Express Checkout Library for Expression Engine | |
based on paypalfunctions.php by Paypal Integration Wizard | |
--------------------------------------------- | |
// load the library | |
ee()->load->library("ee_paypal_ec"); | |
// call SetExpressCheckout |