
$("#modal-container").html("<div class=\'modal modal-fullscreen\' role=\'dialog\' tabindex=\'-1\'>\n<div class=\'modal-dialog modal-dialog-centered modal-lg\' role=\'document\'>\n<div class=\'modal-content\'>\n<div class=\'modal-header border-white-gray\'>\n<h5 class=\'modal-title\'>Select a product for shopping cart<\/h5>\n<button aria-label=\'Close\' class=\'close\' data-dismiss=\'modal\' type=\'button\'>\n<span aria-hidden=\'true\'>×<\/span>\n<\/button>\n<\/div>\n<div class=\'modal-body\' data-track-modal-analytics>\n<div class=\'row justify-content-center align-items-stretch list-group-selector\'>\n<div class=\'col-12 col-md-6 col-lg-5\'>\n<div class=\'badges badges-left pt-1\'>\n\n<\/div>\n<a data-product-path-in-modal=\"true\" href=\"/dynamite-baits-pellets-robin-red-pre-drilled-15mm-900g\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'Dynamite Baits Pellets Pre-Drilled 900 g 15 mm Robin Red Pellets\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/7681/768168/thumb_db17e956.jpg\'>\n<\/div>\n<\/a><\/div>\n<div class=\'col-12 col-md-6 col-lg-7\'>\n<div class=\'light-gray\'>\nPellets\n<\/div>\n<div class=\'product-tile-header font-weight-bold mb-3\' data-product-name title=\'Dynamite Baits Pellets Pre-Drilled 900 g 15 mm Robin Red Pellets\'>\nDynamite Baits Pellets Pre-Drilled 900 g 15 mm Robin Red Pellets\n<\/div>\n<div data-group-products=\'[{&quot;param_values&quot;:&quot;900_g|15_mm|Robin_Red|&quot;,&quot;path&quot;:&quot;/dynamite-baits-pellets-robin-red-pre-drilled-15mm-900g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768168/thumb_db17e956.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768168/icon_db17e956.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768168/icon_base_db17e956.jpg&quot;},&quot;technical_params&quot;:{&quot;96&quot;:&quot;900_g&quot;,&quot;69&quot;:&quot;15_mm&quot;,&quot;700&quot;:&quot;Robin_Red&quot;},&quot;id_hash&quot;:&quot;bd053b1521&quot;,&quot;name&quot;:&quot;Dynamite Baits Pellets Pre-Drilled 900 g 15 mm Robin Red Pellets&quot;,&quot;code&quot;:331713,&quot;brand&quot;:&quot;Dynamite Baits&quot;,&quot;price_with_vat&quot;:&quot;6.79&quot;,&quot;base_price_with_vat&quot;:&quot;7.89&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;5.48&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;6.36&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Pellets&quot;,&quot;discount_percentage&quot;:13,&quot;product_description_short&quot;:&quot;The legendary Robin Red ® is also available as a hugely popular range of high protein spicy flavoured ...&quot;},{&quot;param_values&quot;:&quot;900_g|8_mm|Robin_Red|&quot;,&quot;path&quot;:&quot;/dynamite-baits-pellets-robin-red-pre-drilled-8mm-900g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768172/thumb_dd10a598.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768172/icon_dd10a598.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768172/icon_base_dd10a598.jpg&quot;},&quot;technical_params&quot;:{&quot;96&quot;:&quot;900_g&quot;,&quot;69&quot;:&quot;8_mm&quot;,&quot;700&quot;:&quot;Robin_Red&quot;},&quot;id_hash&quot;:&quot;3dd6f8786e&quot;,&quot;name&quot;:&quot;Dynamite Baits Pellets Pre-Drilled 900 g 8 mm Robin Red Pellets&quot;,&quot;code&quot;:420367,&quot;brand&quot;:&quot;Dynamite Baits&quot;,&quot;price_with_vat&quot;:&quot;6.69&quot;,&quot;base_price_with_vat&quot;:&quot;7.79&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;5.4&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;6.28&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Pellets&quot;,&quot;discount_percentage&quot;:14,&quot;product_description_short&quot;:&quot;Dynamite has once again teamed up with Haith’s ® the original producers of Robin Red®, to create these...&quot;},{&quot;param_values&quot;:&quot;350_g|14_mm|Source|&quot;,&quot;path&quot;:&quot;/dynamite-baits-pellets-the-source-pre-drilled-14mm-350g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768109/thumb_dcdf1694.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768109/icon_dcdf1694.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768109/icon_base_dcdf1694.jpg&quot;},&quot;technical_params&quot;:{&quot;96&quot;:&quot;350_g&quot;,&quot;69&quot;:&quot;14_mm&quot;,&quot;700&quot;:&quot;Source&quot;},&quot;id_hash&quot;:&quot;578296b0ce&quot;,&quot;name&quot;:&quot;Dynamite Baits Pellets Pre-Drilled 350 g 14 mm Source Pellets&quot;,&quot;code&quot;:420383,&quot;brand&quot;:&quot;Dynamite Baits&quot;,&quot;price_with_vat&quot;:&quot;4.19&quot;,&quot;base_price_with_vat&quot;:&quot;4.89&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;3.38&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;3.94&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Pellets&quot;,&quot;discount_percentage&quot;:14,&quot;product_description_short&quot;:&quot;These high protein pellets have been developed using the same proven ingredients as the immensely popu...&quot;},{&quot;param_values&quot;:&quot;900_g|12_mm|Robin_Red|&quot;,&quot;path&quot;:&quot;/dynamite-baits-pellets-robin-red-pre-drilled-12mm-900g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768166/thumb_4ab8fdf2.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768166/icon_4ab8fdf2.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768166/icon_base_4ab8fdf2.jpg&quot;},&quot;technical_params&quot;:{&quot;96&quot;:&quot;900_g&quot;,&quot;69&quot;:&quot;12_mm&quot;,&quot;700&quot;:&quot;Robin_Red&quot;},&quot;id_hash&quot;:&quot;ddf45a243d&quot;,&quot;name&quot;:&quot;Dynamite Baits Pellets Pre-Drilled 900 g 12 mm Robin Red Pellets&quot;,&quot;code&quot;:331712,&quot;brand&quot;:&quot;Dynamite Baits&quot;,&quot;price_with_vat&quot;:&quot;6.79&quot;,&quot;base_price_with_vat&quot;:&quot;7.89&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;5.48&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;6.36&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Pellets&quot;,&quot;discount_percentage&quot;:13,&quot;product_description_short&quot;:&quot;The legendary Robin Red ® is also available as a hugely popular range of high protein spicy flavoured ...&quot;},{&quot;param_values&quot;:&quot;350_g|21_mm|Source|&quot;,&quot;path&quot;:&quot;/dynamite-baits-pellets-the-source-pre-drilled-21mm-350g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768165/thumb_e0820c7b.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768165/icon_e0820c7b.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768165/icon_base_e0820c7b.jpg&quot;},&quot;technical_params&quot;:{&quot;96&quot;:&quot;350_g&quot;,&quot;69&quot;:&quot;21_mm&quot;,&quot;700&quot;:&quot;Source&quot;},&quot;id_hash&quot;:&quot;eeab08256b&quot;,&quot;name&quot;:&quot;Dynamite Baits Pellets Pre-Drilled 350 g 21 mm Source Pellets&quot;,&quot;code&quot;:331709,&quot;brand&quot;:&quot;Dynamite Baits&quot;,&quot;price_with_vat&quot;:&quot;4.09&quot;,&quot;base_price_with_vat&quot;:&quot;5.09&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;3.3&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;4.1&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true,&quot;product_category_label&quot;:&quot;Pellets&quot;,&quot;discount_percentage&quot;:19,&quot;product_description_short&quot;:&quot;Dark red pre-drilled pellets of proven taste with a high content of fats and proteins. Approximate dis...&quot;},{&quot;param_values&quot;:&quot;350_g|8_mm|Source|&quot;,&quot;path&quot;:&quot;/dynamite-baits-pellets-the-source-pre-drilled-8mm-350g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/7680/768093/thumb_1428efa4.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/7680/768093/icon_1428efa4.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/7680/768093/icon_base_1428efa4.jpg&quot;},&quot;technical_params&quot;:{&quot;96&quot;:&quot;350_g&quot;,&quot;69&quot;:&quot;8_mm&quot;,&quot;700&quot;:&quot;Source&quot;},&quot;id_hash&quot;:&quot;31d303ddb3&quot;,&quot;name&quot;:&quot;Dynamite Baits Pellets Pre-Drilled 350 g 8 mm Source Pellets&quot;,&quot;code&quot;:420382,&quot;brand&quot;:&quot;Dynamite Baits&quot;,&quot;price_with_vat&quot;:&quot;4.89&quot;,&quot;base_price_with_vat&quot;:&quot;4.89&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;3.94&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;3.94&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:false,&quot;product_category_label&quot;:&quot;Pellets&quot;,&quot;discount_percentage&quot;:0,&quot;product_description_short&quot;:&quot;These high protein pellets have been developed using the same proven ingredients as the immensely popu...&quot;},{&quot;param_values&quot;:&quot;900_g|20_mm|Robin_Red|&quot;,&quot;path&quot;:&quot;/dynamite-baits-pellets-robin-red-pre-drilled-20mm-900g&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768170/thumb_71b9e329.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768170/icon_71b9e329.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/7681/768170/icon_base_71b9e329.jpg&quot;},&quot;technical_params&quot;:{&quot;96&quot;:&quot;900_g&quot;,&quot;69&quot;:&quot;20_mm&quot;,&quot;700&quot;:&quot;Robin_Red&quot;},&quot;id_hash&quot;:&quot;d6b51f1fc5&quot;,&quot;name&quot;:&quot;Dynamite Baits Pellets Pre-Drilled 900 g 20 mm Robin Red Pellets&quot;,&quot;code&quot;:331708,&quot;brand&quot;:&quot;Dynamite Baits&quot;,&quot;price_with_vat&quot;:&quot;7.89&quot;,&quot;base_price_with_vat&quot;:&quot;7.89&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;6.36&quot;,&quot;vat_payer_base_price_without_vat&quot;:&quot;6.36&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:false,&quot;product_category_label&quot;:&quot;Pellets&quot;,&quot;discount_percentage&quot;:0,&quot;product_description_short&quot;:&quot;The legendary Robin Red ® is also available as a hugely popular range of high protein spicy flavoured ...&quot;}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;96&quot;:[{&quot;value&quot;:&quot;900_g&quot;,&quot;translate_value&quot;:&quot;900 g&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1395},{&quot;value&quot;:&quot;350_g&quot;,&quot;translate_value&quot;:&quot;350 g&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2187}],&quot;69&quot;:[{&quot;value&quot;:&quot;12_mm&quot;,&quot;translate_value&quot;:&quot;12 mm&quot;,&quot;product_image&quot;:null,&quot;position&quot;:0},{&quot;value&quot;:&quot;14_mm&quot;,&quot;translate_value&quot;:&quot;14 mm&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1},{&quot;value&quot;:&quot;15_mm&quot;,&quot;translate_value&quot;:&quot;15 mm&quot;,&quot;product_image&quot;:null,&quot;position&quot;:2},{&quot;value&quot;:&quot;20_mm&quot;,&quot;translate_value&quot;:&quot;20 mm&quot;,&quot;product_image&quot;:null,&quot;position&quot;:3},{&quot;value&quot;:&quot;21_mm&quot;,&quot;translate_value&quot;:&quot;21 mm&quot;,&quot;product_image&quot;:null,&quot;position&quot;:4},{&quot;value&quot;:&quot;8_mm&quot;,&quot;translate_value&quot;:&quot;8 mm&quot;,&quot;product_image&quot;:null,&quot;position&quot;:5}],&quot;700&quot;:[{&quot;value&quot;:&quot;Robin_Red&quot;,&quot;translate_value&quot;:&quot;Robin Red&quot;,&quot;product_image&quot;:null,&quot;position&quot;:0},{&quot;value&quot;:&quot;Source&quot;,&quot;translate_value&quot;:&quot;Source&quot;,&quot;product_image&quot;:null,&quot;position&quot;:1}]}\' id=\'group_selector_section\'>\n<div class=\'row\'>\n<div class=\'col-12 mb-3\' data-param-id=\'96\' data-param-position=\'1\' data-param-type=\'icon\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text js-param-name d-flex mb-2 flex-wrap\'>\n<div class=\'counter-green mr-2\'>\n1\n<\/div>\nWeight\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<div class=\'d-flex flex-wrap tile-group-selector group-icon\' data-selector-for=\'96\'><\/div>\n<div class=\'js-show-more p-mid py-2 primary-link cursor-pointer d-none\'>\nOther variants\n<\/div>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'69\' data-param-position=\'2\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text js-param-name d-flex mb-2 flex-wrap\'>\n<div class=\'counter-green mr-2\'>\n2\n<\/div>\nDiameter\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'69\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/option>\n<\/select>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'700\' data-param-position=\'3\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column\'>\n<div class=\'product-select-text js-param-name d-flex mb-2 flex-wrap\'>\n<div class=\'counter-green mr-2\'>\n3\n<\/div>\nFlavour\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'700\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Select an option<\/option>\n<\/select>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'p-14\'>\nThe legendary Robin Red ® is also available as a hugely popular range of high protein spicy flavoured ...\n<\/div>\n<a class=\"link-primary p-14\" href=\"/dynamite-baits-pellets-robin-red-pre-drilled-15mm-900g\">Go to product<\/a>\n<div class=\'d-flex align-items-center mt-4\'>\n<div class=\'product-price-group-selector p-25 font-weight-bold mr-3 d-none\' data-product-price><\/div>\n<div class=\'product-price-group-selector p-25 font-weight-bold mr-3 d-none text-crossed light-gray\' data-product-base-price><\/div>\n<div class=\'badge badge-discount text-white mb-0 p-14 js-discount-percentage d-none\'><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'modal-footer d-flex justify-content-end border-white-gray\'>\n<button class=\'btn btn-outline-dark\' data-dismiss=\'modal\' type=\'button\'>Close<\/button>\n<div data-analytics-actions=\'[&quot;addProductToBasket&quot;]\' data-analytics-data-click-event=\'[&quot;{\\&quot;trackers\\&quot;:[\\&quot;mainTracker\\&quot;,\\&quot;generalTracker\\&quot;],\\&quot;fieldsObject\\&quot;:{\\&quot;hitType\\&quot;:\\&quot;event\\&quot;,\\&quot;eventCategory\\&quot;:\\&quot;UX\\&quot;,\\&quot;eventAction\\&quot;:\\&quot;click\\&quot;,\\&quot;eventLabel\\&quot;:\\&quot;add to cart from listing\\&quot;}}&quot;, &quot;{\\&quot;trackers\\&quot;:[\\&quot;mainTracker\\&quot;,\\&quot;generalTracker\\&quot;],\\&quot;fieldsObject\\&quot;:{\\&quot;hitType\\&quot;:\\&quot;event\\&quot;,\\&quot;eventCategory\\&quot;:\\&quot;Basket\\&quot;,\\&quot;eventAction\\&quot;:\\&quot;Add\\&quot;,\\&quot;eventLabel\\&quot;:\\&quot;\\&quot;,\\&quot;eventValue\\&quot;:0}}&quot;]\' data-analytics-data-ecommerce-set-action=\'{&quot;actionName&quot;:&quot;add&quot;}\' data-analytics-data-ecommerce-trackers=\'[&quot;mainTracker&quot;, &quot;generalTracker&quot;]\' data-analytics-ga-data=\'\' data-analytics-track data-selector-analytics>\n<form role=\"form\" class=\"text-center\" id=\"new_public_shop_basket_item_form\" autocomplete=\"off\" action=\"/shop/basket_items\" accept-charset=\"UTF-8\" data-remote=\"true\" method=\"post\"><input value=\"1\" type=\"hidden\" name=\"public_shop_basket_item_form[quantity]\" id=\"public_shop_basket_item_form_quantity\" />\n<input data-basket-product-id-hash=\"true\" type=\"hidden\" name=\"public_shop_basket_item_form[product_hash]\" id=\"public_shop_basket_item_form_product_hash\" />\n<input value=\"standard\" data-basket-product-type=\"true\" data-basket-extra-gift=\"false\" type=\"hidden\" name=\"public_shop_basket_item_form[item_type]\" id=\"public_shop_basket_item_form_item_type\" />\n<input type=\"submit\" name=\"commit\" value=\"Add to Cart\" class=\"btn font-weight-bold btn-green\" disabled=\"disabled\" data-analytics-add-to-basket=\"true\" data-add-to-cart-button=\"true\" data-disable-with=\"Add to Cart\" />\n<\/form><\/div>\n<\/div>\n\n<\/div>\n<\/div>\n<\/div>\n");
$("#modal-container").find('.modal').modal();
PublicUtility.Layout.initInScope('.modal');

var groupSelectorSection;

groupSelectorSection = $('#group_selector_section');

if (groupSelectorSection.length) {
    new PublicUtility.ProductGroupSelector(groupSelectorSection);
}

new PublicUtility.Analytics('[data-track-modal-analytics]')
