{{ -----BEGIN SETTINGS AND CONTROLS----- }}
{% assign: Number_of_New_Products = '15' %}
{% assign: Products_Per_Row = 'three' %}
{{ --BEGIN CATEGORY/ARTIST BANNER SETTINGS--}}
{% assign: Category_Banner_Width_Type = 'Contained' %} {{ Options: 'Full' or 'Contained' }}
{% assign: Category_Title_Position_to_Banner = 'Above' %} {{ Options: 'Within' , 'Below' , 'Above' }}
{{ Note: 'Within' only works if 'Full' is chosen for category banner width type. 'Above' only works if 'Contained' is chosen for category banner width type. }}
{% assign: Show_Category_Page_Banners = 'No' %}
{% assign: Show_Artist-Brand_Page_Banners = 'Yes' %}
{% assign: Hide_Category_and_Artist_Title = 'No' %}
{{ --END CATEGORY/ARTIST BANNER SETTINGS--}}
{{ -----END SETTINGS AND CONTROLS----- }}
{% capture category_page_title %}{% endcapture %}{% capture category_banners %}
{% if Show_Category_Page_Banners contains 'es' %}
{% if Hide_Category_and_Artist_Title == 'Yes' %}.category-name, .page-name {display:none;}{% endif %}
{% endif %}
{% endcapture %}
{% if Category_Title_Position_to_Banner contains 'bove' or Category_Title_Position_to_Banner contains 'ithin' %}{{ category_page_title }}{{ category_banners }}{% endif %}
{% if Category_Title_Position_to_Banner contains 'elow' %}{{ category_banners }}{{ category_page_title }}{% endif %}
{% assign: Products_Margin = 3 %} {{ Options: 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 }}
{% assign: ppr = Products_Per_Row %}
{% assign: pmg = Products_Margin %}
{% capture p_mrgn %}{% if pmg == 0 %}mg-O{% endif %}{% if pmg == 0.5 %}mg-OpV{% endif %}{% if pmg == 1 %}mg-I{% endif %}{% if pmg == 1.5 %}mg-IpV{% endif %}{% if pmg == 2 %}mg-II{% endif %}{% if pmg == 2.5 %}mg-IIpV{% endif %}{% if pmg == 3 %}mg-III{% endif %}{% endcapture %}
{% capture p_pr %}{% if ppr == 'two' %}ii_ppr{% endif %}{% if ppr == 'three' %}iii_ppr{% endif %}{% if ppr == 'four' %}iv_ppr{% endif %}{% if ppr == 'five' %}v_ppr{% endif %}{% endcapture %}
(function($) {
$(document).ready(function(){
$('h1.page-title').appendTo('#page-title-holder');
{% if Category_Banner_Width_Type contains 'ull' %}
$('.banner-image').appendTo('#wide-slider-contents');
{% if Category_Title_Position_to_Banner contains 'ithin' %}
if($('body').has('.banner-image').length != 0) {
$('#page-title-holder').appendTo('#wide-slider-contents');
}
{% endif %}
{% endif %}
});
})(jQuery);