$product = {"id":7836804677731,"title":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill","handle":"airpods-1-airpods-case-bundle-front-crossover-design-yn44","description":null,"published_at":"2025-07-14T16:02:34+08:00","created_at":"2025-07-14T10:05:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-osamugoods","device-Airpods 1","merge","reseller-osamugoods"],"price":75000,"price_min":75000,"price_max":75000,"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":43524954194019,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-YN44","requires_shipping":true,"taxable":true,"featured_image":{"id":34180165566563,"product_id":7836804677731,"position":7,"created_at":"2025-07-14T15:03:02+08:00","updated_at":"2025-07-14T15:03:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59_310a19f3-b6b4-4b7b-a42a-437262706cf4.webp?v=1752476583","variant_ids":[43524954194019]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0117057-YN44","featured_media":{"alt":null,"id":25817212878947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59_310a19f3-b6b4-4b7b-a42a-437262706cf4.webp?v=1752476583"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524954882147,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01170R4-YN44","requires_shipping":true,"taxable":true,"featured_image":{"id":34180164583523,"product_id":7836804677731,"position":5,"created_at":"2025-07-14T15:02:57+08:00","updated_at":"2025-07-14T15:02:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3_229d0c34-31e9-4f68-9b6e-eb2f63943921.webp?v=1752476579","variant_ids":[43524954882147]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01170R4-YN44","featured_media":{"alt":null,"id":25817211994211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3_229d0c34-31e9-4f68-9b6e-eb2f63943921.webp?v=1752476579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524954914915,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01170O8-YN44","requires_shipping":true,"taxable":true,"featured_image":{"id":34180164780131,"product_id":7836804677731,"position":6,"created_at":"2025-07-14T15:02:58+08:00","updated_at":"2025-07-14T15:03:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78_45f0547c-8e0d-43f6-b1b2-b33c7db9e5b3.webp?v=1752476580","variant_ids":[43524954914915]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01170O8-YN44","featured_media":{"alt":null,"id":25817212485731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78_45f0547c-8e0d-43f6-b1b2-b33c7db9e5b3.webp?v=1752476580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524954947683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0117052-YN44","requires_shipping":true,"taxable":true,"featured_image":{"id":34180165861475,"product_id":7836804677731,"position":8,"created_at":"2025-07-14T15:03:02+08:00","updated_at":"2025-07-14T15:03:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd_1dc4d266-80b8-4e63-b566-733cf239f1d1.webp?v=1752476584","variant_ids":[43524954947683]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill - Black","public_title":"Black","options":["Black"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0117052-YN44","featured_media":{"alt":null,"id":25817212944483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd_1dc4d266-80b8-4e63-b566-733cf239f1d1.webp?v=1752476584"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3.webp?v=1752458755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd.webp?v=1752458756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59.webp?v=1752458756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78.webp?v=1752458757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3_229d0c34-31e9-4f68-9b6e-eb2f63943921.webp?v=1752476579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78_45f0547c-8e0d-43f6-b1b2-b33c7db9e5b3.webp?v=1752476580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59_310a19f3-b6b4-4b7b-a42a-437262706cf4.webp?v=1752476583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd_1dc4d266-80b8-4e63-b566-733cf239f1d1.webp?v=1752476584"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3.webp?v=1752458755","options":["color"],"media":[{"alt":null,"id":25815912022115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3.webp?v=1752458755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3.webp?v=1752458755","width":2000},{"alt":null,"id":25815912317027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd.webp?v=1752458756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd.webp?v=1752458756","width":2000},{"alt":null,"id":25815912448099,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59.webp?v=1752458756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59.webp?v=1752458756","width":2000},{"alt":null,"id":25815912513635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78.webp?v=1752458757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78.webp?v=1752458757","width":2000},{"alt":null,"id":25817211994211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3_229d0c34-31e9-4f68-9b6e-eb2f63943921.webp?v=1752476579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3_229d0c34-31e9-4f68-9b6e-eb2f63943921.webp?v=1752476579","width":2000},{"alt":null,"id":25817212485731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78_45f0547c-8e0d-43f6-b1b2-b33c7db9e5b3.webp?v=1752476580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78_45f0547c-8e0d-43f6-b1b2-b33c7db9e5b3.webp?v=1752476580","width":2000},{"alt":null,"id":25817212878947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59_310a19f3-b6b4-4b7b-a42a-437262706cf4.webp?v=1752476583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59_310a19f3-b6b4-4b7b-a42a-437262706cf4.webp?v=1752476583","width":2000},{"alt":null,"id":25817212944483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd_1dc4d266-80b8-4e63-b566-733cf239f1d1.webp?v=1752476584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd_1dc4d266-80b8-4e63-b566-733cf239f1d1.webp?v=1752476584","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43524954194019,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-YN44","requires_shipping":true,"taxable":true,"featured_image":{"id":34180165566563,"product_id":7836804677731,"position":7,"created_at":"2025-07-14T15:03:02+08:00","updated_at":"2025-07-14T15:03:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59_310a19f3-b6b4-4b7b-a42a-437262706cf4.webp?v=1752476583","variant_ids":[43524954194019]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0117057-YN44","featured_media":{"alt":null,"id":25817212878947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59_310a19f3-b6b4-4b7b-a42a-437262706cf4.webp?v=1752476583"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524954882147,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01170R4-YN44","requires_shipping":true,"taxable":true,"featured_image":{"id":34180164583523,"product_id":7836804677731,"position":5,"created_at":"2025-07-14T15:02:57+08:00","updated_at":"2025-07-14T15:02:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3_229d0c34-31e9-4f68-9b6e-eb2f63943921.webp?v=1752476579","variant_ids":[43524954882147]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01170R4-YN44","featured_media":{"alt":null,"id":25817211994211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a256dfcb9a15d79ef6ad7bfd52b52c75cddacd3_229d0c34-31e9-4f68-9b6e-eb2f63943921.webp?v=1752476579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524954914915,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01170O8-YN44","requires_shipping":true,"taxable":true,"featured_image":{"id":34180164780131,"product_id":7836804677731,"position":6,"created_at":"2025-07-14T15:02:58+08:00","updated_at":"2025-07-14T15:03:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78_45f0547c-8e0d-43f6-b1b2-b33c7db9e5b3.webp?v=1752476580","variant_ids":[43524954914915]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01170O8-YN44","featured_media":{"alt":null,"id":25817212485731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a78e5ffafb1d96a470134d387050eeb57718a78_45f0547c-8e0d-43f6-b1b2-b33c7db9e5b3.webp?v=1752476580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524954947683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0117052-YN44","requires_shipping":true,"taxable":true,"featured_image":{"id":34180165861475,"product_id":7836804677731,"position":8,"created_at":"2025-07-14T15:03:02+08:00","updated_at":"2025-07-14T15:03:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd_1dc4d266-80b8-4e63-b566-733cf239f1d1.webp?v=1752476584","variant_ids":[43524954947683]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill - Black","public_title":"Black","options":["Black"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0117052-YN44","featured_media":{"alt":null,"id":25817212944483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4d78d8291ebb2a5d3119c83f2c548139a198acd_1dc4d266-80b8-4e63-b566-733cf239f1d1.webp?v=1752476584"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43524954194019,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-YN44","requires_shipping":true,"taxable":true,"featured_image":{"id":34180165566563,"product_id":7836804677731,"position":7,"created_at":"2025-07-14T15:03:02+08:00","updated_at":"2025-07-14T15:03:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59_310a19f3-b6b4-4b7b-a42a-437262706cf4.webp?v=1752476583","variant_ids":[43524954194019]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Jill - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0117057-YN44","featured_media":{"alt":null,"id":25817212878947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c73637f92c65cd0cec0c983d69fe61791e53c59_310a19f3-b6b4-4b7b-a42a-437262706cf4.webp?v=1752476583"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }