This file contains hidden or 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( function_exists('register_field_group') ): | |
register_field_group(array ( | |
'key' => 'group_5510816f2274e', | |
'title' => 'Portfolio Options', | |
'fields' => array ( | |
array ( | |
'key' => 'field_5510818e3a75c', | |
'label' => 'Sub Title', |
This file contains hidden or 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
<a href="#" class="btn" id="price_match">Price Match</a> | |
<div class="pop_wrap" style="display:none;"> | |
<div class="pop_hold"> | |
<div class="pop_hip"> | |
<div class="pop_inner"> | |
<div class="close-this"></div> | |
<div class="form-wrap"> |
This file contains hidden or 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 img_process( $src , $size ) { | |
$pathinfo = pathinfo($src); | |
$pathname = $pathinfo['dirname']; | |
$filename = $pathinfo['basename']; | |
if($src){ | |
if($size == 'xs'){ | |
echo $pathname.'/4_'.$filename; | |
} elseif ($size == 'sm') { | |
echo $pathname.'/3_'.$filename; | |
} elseif ($size == 'md') { |
This file contains hidden or 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> | |
jQuery(document).ready(function(){ | |
jQuery('.top-cta').fancybox(); | |
}) | |
</script> |
This file contains hidden or 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> | |
jQuery(document).ready(function(){ | |
jQuery('.bottom-cta').fancybox(); | |
}) | |
</script> |
This file contains hidden or 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
<ul class="sizelist"> | |
{% for option in product.options %} | |
{% if option == 'Size' %} | |
{% assign index = forloop.index0 %} | |
{% assign colorlist = '' %} | |
{% assign color = '' %} | |
{% for variant in product.variants %} | |
{% capture color %} | |
{{ variant.options[index] }} | |
{% endcapture %} |
This file contains hidden or 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
ul.sizelist li { | |
display: inline-block; | |
border: 1px solid #ddd; | |
padding: 1px 4px; | |
} | |
ul.sizelist { | |
display: block; | |
text-align: center; | |
} |
This file contains hidden or 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 | |
$webhookContent = ""; | |
$webhook = fopen('php://input' , 'rb'); | |
while (!feof($webhook)) { | |
$webhookContent .= fread($webhook, 4096); | |
} | |
fclose($webhook); |
This file contains hidden or 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
<!-- /snippets/product-grid-item.liquid --> | |
{% comment %} | |
This snippet is used to showcase each product during the loop, | |
'for product in collection.products' in collection.liquid. | |
A liquid variable (grid_item_width) is set just before the this | |
snippet is included to change the size of the container. | |
Once the variable is set on a page, all future instances of this | |
snippet will use that width. Overwrite the variable to adjust this. |
This file contains hidden or 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
<!-- /snippets/product-grid-item.liquid --> | |
{% comment %} | |
This snippet is used to showcase each product during the loop, | |
'for product in collection.products' in collection.liquid. | |
A liquid variable (grid_item_width) is set just before the this | |
snippet is included to change the size of the container. | |
Once the variable is set on a page, all future instances of this | |
snippet will use that width. Overwrite the variable to adjust this. |