Storage Time – PET bottles should be used in a First In, First Out system to limit the time stored. It is recommended that the bottles are filled with the intended product immediately or within 7-14 calendar days of receipt as empty PET bottles are more vulnerable to fluctuating temperature and humidity.
Storage Temperature and Humidity– Elevated storage temperatures (above 100°F/38°C) allow empty PET bottles to further shrink, mainly due to relaxation of the oriented and partially oriented regions of the bottle. Extreme temperature conditions (above 131°F/55°C) can cause severe distortion of the amorphous areas of the bottle, including the finish and neck. The recommended humidity is between 40-60%. Moderate storage temperature and humidity should be provided to insure consistent bottle dimensions and properties.
Surface Contamination – Storage area should be kept clean, dry, dust, odor, insect, and rodent free. PET bottles should not be stored in direct sunlight. Aromatic materials such as spices, solvents, ink, cleaning supplies, and disinfectants should not be stored in the same area as PET bottles.
Shipping Conditions – It is recommended when empty PET bottles are shipped to or through areas where outdoor temperatures may exceed 90°F/32°C a temperature controlled container or trailer capable of maintaining a temperature of 80°F/27°C or lower be used.
Choosing a selection results in a full page refresh.
{"id":7407100461265,"title":"NCR - 1 PACK ( 162 PCS ) - 500ML COSMO ROUND PET BOTTLE 2024","handle":"ncr-1-pack-162-pcs-500ml-cosmo-round-pet-bottle-2024","description":"\u003cdiv style=\"text-align: left;\"\u003e\u003cimg style=\"float: none;\" alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0627\/5134\/2801\/files\/Final_Draft_15_c17fed65-470c-4695-93c7-5c44ced1989c_480x480.png?v=1714125745\"\u003e\u003c\/div\u003e\n\u003c!-- HTML for the calculator --\u003e\n\u003cdiv id=\"custom-calculator\" style=\"text-align: center;\"\u003e\n \u003cp id=\"result\" style=\"font-weight: bold;\"\u003eCalculating...\u003c\/p\u003e\n\u003c\/div\u003e\n\n\u003cscript\u003e\n \/\/ Function to calculate price per piece\n function calculatePricePerPiece() {\n \/\/ Get the product price element\n var priceElement = document.querySelector(\".price__regular .price-item--regular\");\n \n \/\/ Check if the price element is found\n if (priceElement) {\n \/\/ Extract the text content and remove non-numeric characters\n var priceText = priceElement.textContent.trim();\n var price = parseFloat(priceText.replace(\/[^\\d.]\/g, ''));\n\n \/\/ Check if price is a valid number\n if (!isNaN(price)) {\n \/\/ Calculate the price per piece by dividing the product price by 1188\n var pricePerPiece = price \/ 162;\n\n \/\/ Update the displayed result\n document.getElementById(\"result\").innerHTML = \"Price per piece: \u003cspan style='font-weight: bold;'\u003e\" + pricePerPiece.toFixed(2) + \"\u003c\/span\u003e PHP\";\n } else {\n \/\/ If price is not a valid number, display an error message\n document.getElementById(\"result\").innerHTML = \"Error: Unable to retrieve product price\";\n }\n } else {\n \/\/ If price element is not found, display an error message\n document.getElementById(\"result\").innerHTML = \"Error: Product price element not found\";\n }\n }\n\n \/\/ Function to observe changes in product price\n function observeProductPriceChanges() {\n \/\/ Select the target node for mutation observation\n var targetNode = document.querySelector('.price');\n\n \/\/ Options for the observer (which mutations to observe)\n var config = { childList: true, subtree: true };\n\n \/\/ Callback function to execute when mutations are observed\n var callback = function(mutationsList, observer) {\n for(var mutation of mutationsList) {\n if (mutation.type === 'childList') {\n \/\/ Calculate and update the price per piece when the product price changes\n calculatePricePerPiece();\n }\n }\n };\n\n \/\/ Create an observer instance linked to the callback function\n var observer = new MutationObserver(callback);\n\n \/\/ Start observing the target node for configured mutations\n observer.observe(targetNode, config);\n }\n\n \/\/ Call the function to calculate initial price per piece\n calculatePricePerPiece();\n\n \/\/ Call the function to observe changes in product price\n observeProductPriceChanges();\n\u003c\/script\u003e\n","published_at":"2024-04-26T18:08:49+08:00","created_at":"2024-04-26T18:02:08+08:00","vendor":"Innovpack","type":"","tags":["500ML","NCR"],"price":185328,"price_min":185328,"price_max":185328,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":42071724425425,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"INV.500H SFY","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"NCR - 1 PACK ( 162 PCS ) - 500ML COSMO ROUND PET BOTTLE 2024","public_title":null,"options":["Default Title"],"price":185328,"weight":20000,"compare_at_price":null,"inventory_management":null,"barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.innovpack.ph\/cdn\/shop\/files\/500H.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/generalguide_1d92c314-4d45-4c2b-bc2e-051febf47fa7.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/packing_249beee2-5615-4129-8676-2016b79c6b91.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/500HClosureFamily_049c384e-45ca-4177-a8ad-284e8ae12226.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/500ml-1l_4bbd14e1-3c00-4e38-a501-febac9710888.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/500mllabel_8fb27f31-10e6-4769-bfd0-09b09725db70.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H_530c6ef3-17ab-4cc0-aafa-920b54804580.jpg?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-1053_1fb4b549-0539-428b-9fe1-30f545eb081e.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.06_cb086c20-de5c-4f54-8d98-484b53bd3813.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-FFC01_99f22b74-cd2f-4d51-b164-3d30de7283fc.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-867.28_bccee262-d2f5-461a-b788-917a066fb68b.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.03A.28_fb722343-6ff2-4424-b5a3-b776326ffd9a.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-899.28B_de546400-d403-4d8c-8297-9faa32375ed9.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-891.28_ec0b868e-e8ef-43aa-8e24-a475f0332fa3.png?v=1714125791","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500G_2_a641b78b-4f4d-4ea6-9618-d346bf3f863d.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.01_25e0f298-f91a-43ab-8a29-9f2b8e9904d1.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.T2011B_c382cb94-9ab8-42d6-95b1-18afe2e96dd0.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK_770efa13-fdc1-4762-9fd1-cb70dab5c184.jpg?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO-1053.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.06.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-FFC01.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO-867.28.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.03A.28.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO-899.28.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO.891.28.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500G_1_7fca9df2-7947-45f1-87c5-5a031e5cd01b.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.01.png?v=1715825999","\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.T2011B.png?v=1715825999"],"featured_image":"\/\/www.innovpack.ph\/cdn\/shop\/files\/500H.png?v=1714125791","options":["Title"],"media":[{"alt":null,"id":23993462489297,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/500H.png?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/500H.png?v=1714125791","width":1080},{"alt":null,"id":23993461866705,"position":2,"preview_image":{"aspect_ratio":1.0,"height":3375,"width":3375,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/generalguide_1d92c314-4d45-4c2b-bc2e-051febf47fa7.png?v=1714125791"},"aspect_ratio":1.0,"height":3375,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/generalguide_1d92c314-4d45-4c2b-bc2e-051febf47fa7.png?v=1714125791","width":3375},{"alt":null,"id":23993461899473,"position":3,"preview_image":{"aspect_ratio":1.0,"height":3375,"width":3375,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/packing_249beee2-5615-4129-8676-2016b79c6b91.png?v=1714125791"},"aspect_ratio":1.0,"height":3375,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/packing_249beee2-5615-4129-8676-2016b79c6b91.png?v=1714125791","width":3375},{"alt":null,"id":23993461932241,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/500HClosureFamily_049c384e-45ca-4177-a8ad-284e8ae12226.png?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/500HClosureFamily_049c384e-45ca-4177-a8ad-284e8ae12226.png?v=1714125791","width":1080},{"alt":null,"id":23993461965009,"position":5,"preview_image":{"aspect_ratio":1.0,"height":3375,"width":3375,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/500ml-1l_4bbd14e1-3c00-4e38-a501-febac9710888.png?v=1714125791"},"aspect_ratio":1.0,"height":3375,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/500ml-1l_4bbd14e1-3c00-4e38-a501-febac9710888.png?v=1714125791","width":3375},{"alt":null,"id":23993461997777,"position":6,"preview_image":{"aspect_ratio":1.0,"height":3375,"width":3375,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/500mllabel_8fb27f31-10e6-4769-bfd0-09b09725db70.png?v=1714125791"},"aspect_ratio":1.0,"height":3375,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/500mllabel_8fb27f31-10e6-4769-bfd0-09b09725db70.png?v=1714125791","width":3375},{"alt":null,"id":23993462030545,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H_530c6ef3-17ab-4cc0-aafa-920b54804580.jpg?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H_530c6ef3-17ab-4cc0-aafa-920b54804580.jpg?v=1714125791","width":1080},{"alt":null,"id":23993462063313,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-1053_1fb4b549-0539-428b-9fe1-30f545eb081e.png?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-1053_1fb4b549-0539-428b-9fe1-30f545eb081e.png?v=1714125791","width":1080},{"alt":null,"id":23993462096081,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.06_cb086c20-de5c-4f54-8d98-484b53bd3813.png?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.06_cb086c20-de5c-4f54-8d98-484b53bd3813.png?v=1714125791","width":1080},{"alt":null,"id":23993462128849,"position":10,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-FFC01_99f22b74-cd2f-4d51-b164-3d30de7283fc.png?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-FFC01_99f22b74-cd2f-4d51-b164-3d30de7283fc.png?v=1714125791","width":1080},{"alt":null,"id":23993462161617,"position":11,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-867.28_bccee262-d2f5-461a-b788-917a066fb68b.png?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-867.28_bccee262-d2f5-461a-b788-917a066fb68b.png?v=1714125791","width":1080},{"alt":null,"id":23993462194385,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.03A.28_fb722343-6ff2-4424-b5a3-b776326ffd9a.png?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.03A.28_fb722343-6ff2-4424-b5a3-b776326ffd9a.png?v=1714125791","width":1080},{"alt":null,"id":23993462227153,"position":13,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-899.28B_de546400-d403-4d8c-8297-9faa32375ed9.png?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-899.28B_de546400-d403-4d8c-8297-9faa32375ed9.png?v=1714125791","width":1080},{"alt":null,"id":23993462259921,"position":14,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-891.28_ec0b868e-e8ef-43aa-8e24-a475f0332fa3.png?v=1714125791"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INSO-891.28_ec0b868e-e8ef-43aa-8e24-a475f0332fa3.png?v=1714125791","width":1080},{"alt":null,"id":24055540121809,"position":15,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500G_2_a641b78b-4f4d-4ea6-9618-d346bf3f863d.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500G_2_a641b78b-4f4d-4ea6-9618-d346bf3f863d.png?v=1715825999","width":1080},{"alt":null,"id":23993462292689,"position":16,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.01_25e0f298-f91a-43ab-8a29-9f2b8e9904d1.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.01_25e0f298-f91a-43ab-8a29-9f2b8e9904d1.png?v=1715825999","width":1080},{"alt":null,"id":23993462325457,"position":17,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.T2011B_c382cb94-9ab8-42d6-95b1-18afe2e96dd0.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500H-INCL.T2011B_c382cb94-9ab8-42d6-95b1-18afe2e96dd0.png?v=1715825999","width":1080},{"alt":null,"id":24055540482257,"position":18,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK_770efa13-fdc1-4762-9fd1-cb70dab5c184.jpg?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK_770efa13-fdc1-4762-9fd1-cb70dab5c184.jpg?v=1715825999","width":1080},{"alt":null,"id":24055540777169,"position":19,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO-1053.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO-1053.png?v=1715825999","width":1080},{"alt":null,"id":24055540613329,"position":20,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.06.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.06.png?v=1715825999","width":1080},{"alt":null,"id":24055540449489,"position":21,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-FFC01.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-FFC01.png?v=1715825999","width":1080},{"alt":null,"id":24055540711633,"position":22,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO-867.28.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO-867.28.png?v=1715825999","width":1080},{"alt":null,"id":24055540580561,"position":23,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.03A.28.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.03A.28.png?v=1715825999","width":1080},{"alt":null,"id":24055540744401,"position":24,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO-899.28.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO-899.28.png?v=1715825999","width":1080},{"alt":null,"id":24055540678865,"position":25,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO.891.28.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INSO.891.28.png?v=1715825999","width":1080},{"alt":null,"id":24055554080977,"position":26,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500G_1_7fca9df2-7947-45f1-87c5-5a031e5cd01b.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500G_1_7fca9df2-7947-45f1-87c5-5a031e5cd01b.png?v=1715825999","width":1080},{"alt":null,"id":24055540547793,"position":27,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.01.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.01.png?v=1715825999","width":1080},{"alt":null,"id":24055540646097,"position":28,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.T2011B.png?v=1715825999"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.innovpack.ph\/cdn\/shop\/files\/INV.500HBLK-INCL.T2011B.png?v=1715825999","width":1080}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cdiv style=\"text-align: left;\"\u003e\u003cimg style=\"float: none;\" alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0627\/5134\/2801\/files\/Final_Draft_15_c17fed65-470c-4695-93c7-5c44ced1989c_480x480.png?v=1714125745\"\u003e\u003c\/div\u003e\n\u003c!-- HTML for the calculator --\u003e\n\u003cdiv id=\"custom-calculator\" style=\"text-align: center;\"\u003e\n \u003cp id=\"result\" style=\"font-weight: bold;\"\u003eCalculating...\u003c\/p\u003e\n\u003c\/div\u003e\n\n\u003cscript\u003e\n \/\/ Function to calculate price per piece\n function calculatePricePerPiece() {\n \/\/ Get the product price element\n var priceElement = document.querySelector(\".price__regular .price-item--regular\");\n \n \/\/ Check if the price element is found\n if (priceElement) {\n \/\/ Extract the text content and remove non-numeric characters\n var priceText = priceElement.textContent.trim();\n var price = parseFloat(priceText.replace(\/[^\\d.]\/g, ''));\n\n \/\/ Check if price is a valid number\n if (!isNaN(price)) {\n \/\/ Calculate the price per piece by dividing the product price by 1188\n var pricePerPiece = price \/ 162;\n\n \/\/ Update the displayed result\n document.getElementById(\"result\").innerHTML = \"Price per piece: \u003cspan style='font-weight: bold;'\u003e\" + pricePerPiece.toFixed(2) + \"\u003c\/span\u003e PHP\";\n } else {\n \/\/ If price is not a valid number, display an error message\n document.getElementById(\"result\").innerHTML = \"Error: Unable to retrieve product price\";\n }\n } else {\n \/\/ If price element is not found, display an error message\n document.getElementById(\"result\").innerHTML = \"Error: Product price element not found\";\n }\n }\n\n \/\/ Function to observe changes in product price\n function observeProductPriceChanges() {\n \/\/ Select the target node for mutation observation\n var targetNode = document.querySelector('.price');\n\n \/\/ Options for the observer (which mutations to observe)\n var config = { childList: true, subtree: true };\n\n \/\/ Callback function to execute when mutations are observed\n var callback = function(mutationsList, observer) {\n for(var mutation of mutationsList) {\n if (mutation.type === 'childList') {\n \/\/ Calculate and update the price per piece when the product price changes\n calculatePricePerPiece();\n }\n }\n };\n\n \/\/ Create an observer instance linked to the callback function\n var observer = new MutationObserver(callback);\n\n \/\/ Start observing the target node for configured mutations\n observer.observe(targetNode, config);\n }\n\n \/\/ Call the function to calculate initial price per piece\n calculatePricePerPiece();\n\n \/\/ Call the function to observe changes in product price\n observeProductPriceChanges();\n\u003c\/script\u003e\n"}