/* Declare bcSfFilterConfig variable */ var boostPFSAppConfig = { api: { filterUrl: 'https://services.mybcapps.com/bc-sf-filter/filter', searchUrl: 'https://services.mybcapps.com/bc-sf-filter/search', suggestionUrl: 'https://services.mybcapps.com/bc-sf-filter/search/suggest', productsUrl: 'https://services.mybcapps.com/bc-sf-filter/search/products', analyticsUrl: 'https://lambda.mybcapps.com/e' }, shop: { name: 'Purple Leaf Garden', url: 'https://purpleleafshop.com', domain: 'purple-leaf-garden.myshopify.com', currency: 'USD', money_format: "\u0026#36;{{amount}}", money_format_with_currency: "\u0026#36;{{amount}} USD" }, general: { file_url: "//purpleleafshop.com/cdn/shop/files/?32792", asset_url: "//purpleleafshop.com/cdn/shop/t/133/assets/boost-pfs.js?32792", collection_id: 0, collection_handle: "", collection_product_count: 0, theme_id: 173221020013, collection_tags: null, current_tags: null, default_sort_by: "", swatch_extension: "png", no_image_url: "//purpleleafshop.com/cdn/shop/t/133/assets/boost-pfs-no-image.gif?v=45510820439899768411733472163", search_term: "", template: "index",currencies: ["USD"], current_currency:"USD",published_locales: {"en":true}, current_locale:"en", isInitFilter:false}, settings: {"general":{"productAndVariantAvailable":false,"availableAfterFiltering":false,"activeFilterScrollbar":true,"showFilterOptionCount":true,"showSingleOption":true,"showOutOfStockOption":true,"collapseOnPCByDefault":false,"collapseOnMobileByDefault":false,"keepToggleState":true,"showRefineBy":true,"capitalizeFilterOptionValues":true,"paginationType":"default","showLoading":false,"activeScrollToTop":false,"customSortingList":"relevance|best-selling|manual|title-ascending|title-descending|price-ascending|price-descending|created-ascending|created-descending","enableAjaxCart":true,"ajaxCartStyle":"slide","selectOptionInProductItem":false,"swatchImageVersion":3,"changeMobileButtonLabel":true,"sortingAvailableFirst":false,"showVariantImageBasedOn":"","addCollectionToProductUrl":true,"showVariantImageBasedOnSelectedFilter":"","urlScheme":2,"isShortenUrlParam":true,"shortenUrlParamList":["pf_v_vendor:vendor","pf_pt_product_type:product_type","pf_p_price:price","pf_t_umbrella_shape:umbrella_shape","pf_t_umbrella_feature:umbrella_feature","pf_t_umbrella_size:umbrella_size","pf_opt_color:color","pf_t_fabric_type:fabric_type","pf_ps_percent_sale:percent_sale","pf_r_review_ratings:review_ratings","pf_t_gazebo_feature:gazebo_feature","pf_t_gazebo_size:gazebo_size","pf_t_gazebo_color:gazebo_color","pf_t_pergola_feature:pergola_feature","pf_t_pergola_size:pergola_size","pf_t_pergola_color:pergola_color","pf_t_outdoor_swing_size:outdoor_swing_size","pf_t_outdoor_swing_color:outdoor_swing_color","pf_t_outdoor_swing_feature:outdoor_swing_feature","pf_t_by_size:by_size","pf_t_chair_size:chair_size","pf_t_chair_color:chair_color","pf_opt_style:style","pf_opt_size:size","pf_ps_discount:discount","pf_t_color:color1","pf_t_feature:feature","pf_t_material:material","pf_t_style:style1","pf_t_features:features","pf_t_set_size:set_size","pf_t_color_options:color_options","pf_t_seating_capacity:seating_capacity","pf_t_number_of_pieces:number_of_pieces","pf_t_shape:shape","pf_t_size:size1","pf_t_canopy_color:canopy_color","pf_t_new_arrival:new_arrival","pf_t_pole_color:pole_color","pf_t_fabric_material_type:fabric_material_type","pf_t_functionality:functionality","pf_t_fabric_color:fabric_color","pf_t_type_of_sale:type_of_sale","pf_c_limited_time_promotion:limited_time_promotion","pf_t_umbrella_style:umbrella_style","pf_t_led_style:led_style","pf_vp_variants_price:variants_price","pf_c_series:series","pf_c_collection:collection","pf_t_collection:collection1","pf_t_series:series1","pf_vp_price:price1","pf_t_umbrella_color:umbrella_color","pf_t_fabric_warranty:fabric_warranty"],"filterTreeVerticalStyle":"style-default","filterTreeHorizontalStyle":"style1","filterTreeMobileStyle":"style1","stickyFilterOnDesktop":false,"stickyFilterOnMobile":false,"enableCollectionSearch":false},"search":{"enableSuggestion":true,"showSuggestionProductVendor":false,"showSuggestionProductPrice":true,"showSuggestionProductSalePrice":true,"showSuggestionProductSku":true,"showSuggestionProductImage":true,"suggestionBlocks":[{"type":"suggestions","label":"Popular suggestions","status":"active","number":4},{"type":"collections","label":"Collections","status":"active","number":3,"excludedValues":[]},{"type":"products","label":"Products","status":"active","number":8},{"type":"pages","label":"Pages","status":"active","number":3}],"searchPanelBlocks":{"products":{"label":"Products","pageSize":25,"active":true,"displayImage":true},"collections":{"label":"Collections","pageSize":25,"active":false,"displayImage":false,"excludedValues":[]},"pages":{"label":"Pages","pageSize":25,"active":false,"displayImage":false},"searchTermSuggestions":{"label":"Recent searches","type":"manually","active":false,"backup":[],"searchTermList":[]},"mostPopularProducts":{"label":"Trending products","type":"manually","active":false,"backup":[],"productList":[]}},"searchBoxOnclick":{"recentSearch":{"label":"Popular searches","status":false,"number":"8"},"searchTermSuggestion":{"label":"Popular Searches","status":true,"data":["hardtop gazebo","pergola","weekly deals","sunbrella","cantilever umbrella","patio furniture","dining set","chair","sunroom","sale"],"backup":[],"type":"manually"},"productSuggestion":{"label":"Popular Products","status":true,"data":[4388180885546,6799455092778,6800885579818,6614060007466,6697046114346,6783705350186,6644571373610],"backup":[],"type":"manually"}},"suggestionNoResult":{"search_terms":{"label":"Recent searches","status":false,"data":[],"type":"manually","backup":[]},"products":{"label":"Trending products","status":false,"data":[],"type":"manually","backup":[]}},"productAvailable":false,"suggestionStyle":"style2","suggestionStyle1ProductItemType":"list","suggestionStyle1ProductPosition":"none","suggestionStyle1ProductPerRow":"1","suggestionStyle2ProductItemType":"list","suggestionStyle2ProductPosition":"right","suggestionStyle2ProductPerRow":"2","suggestionStyle3ProductItemType":"list","suggestionStyle3ProductPosition":"right","suggestionStyle3ProductPerRow":"3","enableFuzzy":true,"scopedSuggestions":{"applyScopedSuggestion":false}},"backSettings":{"offSensitive":false},"actionlist":{"qvBtnBackgroundColor":"rgba(255||255||255||1)","qvBtnTextColor":"rgba(61||66||70||1)","qvBtnBorderColor":"rgba(255||255||255||1)","qvBtnHoverBackgroundColor":"rgba(61||66||70||1)","qvBtnHoverTextColor":"rgba(255||255||255||1)","qvBtnHoverBorderColor":"rgba(61||66||70||1)","atcBtnBackgroundColor":"rgba(0||0||0||1)","atcBtnTextColor":"rgba(255||255||255||1)","atcBtnBorderColor":"rgba(0||0||0||1)","atcBtnHoverBackgroundColor":"rgba(61||66||70||1)","atcBtnHoverTextColor":"rgba(255||255||255||1)","atcBtnHoverBorderColor":"rgba(61||66||70||1)","alStyle":"bc-al-style4","qvEnable":true,"atcEnable":true},"labelTranslations":{"en":{"refine":" ","refineMobile":" ","refineMobileCollapse":" ","inCollectionSearch":"Search for products in this collection","sortByOptions":{"relevance":"Relevance","best-selling":"Best selling","manual":"Manual","title-ascending":"Title ascending","title-descending":"Title descending","price-ascending":"Price ascending","price-descending":"Price descending","created-ascending":"Created ascending","created-descending":"Created descending"},"recommendation":{"homepage-341308":"Just dropped","homepage-110603":"Best Sellers","collectionpage-570260":"Just dropped","collectionpage-362344":"Most Popular Products","productpage-684066":"Recently viewed","productpage-317807":"Frequently Bought Together","cartpage-476065":"Still interested in this?","cartpage-573165":"Similar Products"},"search":{},"suggestion":{"instantSearchSuggestionsLabel":"Popular suggestions","instantSearchCollectionsLabel":"Collections","instantSearchProductsLabel":"Products","instantSearchPagesLabel":"Pages","searchBoxOnclickRecentSearchLabel":"Popular searches","searchBoxOnclickSearchTermLabel":"Popular Searches","searchBoxOnclickProductsLabel":"Popular Products","noSearchResultSearchTermLabel":"Recent searches","noSearchResultProductsLabel":"Trending products"},"error":{},"action_list":{},"defaultTheme":{},"recentlyViewed":{},"mostPopular":{}},"de":{},"zh-CN":{}},"label":{"refine":" ","refineMobile":" ","refineMobileCollapse":" ","inCollectionSearch":"Search for products in this collection","sortByOptions":{"relevance":"Relevance","best-selling":"Best selling","manual":"Manual","title-ascending":"Title ascending","title-descending":"Title descending","price-ascending":"Price ascending","price-descending":"Price descending","created-ascending":"Created ascending","created-descending":"Created descending"},"recommendation":{"homepage-341308":"Just dropped","homepage-110603":"Best Sellers","collectionpage-570260":"Just dropped","collectionpage-362344":"Most Popular Products","productpage-684066":"Recently viewed","productpage-317807":"Frequently Bought Together","cartpage-476065":"Still interested in this?","cartpage-573165":"Similar Products"},"search":{},"suggestion":{"instantSearchSuggestionsLabel":"Popular suggestions","instantSearchCollectionsLabel":"Collections","instantSearchProductsLabel":"Products","instantSearchPagesLabel":"Pages","searchBoxOnclickRecentSearchLabel":"Popular searches","searchBoxOnclickSearchTermLabel":"Popular Searches","searchBoxOnclickProductsLabel":"Popular Products","noSearchResultSearchTermLabel":"Recent searches","noSearchResultProductsLabel":"Trending products"},"error":{},"action_list":{},"defaultTheme":{},"recentlyViewed":{},"mostPopular":{}},"style":{"filterTitleTextColor":"rgba(0||0||0||1)","filterTitleFontSize":"","filterTitleFontWeight":700,"filterTitleFontTransform":"none","filterTitleFontFamily":"","filterOptionTextColor":"rgba(0||0||0||1)","filterOptionFontSize":"","filterOptionFontFamily":"","filterMobileButtonTextColor":"rgba(251||251||251||1)","filterMobileButtonFontSize":"","filterMobileButtonFontWeight":700,"filterMobileButtonFontTransform":"none","filterMobileButtonFontFamily":"","filterMobileButtonBackgroundColor":"rgba(0||0||0||1)"},"searchEmptyResultMessages":{}}, swatch_settings: { }, }; function mergeObject(obj1, obj2){ var obj3 = {}; for (var attr in obj1) { obj3[attr] = obj1[attr]; } for (var attr in obj2) { obj3[attr] = obj2[attr]; } return obj3; } if (typeof boostPFSConfig == 'undefined') { boostPFSConfig = {}; } if (typeof boostPFSAppConfig != 'undefined') { boostPFSConfig = mergeObject(boostPFSConfig, boostPFSAppConfig); } if (typeof boostPFSThemeConfig != 'undefined') { boostPFSConfig = mergeObject(boostPFSConfig, boostPFSThemeConfig); }