{"id":86,"date":"2020-09-09T10:06:21","date_gmt":"2020-09-09T10:06:21","guid":{"rendered":"https:\/\/pluginrepublic.dev\/wptu\/?page_id=86"},"modified":"2025-06-11T14:54:48","modified_gmt":"2025-06-11T14:54:48","slug":"product-table","status":"publish","type":"page","link":"https:\/\/pluginrepublic.dev\/wptu\/product-table\/","title":{"rendered":"Product Table"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A list of products in a table. Each row shows a product thumbnail, name, short description, plus a quantity field and add-to-cart button. You can also select multiple products using the checkboxes down the left, then add all selected products to the cart in one go, using the &#8216;Add Selected to Cart&#8217; button.<\/p>\n\n\n<div class=\"woocommerce\">\n<div id=\"ptuwc-table-b856a38f8363a8a559100b315406c7b8_1_container\" class=\"ptuwc_table_container\">\n\n\t\t\t\t\t\t\n<div class=\"ptuwc-filters-container\" data-table-id=\"b856a38f8363a8a559100b315406c7b8_1\">\n\n\t\t<input type=\"text\" class=\"ptuwc-product-search\" placeholder=\"Search for a product\" value=\"\">\n\n\t\t\t\t\t\t\t\t\t\t<label for=\"product_cat_filter\">Filter by Product categories<\/label>\n\t\t\t<select id=\"product_cat_filter\" name=\"product_cat_filter\" multiple=\"multiple\" class=\"ptuwc-filter-select\" data-taxonomy-slug=\"product_cat\" data-placeholder=\"Product categories\" data-operator=\"OR\">\n\t\t\t\t\t\t\t\t\t<option value=\"16\">Accessories<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"17\">Hoodies<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"18\">Tshirts<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"36\">Bulk Variations<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"28\">Clothing<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"29\">Decor<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"34\">Dessert<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"31\">Mains<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"27\">Music<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"37\">Nuts and Bolts<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"35\">Office<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"38\">Product Examples<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"32\">Sides<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"33\">Starters<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"pa_size_filter\">Filter by Product Size<\/label>\n\t\t\t<select id=\"pa_size_filter\" name=\"pa_size_filter\" multiple=\"multiple\" class=\"ptuwc-filter-select\" data-taxonomy-slug=\"pa_size\" data-placeholder=\"Product Size\" data-operator=\"OR\">\n\t\t\t\t\t\t\t\t\t<option value=\"21\">Large<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"22\">Medium<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"24\">Small<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"pa_color_filter\">Filter by Product Color<\/label>\n\t\t\t<select id=\"pa_color_filter\" name=\"pa_color_filter\" multiple=\"multiple\" class=\"ptuwc-filter-select\" data-taxonomy-slug=\"pa_color\" data-placeholder=\"Product Color\" data-operator=\"OR\">\n\t\t\t\t\t\t\t\t\t<option value=\"19\">Blue<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"25\">Gray<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"20\">Green<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"23\">Red<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"26\">Yellow<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\n\t<div class=\"ptuwc-reset-container\">\n\t\t<span class=\"dashicons dashicons-update\"><\/span>\n\t\tReset\t<\/div>\n<\/div>\n\n\t\t\t\n\t<table id=\"ptuwc-table-b856a38f8363a8a559100b315406c7b8_1\" class=\"ptuwc-table woocommerce-table shop_table shop_table_responsive show-quantities\" data-index='1' data-source='categories' data-callback='__return_empty_array' data-categories='{&quot;0&quot;:16,&quot;1&quot;:17,&quot;2&quot;:18,&quot;3&quot;:27,&quot;4&quot;:28,&quot;5&quot;:29}' data-taxonomies='{&quot;product_cat&quot;:{&quot;0&quot;:16,&quot;1&quot;:17,&quot;2&quot;:18,&quot;3&quot;:27,&quot;4&quot;:28,&quot;5&quot;:29}}' data-tags='{}' data-order_by='title' data-order='ASC' data-per_page='10' data-page='1' data-columns='{&quot;0&quot;:&quot;thumbnail&quot;,&quot;1&quot;:&quot;name&quot;,&quot;2&quot;:&quot;short-description&quot;,&quot;3&quot;:&quot;categories&quot;,&quot;4&quot;:&quot;pa_color&quot;,&quot;6&quot;:&quot;price&quot;,&quot;7&quot;:&quot;add-to-cart&quot;}' data-show_quantities='1' data-variations_display='parent' data-add_selected='1' data-select_all='1' data-thumb_lightbox='yes' data-add_all='0' data-fixed_layout='no' data-sortable_columns='{&quot;0&quot;:&quot;name&quot;,&quot;1&quot;:&quot;price&quot;}' data-filterable_columns='{&quot;0&quot;:&quot;product_cat&quot;,&quot;1&quot;:&quot;pa_size&quot;,&quot;2&quot;:&quot;pa_color&quot;}' data-filter_operator='AND' data-filter_methods='{&quot;0&quot;:&quot;clickable&quot;,&quot;1&quot;:&quot;select&quot;,&quot;2&quot;:&quot;search&quot;}' data-select_filters_locations='{&quot;0&quot;:&quot;above&quot;,&quot;1&quot;:&quot;below&quot;}' data-ajax_variations='0' data-ajax_add_to_cart='0' data-addons='1' data-quickview='0' data-date_fields_header=''>\n\t\t\n<thead>\n    <tr>\n                    <th class=\"ptuwc-cb\">\n                            <input type=\"checkbox\" class=\"ptuwc-select-all\" id=\"ptuwc-select-all\" value=\"\" \/>\n                        <\/th>\n        \n                    <th class=\"ptuwc-thumbnail\" data-sortable=\"\" data-filterable=\"\">\n                Thumbnail\t                        <\/th>\n                    <th class=\"ptuwc-name\" data-sortable=\"1\" data-filterable=\"\">\n                Name\t            \t\t            <span class=\"ptuwc-sort-icon dashicons dashicons-arrow-up\" data-order-by=\"name\" data-order=\"ASC\"><\/span>\n\t\t            <span class=\"ptuwc-sort-icon dashicons dashicons-arrow-down\" data-order-by=\"name\" data-order=\"DESC\"><\/span>\n\t                        <\/th>\n                    <th class=\"ptuwc-short-description\" data-sortable=\"\" data-filterable=\"\">\n                Short Description\t                        <\/th>\n                    <th class=\"ptuwc-categories\" data-sortable=\"\" data-filterable=\"1\">\n                Categories\t                        <\/th>\n                    <th class=\"ptuwc-pa_color\" data-sortable=\"\" data-filterable=\"1\">\n                Color\t                        <\/th>\n                    <th class=\"ptuwc-price\" data-sortable=\"1\" data-filterable=\"\">\n                Price\t            \t\t            <span class=\"ptuwc-sort-icon dashicons dashicons-arrow-up\" data-order-by=\"price\" data-order=\"ASC\"><\/span>\n\t\t            <span class=\"ptuwc-sort-icon dashicons dashicons-arrow-down\" data-order-by=\"price\" data-order=\"DESC\"><\/span>\n\t                        <\/th>\n                    <th class=\"ptuwc-add-to-cart\" data-sortable=\"\" data-filterable=\"\">\n                Add to Cart\t                        <\/th>\n            <\/tr>\n<\/thead>\n\t\t\n<tbody>\n                                        \n    <tr id=\"ptuwc-product-row-51-1\" class=\"ptuwc-product-row ptuwc-product-row-51 instock downloadable virtual purchasable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-51-1\">\n        Select Album    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-51-1\" value=\"51\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/album-1.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/album-1-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Album\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/album-1-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/album-1-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/album-1-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/album-1-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/album-1-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/album-1-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/album-1.jpg 800w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Album\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a simple, virtual product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"27\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/music\/\" rel=\"tag\">Music<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t                <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>15.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/wptu\/product\/album\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a5492e0bdba6\">Album quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a5492e0bdba6\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t\t<button type=\"submit\" name=\"add-to-cart\" value=\"51\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-43-1\" class=\"ptuwc-product-row ptuwc-product-row-43 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-43-1\">\n        Select Beanie    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-43-1\" value=\"43\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-2.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Beanie\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Beanie\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a simple product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"16\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/accessories\/\" rel=\"tag\">Accessories<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t            <a href='#' data-term-id='23' data-taxonomy-slug='pa_color'>Red<\/a>    <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>20.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &pound;20.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>18.00<\/bdi><\/span><\/ins><span class=\"screen-reader-text\">Current price is: &pound;18.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/wptu\/product\/beanie\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a5492e0beeb6\">Beanie quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a5492e0beeb6\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t\t<button type=\"submit\" name=\"add-to-cart\" value=\"43\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-60-1\" class=\"ptuwc-product-row ptuwc-product-row-60 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                        \n<td class=\"col-noop\">\n\t&nbsp;\n<\/td>\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-with-logo-1.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-with-logo-1-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Beanie with Logo\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-with-logo-1-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-with-logo-1-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-with-logo-1-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-with-logo-1-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-with-logo-1-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-with-logo-1-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/beanie-with-logo-1.jpg 800w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Beanie with Logo\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a simple product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"16\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/accessories\/\" rel=\"tag\">Accessories<\/a>, <a data-term-id=\"28\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/clothing\/\" rel=\"tag\">Clothing<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t            <a href='#' data-term-id='23' data-taxonomy-slug='pa_color'>Red<\/a>    <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>20.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &pound;20.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>18.00<\/bdi><\/span><\/ins><span class=\"screen-reader-text\">Current price is: &pound;18.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                    <button type=\"submit\" class=\"ptuwc_config_row_trigger single_add_to_cart_button button alt\">\n                Select options            <\/button>\n            <\/td>\n\n                        <\/tr>\n\n\n    <tr id=\"ptuwc-product-config-row-60-1\" class=\"ptuwc-product-config-row ptuwc-product-config-row-60\"  style=\"display: none;\">\n                                    \n    <td class=\"col-config-add-to-cart\" colspan=\"auto\">\n        \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/wptu\/product\/beanie-with-logo\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t<div class=\"pewc-product-extra-groups-wrap pewc-groups-standard pewc-teaser-options-5\" >\n\t<style type=\"text\/css\">\n\t\tform.cart .pewc-groups-lightbox.pewc-teaser-options-5 .pewc-radio-image-wrapper:nth-child(n+6),\n\t\tform.cart .pewc-groups-lightbox.pewc-teaser-options-5 .pewc-checkbox-image-wrapper:nth-child(n+6) {\n\t\t\tdisplay: none\n\t\t}\n\t\t\t\t\t.pewc-lightbox .pewc-lightbox-field {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t<\/style>\n\n\t\t<input type=\"hidden\" name=\"pewc_product_hash\" value=\"pewc_6a5492e0c0546\">\n<div id=\"pewc-group-115\" class=\"pewc-group-wrap pewc-group-wrap-115 pewc-group-index-0 first-group\"  data-group-id= '115' data-group-index= '0' data-condition-action= '' data-condition-match= '' data-conditions= '\"\"'><div class=\"pewc-group-heading-wrapper\"><\/div><div class=\"pewc-group-content-wrapper \"><ul class=\"pewc-product-extra-groups \">\n\t<li class=\"pewc-item pewc-group pewc_group_115_116 pewc-group-upload pewc-item-upload pewc-field-116 pewc-field-count-0 pewc-has-field-price \"  data-price='5' data-id='pewc_group_115_116' data-selected-option-price='' data-field-id='116' data-field-type='upload' data-field-price='5' data-field-label='Upload Logo' data-field-value='' data-field-layered='no' data-field-index='0' data-field-class='' data-default-value='' >\n\n\t\t<div class=\"pewc-item-field-wrapper\"><h4 class=\"pewc-field-label\" for=\"pewc_group_115_116\"><span class=\"pewc-field-label-text\">Upload Logo<\/span><span class=\"required\"> &#42;<\/span><span class=\"pewc-field-price\"> <span class=\"woocommerce-Price-currencySymbol\">&pound;<\/span>5.00<\/span><\/h4><p>You need to be logged in to upload files<\/p><p class=\"pewc-description\"><small>Max file size: 1 MB<\/small><small>Permitted file types: jpg jpeg jpe png gif<\/small><\/p><\/div>\n\t<\/li><!-- .pewc-item -->\n\n<\/ul><\/div><\/div><input type=\"hidden\" name=\"pa_color\" id=\"pa_color\" value=\"red\" ><input type=\"hidden\" id=\"pewc-product-price\" name=\"pewc-product-price\" value=\"18\"><input type=\"hidden\" id=\"pewc_calc_set_price\" name=\"pewc_calc_set_price\" data-calc-set value=\"\"><input type=\"hidden\" id=\"pewc_total_calc_price\" name=\"pewc_total_calc_price\" value=\"18\"><input type=\"hidden\" id=\"pewc_variation_price\" name=\"pewc_variation_price\" value=\"\"><input type=\"hidden\" id=\"pewc_product_length\" name=\"pewc_product_length\" value=\"\"><input type=\"hidden\" id=\"pewc_product_width\" name=\"pewc_product_width\" value=\"\"><input type=\"hidden\" id=\"pewc_product_height\" name=\"pewc_product_height\" value=\"\"><input type=\"hidden\" id=\"pewc_product_weight\" name=\"pewc_product_weight\" value=\"\"><input type=\"hidden\" id=\"pewc_product_id\" name=\"pewc_product_id\" value=\"60\"><input type=\"hidden\" name=\"pewc-grid-total-variations\" id=\"pewc-grid-total-variations\" value=\"\"><input type=\"hidden\" id=\"pewc_file_upload\" name=\"pewc_file_upload\" value=\"b772fbed12\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/wptu\/wp-json\/wp\/v2\/pages\/86\" \/><input type=\"hidden\" id=\"pewc_total\" name=\"pewc_total\" value=\"92f7837775\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/wptu\/wp-json\/wp\/v2\/pages\/86\" \/><p class=\"pewc-total-only\"><span id=\"pewc-grand-total\" class=\"pewc-total-field\"><\/span><\/p>\n<\/div>\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\tif( typeof pewc_do_initial_check == 'function' ) {\n\n\t\t\t\t\tpewc_do_initial_check();\n\n\t\t\t\t}\n$( 'body' ).on( 'pewc_check_conditions', function() {\n\t\t\t\t\tif( typeof pewc_do_initial_check == 'function' ) {\n\t\t\t\t\t\tpewc_do_initial_check();\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a5492e0c104f\">Beanie with Logo quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a5492e0c104f\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t\t<button type=\"submit\" name=\"add-to-cart\" value=\"60\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n    <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-44-1\" class=\"ptuwc-product-row ptuwc-product-row-44 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-44-1\">\n        Select Belt    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-44-1\" value=\"44\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/belt-2.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/belt-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Belt\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/belt-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/belt-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/belt-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/belt-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/belt-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/belt-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/belt-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Belt\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a simple product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"16\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/accessories\/\" rel=\"tag\">Accessories<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t                <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>65.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &pound;65.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>55.00<\/bdi><\/span><\/ins><span class=\"screen-reader-text\">Current price is: &pound;55.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/wptu\/product\/belt\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a5492e0c195d\">Belt quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a5492e0c195d\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t\t<button type=\"submit\" name=\"add-to-cart\" value=\"44\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-45-1\" class=\"ptuwc-product-row ptuwc-product-row-45 instock virtual featured purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-45-1\">\n        Select Cap    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-45-1\" value=\"45\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/cap-2.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/cap-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Cap\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/cap-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/cap-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/cap-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/cap-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/cap-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/cap-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/cap-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Cap\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a simple product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"16\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/accessories\/\" rel=\"tag\">Accessories<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t            <a href='#' data-term-id='26' data-taxonomy-slug='pa_color'>Yellow<\/a>    <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>18.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &pound;18.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>16.00<\/bdi><\/span><\/ins><span class=\"screen-reader-text\">Current price is: &pound;16.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/wptu\/product\/cap\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a5492e0c240b\">Cap quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a5492e0c240b\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t\t<button type=\"submit\" name=\"add-to-cart\" value=\"45\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-40-1\" class=\"ptuwc-product-row ptuwc-product-row-40 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-variable\" >\n                                        \n<td class=\"col-noop\">\n\t&nbsp;\n<\/td>\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-2.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Hoodie\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Hoodie\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a variable product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"28\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/clothing\/\" rel=\"tag\">Clothing<\/a>, <a data-term-id=\"17\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/hoodies\/\" rel=\"tag\">Hoodies<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t            <a href='#' data-term-id='19' data-taxonomy-slug='pa_color'>Blue<\/a>, <a href='#' data-term-id='20' data-taxonomy-slug='pa_color'>Green<\/a>, <a href='#' data-term-id='23' data-taxonomy-slug='pa_color'>Red<\/a>    <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>42.00<\/bdi><\/span> <span aria-hidden=\"true\">&ndash;<\/span> <span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>45.00<\/bdi><\/span><span class=\"screen-reader-text\">Price range: &pound;42.00 through &pound;45.00<\/span>    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent attributes-count-2\">\n                    <button type=\"submit\" class=\"ptuwc_config_row_trigger single_add_to_cart_button button alt\">\n                Select options            <\/button>\n            <\/td>\n\n                        <\/tr>\n\n\n    <tr id=\"ptuwc-product-config-row-40-1\" class=\"ptuwc-product-config-row ptuwc-product-config-row-40\"  style=\"display: none;\">\n                                    \n    <td class=\"col-config-add-to-cart\" colspan=\"auto\">\n        \n<form class=\"variations_form cart\" action=\"https:\/\/pluginrepublic.dev\/wptu\/product\/hoodie\/\" method=\"post\" enctype='multipart\/form-data' data-product_id=\"40\" data-product_variations=\"[{&quot;attributes&quot;:{&quot;attribute_pa_color&quot;:&quot;blue&quot;,&quot;attribute_logo&quot;:&quot;Yes&quot;},&quot;availability_html&quot;:&quot;&quot;,&quot;backorders_allowed&quot;:false,&quot;dimensions&quot;:{&quot;length&quot;:&quot;&quot;,&quot;width&quot;:&quot;&quot;,&quot;height&quot;:&quot;&quot;},&quot;dimensions_html&quot;:&quot;N\\\/A&quot;,&quot;display_price&quot;:45,&quot;display_regular_price&quot;:45,&quot;gallery_image_ids&quot;:[],&quot;gallery_images_html&quot;:&quot;&quot;,&quot;image&quot;:{&quot;title&quot;:&quot;hoodie-with-logo-2.jpg&quot;,&quot;caption&quot;:&quot;&quot;,&quot;url&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2.jpg&quot;,&quot;alt&quot;:&quot;hoodie-with-logo-2.jpg&quot;,&quot;src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2-416x416.jpg&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2-416x416.jpg 416w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2-300x300.jpg 300w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2-150x150.jpg 150w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2-768x768.jpg 768w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2-324x324.jpg 324w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2-100x100.jpg 100w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2.jpg 801w&quot;,&quot;sizes&quot;:&quot;(max-width: 416px) 100vw, 416px&quot;,&quot;full_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2.jpg&quot;,&quot;full_src_w&quot;:801,&quot;full_src_h&quot;:801,&quot;gallery_thumbnail_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2-100x100.jpg&quot;,&quot;gallery_thumbnail_src_w&quot;:100,&quot;gallery_thumbnail_src_h&quot;:100,&quot;thumb_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-with-logo-2-324x324.jpg&quot;,&quot;thumb_src_w&quot;:324,&quot;thumb_src_h&quot;:324,&quot;src_w&quot;:416,&quot;src_h&quot;:416},&quot;image_id&quot;:70,&quot;is_downloadable&quot;:false,&quot;is_in_stock&quot;:true,&quot;is_purchasable&quot;:true,&quot;is_sold_individually&quot;:&quot;no&quot;,&quot;is_virtual&quot;:false,&quot;max_qty&quot;:&quot;&quot;,&quot;min_qty&quot;:1,&quot;price_html&quot;:&quot;&lt;span class=\\&quot;price\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;pound;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;\\\/span&gt;&quot;,&quot;sku&quot;:&quot;woo-hoodie-blue-logo&quot;,&quot;variation_description&quot;:&quot;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sagittis orci ac odio dictum tincidunt.&lt;\\\/p&gt;\\n&quot;,&quot;variation_id&quot;:63,&quot;variation_is_active&quot;:true,&quot;variation_is_visible&quot;:true,&quot;weight&quot;:&quot;&quot;,&quot;weight_html&quot;:&quot;N\\\/A&quot;},{&quot;attributes&quot;:{&quot;attribute_pa_color&quot;:&quot;red&quot;,&quot;attribute_logo&quot;:&quot;No&quot;},&quot;availability_html&quot;:&quot;&quot;,&quot;backorders_allowed&quot;:false,&quot;dimensions&quot;:{&quot;length&quot;:&quot;&quot;,&quot;width&quot;:&quot;&quot;,&quot;height&quot;:&quot;&quot;},&quot;dimensions_html&quot;:&quot;N\\\/A&quot;,&quot;display_price&quot;:42,&quot;display_regular_price&quot;:45,&quot;gallery_image_ids&quot;:[],&quot;gallery_images_html&quot;:&quot;&quot;,&quot;image&quot;:{&quot;title&quot;:&quot;hoodie-2.jpg&quot;,&quot;caption&quot;:&quot;&quot;,&quot;url&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2.jpg&quot;,&quot;alt&quot;:&quot;hoodie-2.jpg&quot;,&quot;src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2-416x416.jpg&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2-416x416.jpg 416w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2-300x300.jpg 300w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2-150x150.jpg 150w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2-768x768.jpg 768w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2-324x324.jpg 324w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2-100x100.jpg 100w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2.jpg 801w&quot;,&quot;sizes&quot;:&quot;(max-width: 416px) 100vw, 416px&quot;,&quot;full_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2.jpg&quot;,&quot;full_src_w&quot;:801,&quot;full_src_h&quot;:801,&quot;gallery_thumbnail_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2-100x100.jpg&quot;,&quot;gallery_thumbnail_src_w&quot;:100,&quot;gallery_thumbnail_src_h&quot;:100,&quot;thumb_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-2-324x324.jpg&quot;,&quot;thumb_src_w&quot;:324,&quot;thumb_src_h&quot;:324,&quot;src_w&quot;:416,&quot;src_h&quot;:416},&quot;image_id&quot;:67,&quot;is_downloadable&quot;:false,&quot;is_in_stock&quot;:true,&quot;is_purchasable&quot;:true,&quot;is_sold_individually&quot;:&quot;no&quot;,&quot;is_virtual&quot;:false,&quot;max_qty&quot;:&quot;&quot;,&quot;min_qty&quot;:1,&quot;price_html&quot;:&quot;&lt;span class=\\&quot;price\\&quot;&gt;&lt;del aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;pound;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;\\\/del&gt; &lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Original price was: &amp;pound;45.00.&lt;\\\/span&gt;&lt;ins aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;pound;&lt;\\\/span&gt;42.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;\\\/ins&gt;&lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Current price is: &amp;pound;42.00.&lt;\\\/span&gt;&lt;\\\/span&gt;&quot;,&quot;sku&quot;:&quot;woo-hoodie-red&quot;,&quot;variation_description&quot;:&quot;&lt;p&gt;Donec ut metus leo. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.&lt;\\\/p&gt;\\n&quot;,&quot;variation_id&quot;:56,&quot;variation_is_active&quot;:true,&quot;variation_is_visible&quot;:true,&quot;weight&quot;:&quot;&quot;,&quot;weight_html&quot;:&quot;N\\\/A&quot;},{&quot;attributes&quot;:{&quot;attribute_pa_color&quot;:&quot;green&quot;,&quot;attribute_logo&quot;:&quot;No&quot;},&quot;availability_html&quot;:&quot;&quot;,&quot;backorders_allowed&quot;:false,&quot;dimensions&quot;:{&quot;length&quot;:&quot;&quot;,&quot;width&quot;:&quot;&quot;,&quot;height&quot;:&quot;&quot;},&quot;dimensions_html&quot;:&quot;N\\\/A&quot;,&quot;display_price&quot;:45,&quot;display_regular_price&quot;:45,&quot;gallery_image_ids&quot;:[],&quot;gallery_images_html&quot;:&quot;&quot;,&quot;image&quot;:{&quot;title&quot;:&quot;hoodie-green-1.jpg&quot;,&quot;caption&quot;:&quot;&quot;,&quot;url&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1.jpg&quot;,&quot;alt&quot;:&quot;hoodie-green-1.jpg&quot;,&quot;src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1-416x416.jpg&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1-416x416.jpg 416w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1-300x300.jpg 300w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1-150x150.jpg 150w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1-768x768.jpg 768w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1-324x324.jpg 324w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1-100x100.jpg 100w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1.jpg 800w&quot;,&quot;sizes&quot;:&quot;(max-width: 416px) 100vw, 416px&quot;,&quot;full_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1.jpg&quot;,&quot;full_src_w&quot;:800,&quot;full_src_h&quot;:800,&quot;gallery_thumbnail_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1-100x100.jpg&quot;,&quot;gallery_thumbnail_src_w&quot;:100,&quot;gallery_thumbnail_src_h&quot;:100,&quot;thumb_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-green-1-324x324.jpg&quot;,&quot;thumb_src_w&quot;:324,&quot;thumb_src_h&quot;:324,&quot;src_w&quot;:416,&quot;src_h&quot;:416},&quot;image_id&quot;:69,&quot;is_downloadable&quot;:false,&quot;is_in_stock&quot;:true,&quot;is_purchasable&quot;:true,&quot;is_sold_individually&quot;:&quot;no&quot;,&quot;is_virtual&quot;:false,&quot;max_qty&quot;:&quot;&quot;,&quot;min_qty&quot;:1,&quot;price_html&quot;:&quot;&lt;span class=\\&quot;price\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;pound;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;\\\/span&gt;&quot;,&quot;sku&quot;:&quot;woo-hoodie-green&quot;,&quot;variation_description&quot;:&quot;&lt;p&gt;Sed luctus, dui eu sagittis sodales, nulla nibh sagittis augue, vel porttitor diam enim non metus. Vestibulum aliquam augue neque.&lt;\\\/p&gt;\\n&quot;,&quot;variation_id&quot;:57,&quot;variation_is_active&quot;:true,&quot;variation_is_visible&quot;:true,&quot;weight&quot;:&quot;&quot;,&quot;weight_html&quot;:&quot;N\\\/A&quot;},{&quot;attributes&quot;:{&quot;attribute_pa_color&quot;:&quot;blue&quot;,&quot;attribute_logo&quot;:&quot;No&quot;},&quot;availability_html&quot;:&quot;&quot;,&quot;backorders_allowed&quot;:false,&quot;dimensions&quot;:{&quot;length&quot;:&quot;&quot;,&quot;width&quot;:&quot;&quot;,&quot;height&quot;:&quot;&quot;},&quot;dimensions_html&quot;:&quot;N\\\/A&quot;,&quot;display_price&quot;:45,&quot;display_regular_price&quot;:45,&quot;gallery_image_ids&quot;:[],&quot;gallery_images_html&quot;:&quot;&quot;,&quot;image&quot;:{&quot;title&quot;:&quot;hoodie-blue-1.jpg&quot;,&quot;caption&quot;:&quot;&quot;,&quot;url&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1.jpg&quot;,&quot;alt&quot;:&quot;hoodie-blue-1.jpg&quot;,&quot;src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1-416x416.jpg&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1-416x416.jpg 416w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1-300x300.jpg 300w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1-150x150.jpg 150w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1-768x768.jpg 768w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1-324x324.jpg 324w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1-100x100.jpg 100w, https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1.jpg 800w&quot;,&quot;sizes&quot;:&quot;(max-width: 416px) 100vw, 416px&quot;,&quot;full_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1.jpg&quot;,&quot;full_src_w&quot;:800,&quot;full_src_h&quot;:800,&quot;gallery_thumbnail_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1-100x100.jpg&quot;,&quot;gallery_thumbnail_src_w&quot;:100,&quot;gallery_thumbnail_src_h&quot;:100,&quot;thumb_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/wptu\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2019\\\/01\\\/hoodie-blue-1-324x324.jpg&quot;,&quot;thumb_src_w&quot;:324,&quot;thumb_src_h&quot;:324,&quot;src_w&quot;:416,&quot;src_h&quot;:416},&quot;image_id&quot;:68,&quot;is_downloadable&quot;:false,&quot;is_in_stock&quot;:true,&quot;is_purchasable&quot;:true,&quot;is_sold_individually&quot;:&quot;no&quot;,&quot;is_virtual&quot;:false,&quot;max_qty&quot;:&quot;&quot;,&quot;min_qty&quot;:1,&quot;price_html&quot;:&quot;&lt;span class=\\&quot;price\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;pound;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;\\\/span&gt;&quot;,&quot;sku&quot;:&quot;woo-hoodie-blue&quot;,&quot;variation_description&quot;:&quot;&lt;p&gt;Curabitur finibus sapien dolor. Ut eleifend tellus nec erat pulvinar dignissim. Nam non arcu purus. Vivamus et massa massa.&lt;\\\/p&gt;\\n&quot;,&quot;variation_id&quot;:58,&quot;variation_is_active&quot;:true,&quot;variation_is_visible&quot;:true,&quot;weight&quot;:&quot;&quot;,&quot;weight_html&quot;:&quot;N\\\/A&quot;}]\">\n\t\n\t\t\t<table class=\"variations\" cellspacing=\"0\" role=\"presentation\">\n\t\t\t<tbody>\n\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th class=\"label\"><label for=\"pa_color\">Color<\/label><\/th>\n\t\t\t\t\t\t<td class=\"value\">\n\t\t\t\t\t\t\t<select id=\"b856a38f8363a8a559100b315406c7b8_1-40-pa_color\" class=\"\" name=\"attribute_pa_color\" data-attribute_name=\"attribute_pa_color\" data-show_option_none=\"yes\"><option value=\"\">Choose an option<\/option><option value=\"blue\" >Blue<\/option><option value=\"green\" >Green<\/option><option value=\"red\" >Red<\/option><\/select>\t\t\t\t\t\t<\/td>\n\t\t\t\t\t<\/tr>\n\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th class=\"label\"><label for=\"logo\">Logo<\/label><\/th>\n\t\t\t\t\t\t<td class=\"value\">\n\t\t\t\t\t\t\t<select id=\"b856a38f8363a8a559100b315406c7b8_1-40-logo\" class=\"\" name=\"attribute_logo\" data-attribute_name=\"attribute_logo\" data-show_option_none=\"yes\"><option value=\"\">Choose an option<\/option><option value=\"Yes\" >Yes<\/option><option value=\"No\" >No<\/option><\/select><a class=\"reset_variations\" href=\"#\" aria-label=\"Clear options\">Clear<\/a>\t\t\t\t\t\t<\/td>\n\t\t\t\t\t<\/tr>\n\t\t\t\t\t\t\t<\/tbody>\n\t\t<\/table>\n\t\t<div class=\"reset_variations_alert screen-reader-text\" role=\"alert\" aria-live=\"polite\" aria-relevant=\"all\"><\/div>\n\t\t\t\t\n\t\t<div class=\"single_variation_wrap\">\n\t\t\t<div class=\"woocommerce-variation single_variation\" role=\"alert\" aria-relevant=\"additions\"><\/div><div class=\"woocommerce-variation-add-to-cart variations_button\">\n\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a5492e0c5cfa\">Hoodie quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a5492e0c5cfa\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t<button type=\"submit\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\n\t<input type=\"hidden\" name=\"add-to-cart\" value=\"40\" \/>\n\t<input type=\"hidden\" name=\"product_id\" value=\"40\" \/>\n\t<input type=\"hidden\" name=\"variation_id\" class=\"variation_id\" value=\"0\" \/>\n<\/div>\n\t\t<\/div>\n\t\n\t<\/form>\n\n    <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-41-1\" class=\"ptuwc-product-row ptuwc-product-row-41 instock virtual purchasable needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-41-1\">\n        Select Hoodie with Logo    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-41-1\" value=\"41\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-logo-2.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-logo-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Hoodie with Logo\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-logo-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-logo-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-logo-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-logo-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-logo-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-logo-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-logo-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Hoodie with Logo\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a simple product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"17\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/hoodies\/\" rel=\"tag\">Hoodies<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t            <a href='#' data-term-id='19' data-taxonomy-slug='pa_color'>Blue<\/a>    <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>45.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/wptu\/product\/hoodie-with-logo\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a5492e0c6650\">Hoodie with Logo quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a5492e0c6650\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t\t<button type=\"submit\" name=\"add-to-cart\" value=\"41\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-48-1\" class=\"ptuwc-product-row ptuwc-product-row-48 instock virtual featured purchasable needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-48-1\">\n        Select Hoodie with Zipper    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-48-1\" value=\"48\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-zipper-2.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-zipper-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Hoodie with Zipper\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-zipper-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-zipper-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-zipper-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-zipper-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-zipper-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-zipper-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/hoodie-with-zipper-2.jpg 800w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Hoodie with Zipper\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a simple product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"28\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/clothing\/\" rel=\"tag\">Clothing<\/a>, <a data-term-id=\"17\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/hoodies\/\" rel=\"tag\">Hoodies<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t                <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>45.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/wptu\/product\/hoodie-with-zipper\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a5492e0c700b\">Hoodie with Zipper quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a5492e0c700b\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t\t<button type=\"submit\" name=\"add-to-cart\" value=\"48\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-61-1\" class=\"ptuwc-product-row ptuwc-product-row-61 instock virtual needs-shipping shipping-taxable product-type-grouped\" >\n                                        \n<td class=\"col-noop\">\n\t&nbsp;\n<\/td>\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/logo-1.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/logo-1-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Logo Collection\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/logo-1-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/logo-1-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/logo-1-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/logo-1-768x767.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/logo-1-416x415.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/logo-1-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/logo-1.jpg 800w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Logo Collection\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a grouped product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"28\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/clothing\/\" rel=\"tag\">Clothing<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t                <\/td>\n\n                                                \n    <td class=\"col-price\">\n            <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                    <a href=\"https:\/\/pluginrepublic.dev\/wptu\/product\/logo-collection\/\" aria-describedby=\"woocommerce_loop_add_to_cart_link_describedby_61\" data-quantity=\"1\" class=\"button product_type_grouped\" data-product_id=\"61\" data-product_sku=\"logo-collection\" aria-label=\"View products in the &ldquo;Logo Collection&rdquo; group\" rel=\"nofollow\">View products<\/a>\t<span id=\"woocommerce_loop_add_to_cart_link_describedby_61\" class=\"screen-reader-text\">\n\t\t\t<\/span>\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-49-1\" class=\"ptuwc-product-row ptuwc-product-row-49 instock virtual purchasable needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-49-1\">\n        Select Long Sleeve Tee    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-49-1\" value=\"49\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <a href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/long-sleeve-tee-2.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/long-sleeve-tee-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Long Sleeve Tee\" srcset=\"https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/long-sleeve-tee-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/long-sleeve-tee-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/long-sleeve-tee-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/long-sleeve-tee-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/long-sleeve-tee-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/long-sleeve-tee-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/wptu\/wp-content\/uploads\/sites\/16\/2019\/01\/long-sleeve-tee-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Long Sleeve Tee\t              <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a simple product.    <\/td>\n\n                                                \n    <td class=\"col-categories col-tax\">\n        <a data-term-id=\"28\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/clothing\/\" rel=\"tag\">Clothing<\/a>, <a data-term-id=\"18\" data-taxonomy-slug=\"product_cat\" href=\"https:\/\/pluginrepublic.dev\/wptu\/product-category\/tshirts\/\" rel=\"tag\">Tshirts<\/a>    <\/td>\n\n                                                \n    <td class=\"col-attribute col-attribute-pa_color col-tax\">\n\t            <a href='#' data-term-id='20' data-taxonomy-slug='pa_color'>Green<\/a>    <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&pound;<\/span>25.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/wptu\/product\/long-sleeve-tee\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a5492e0c8914\">Long Sleeve Tee quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a5492e0c8914\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t\t<button type=\"submit\" name=\"add-to-cart\" value=\"49\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                        <\/tbody>\n\t\t\n<tfoot class=\"woocommerce\">\n    <tr>\n                    <td colspan=\"auto\">\n                <form class=\"ptuwc-add-selected\" method=\"post\" enctype='multipart\/form-data'>\n                    <button type=\"submit\" class=\"button selected_add_to_cart_button alt\">\n                        Add selected to cart                    <\/button>\n                <\/form>\n            <\/td>\n                            <td colspan=\"auto\">\n                <nav class=\"woocommerce-pagination\" aria-label=\"Product Pagination\">\n\t<ul class='page-numbers'>\n\t<li><span aria-label=\"Page 1\" aria-current=\"page\" class=\"page-numbers current\">1<\/span><\/li>\n\t<li><a aria-label=\"Page 2\" class=\"page-numbers\" href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/pages\/86?page-b856a38f8363a8a559100b315406c7b8_1=2\">2<\/a><\/li>\n\t<li><a class=\"next page-numbers\" href=\"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/pages\/86?page-b856a38f8363a8a559100b315406c7b8_1=2\">&rarr;<\/a><\/li>\n<\/ul>\n<\/nav>\n            <\/td>\n                    <\/tr>\n<\/tfoot>\n\n\t<\/table>\n\n\t\t\t\t\t\t\n<div class=\"ptuwc-filters-container\" data-table-id=\"b856a38f8363a8a559100b315406c7b8_1\">\n\n\t\t<input type=\"text\" class=\"ptuwc-product-search\" placeholder=\"Search for a product\" value=\"\">\n\n\t\t\t\t\t\t\t\t\t\t<label for=\"product_cat_filter\">Filter by Product categories<\/label>\n\t\t\t<select id=\"product_cat_filter\" name=\"product_cat_filter\" multiple=\"multiple\" class=\"ptuwc-filter-select\" data-taxonomy-slug=\"product_cat\" data-placeholder=\"Product categories\" data-operator=\"OR\">\n\t\t\t\t\t\t\t\t\t<option value=\"16\">Accessories<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"17\">Hoodies<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"18\">Tshirts<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"36\">Bulk Variations<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"28\">Clothing<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"29\">Decor<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"34\">Dessert<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"31\">Mains<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"27\">Music<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"37\">Nuts and Bolts<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"35\">Office<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"38\">Product Examples<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"32\">Sides<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"33\">Starters<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"pa_size_filter\">Filter by Product Size<\/label>\n\t\t\t<select id=\"pa_size_filter\" name=\"pa_size_filter\" multiple=\"multiple\" class=\"ptuwc-filter-select\" data-taxonomy-slug=\"pa_size\" data-placeholder=\"Product Size\" data-operator=\"OR\">\n\t\t\t\t\t\t\t\t\t<option value=\"21\">Large<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"22\">Medium<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"24\">Small<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"pa_color_filter\">Filter by Product Color<\/label>\n\t\t\t<select id=\"pa_color_filter\" name=\"pa_color_filter\" multiple=\"multiple\" class=\"ptuwc-filter-select\" data-taxonomy-slug=\"pa_color\" data-placeholder=\"Product Color\" data-operator=\"OR\">\n\t\t\t\t\t\t\t\t\t<option value=\"19\">Blue<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"25\">Gray<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"20\">Green<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"23\">Red<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"26\">Yellow<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\n\t<div class=\"ptuwc-reset-container\">\n\t\t<span class=\"dashicons dashicons-update\"><\/span>\n\t\tReset\t<\/div>\n<\/div>\n\n\t\t\t\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>A list of products in a table. Each row shows a product thumbnail, name, short description, plus a quantity field and add-to-cart button. You can also select multiple products using the checkboxes down the left, then add all selected products to the cart in one go, using the &#8216;Add Selected to Cart&#8217; button.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-fullwidth.php","meta":{"footnotes":""},"class_list":["post-86","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/pages\/86","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/comments?post=86"}],"version-history":[{"count":18,"href":"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/pages\/86\/revisions"}],"predecessor-version":[{"id":471,"href":"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/pages\/86\/revisions\/471"}],"wp:attachment":[{"href":"https:\/\/pluginrepublic.dev\/wptu\/wp-json\/wp\/v2\/media?parent=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}