
$("#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\'>\n<h5 class=\'modal-title\'>Sélectionnez un produit dans le panier<\/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\'>\n<a data-product-path-in-modal=\"true\" href=\"/taylormade-sim-driver-right-hand-10-5-regular\"><div class=\'tile-img tile-group-selector\'>\n<img alt=\'TaylorMade SIM Driver Right Hand 10,5 Regular\' class=\'img-fluid\' data-image-change src=\'https://muzikercdn.com/uploads/products/3818/381829/thumb_7cececc6.jpg\'>\n<\/div>\n<p class=\'product-tile-header\' data-product-name title=\'TaylorMade SIM Driver Right Hand 10,5 Regular\'>\nTaylorMade SIM Driver Right Hand 10,5 Regular\n<\/p>\n<\/a><div class=\'d-flex align-items-center justify-content-between\'>\n<div class=\'product-price-group-selector\' data-product-price><\/div>\n<\/div>\n<\/div>\n<div class=\'col-12 col-md-6\'>\n<div class=\'d-flex flex-column justify-content-between h-100\' data-group-products=\'[{&quot;param_values&quot;:&quot;Regular_(_Variant_)|10,5°|&quot;,&quot;path&quot;:&quot;/taylormade-sim-driver-right-hand-10-5-regular&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/3818/381829/thumb_7cececc6.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/3818/381829/icon_7cececc6.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/3818/381829/icon_base_7cececc6.jpg&quot;},&quot;technical_params&quot;:{&quot;34&quot;:&quot;Regular_(_Variant_)&quot;,&quot;52&quot;:&quot;10,5°&quot;},&quot;id_hash&quot;:&quot;441b0d7186&quot;,&quot;name&quot;:&quot;TaylorMade SIM Driver Right Hand 10,5 Regular&quot;,&quot;code&quot;:342370,&quot;price_with_vat&quot;:&quot;489.0&quot;,&quot;brand&quot;:&quot;TaylorMade&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;407.5&quot;,&quot;eshop_available&quot;:true,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;Stiff|10,5°|&quot;,&quot;path&quot;:&quot;/taylormade-sim-driver-right-hand-10-5-stiff&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/3818/381825/thumb_09d77661.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/3818/381825/icon_09d77661.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/3818/381825/icon_base_09d77661.jpg&quot;},&quot;technical_params&quot;:{&quot;34&quot;:&quot;Stiff&quot;,&quot;52&quot;:&quot;10,5°&quot;},&quot;id_hash&quot;:&quot;06819c2126&quot;,&quot;name&quot;:&quot;TaylorMade SIM Driver Right Hand 10,5 Stiff&quot;,&quot;code&quot;:342369,&quot;price_with_vat&quot;:&quot;579.0&quot;,&quot;brand&quot;:&quot;TaylorMade&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;482.5&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true},{&quot;param_values&quot;:&quot;Stiff|9°|&quot;,&quot;path&quot;:&quot;/taylormade-sim-driver-right-hand-9-stiff&quot;,&quot;thumb_image&quot;:&quot;https://muzikercdn.com/uploads/products/3818/381821/thumb_3e67b1d4.jpg&quot;,&quot;image&quot;:{&quot;icon&quot;:&quot;https://muzikercdn.com/uploads/products/3818/381821/icon_3e67b1d4.jpg&quot;,&quot;icon_base&quot;:&quot;https://muzikercdn.com/uploads/products/3818/381821/icon_base_3e67b1d4.jpg&quot;},&quot;technical_params&quot;:{&quot;34&quot;:&quot;Stiff&quot;,&quot;52&quot;:&quot;9°&quot;},&quot;id_hash&quot;:&quot;fdc4d89ae0&quot;,&quot;name&quot;:&quot;TaylorMade SIM Driver Right Hand 9 Stiff&quot;,&quot;code&quot;:342368,&quot;price_with_vat&quot;:&quot;579.0&quot;,&quot;brand&quot;:&quot;TaylorMade&quot;,&quot;vat_payer_price_without_vat&quot;:&quot;482.5&quot;,&quot;eshop_available&quot;:false,&quot;is_set&quot;:false,&quot;add_to_basket&quot;:true}]\' data-selector-position=\'product_list\' data-technical-param-values=\'{&quot;34&quot;:[{&quot;value&quot;:&quot;Regular_(_Variant_)&quot;,&quot;translate_value&quot;:&quot;Regular&quot;,&quot;product_image&quot;:null,&quot;position&quot;:252},{&quot;value&quot;:&quot;Stiff&quot;,&quot;translate_value&quot;:&quot;Stiff&quot;,&quot;product_image&quot;:null,&quot;position&quot;:255}],&quot;52&quot;:[{&quot;value&quot;:&quot;10,5°&quot;,&quot;translate_value&quot;:&quot;10,5°&quot;,&quot;product_image&quot;:null,&quot;position&quot;:620},{&quot;value&quot;:&quot;9°&quot;,&quot;translate_value&quot;:&quot;9°&quot;,&quot;product_image&quot;:null,&quot;position&quot;:616}]}\' id=\'group_selector_section\'>\n<div class=\'row\'>\n<div class=\'col-12 mb-3\' data-param-id=\'34\' data-param-position=\'1\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column justify-content-between h-100\'>\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>\nFlex\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'34\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Sélectionner<\/option>\n<\/select>\n<\/div>\n<\/div>\n<div class=\'col-12 mb-3\' data-param-id=\'52\' data-param-position=\'2\' data-param-type=\'select_box\'>\n<div class=\'d-flex flex-column justify-content-between h-100\'>\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>\nLoft\n<div class=\'js-param-value param-value ml-2\'><\/div>\n<\/div>\n<select class=\'no-select2 select-product\' data-selector-for=\'52\'>\n<option disabled=\'disabled\' hidden selected=\'selected\' value=\'\'>Sélectionner<\/option>\n<\/select>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'row\'>\n<div class=\'col-12\'>\n<div class=\'d-flex\'>\n<div class=\'w-100\' 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 class=\"text-center\" id=\"new_public_shop_basket_item_form\" autocomplete=\"off\" role=\"form\" 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=\"Ajouter au panier\" class=\"btn btn-buy btn-green my-2\" disabled=\"disabled\" data-analytics-add-to-basket=\"true\" data-add-to-cart-button=\"true\" data-disable-with=\"Ajouter au panier\" />\n<\/form><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\'modal-footer\'>\n<button class=\'btn btn-outline-dark\' data-dismiss=\'modal\' type=\'button\'>Fermer<\/button>\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]')
