//     <script type="text/javascript">
//         jQuery(function($){
//             function toggleFields() {
//                 var option = $('#pickup_or_ship_option').val();
//                 if (option === 'pickup') {
//                     $('#pickup_location_field').show();
//                     $('.woocommerce-shipping-fields').hide();
//                 } else if (option === 'ship') {
//                     $('#pickup_location_field').hide();
//                     $('.woocommerce-shipping-fields').show();
//                 } else {
//                     $('#pickup_location_field').hide();
//                     $('.woocommerce-shipping-fields').show();
//                 }
//             }

//             toggleFields();
//             $('#pickup_or_ship_option').on('change', function(){
//                 toggleFields();
//             });
//         });
//     </script>
//     {"id":11891,"date":"2024-11-06T07:49:10","date_gmt":"2024-11-06T07:49:10","guid":{"rendered":"http:\/\/localhost\/4run\/?post_type=product&#038;p=11891"},"modified":"2024-11-19T06:46:25","modified_gmt":"2024-11-19T06:46:25","slug":"brooks-w-caldera-7-copy","status":"publish","type":"product","link":"https:\/\/projects.testyourjob.com\/4run\/product\/brooks-w-caldera-7-copy\/","title":{"rendered":"BROOKS W CALDERA 8"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":11751,"template":"","meta":[],"product_brand":[],"product_cat":[62,64,65,66,67,68,69],"product_tag":[],"class_list":{"0":"post-11891","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-brooks","7":"product_cat-homem","8":"product_cat-mulher","9":"product_cat-calcado","10":"product_cat-saldos","11":"product_cat-acessorios","12":"product_cat-marcas","14":"first","15":"instock","16":"sale","17":"shipping-taxable","18":"purchasable","19":"product-type-simple"},"_links":{"self":[{"href":"https:\/\/projects.testyourjob.com\/4run\/wp-json\/wp\/v2\/product\/11891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projects.testyourjob.com\/4run\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/projects.testyourjob.com\/4run\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/projects.testyourjob.com\/4run\/wp-json\/wp\/v2\/media\/11751"}],"wp:attachment":[{"href":"https:\/\/projects.testyourjob.com\/4run\/wp-json\/wp\/v2\/media?parent=11891"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/projects.testyourjob.com\/4run\/wp-json\/wp\/v2\/product_brand?post=11891"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/projects.testyourjob.com\/4run\/wp-json\/wp\/v2\/product_cat?post=11891"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/projects.testyourjob.com\/4run\/wp-json\/wp\/v2\/product_tag?post=11891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}