$product = {"id":7836805496931,"title":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog","handle":"airpods-1-airpods-case-bundle-front-crossover-design-yn46","description":null,"published_at":"2025-07-14T16:02:15+08:00","created_at":"2025-07-14T10:06:08+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":43524955603043,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-YN46","requires_shipping":true,"taxable":true,"featured_image":{"id":34179698917475,"product_id":7836805496931,"position":7,"created_at":"2025-07-14T14:49:55+08:00","updated_at":"2025-07-14T14:49:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3_611e214e-f58c-4434-af86-a7d5b7179121.webp?v=1752475796","variant_ids":[43524955603043]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog - 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-YN46","featured_media":{"alt":null,"id":25816961679459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3_611e214e-f58c-4434-af86-a7d5b7179121.webp?v=1752475796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524956880995,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01170R4-YN46","requires_shipping":true,"taxable":true,"featured_image":{"id":34179698393187,"product_id":7836805496931,"position":5,"created_at":"2025-07-14T14:49:53+08:00","updated_at":"2025-07-14T14:49:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093_701b7efd-8a71-4061-9bae-fb19bd5d73f7.webp?v=1752475795","variant_ids":[43524956880995]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog - 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-YN46","featured_media":{"alt":null,"id":25816961417315,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093_701b7efd-8a71-4061-9bae-fb19bd5d73f7.webp?v=1752475795"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524956913763,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01170O8-YN46","requires_shipping":true,"taxable":true,"featured_image":{"id":34179699048547,"product_id":7836805496931,"position":8,"created_at":"2025-07-14T14:49:55+08:00","updated_at":"2025-07-14T14:49:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c_f868e769-116a-4bf0-8326-2c492c4ae81b.webp?v=1752475797","variant_ids":[43524956913763]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog - 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-YN46","featured_media":{"alt":null,"id":25816961777763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c_f868e769-116a-4bf0-8326-2c492c4ae81b.webp?v=1752475797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524956946531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0117052-YN46","requires_shipping":true,"taxable":true,"featured_image":{"id":34179698557027,"product_id":7836805496931,"position":6,"created_at":"2025-07-14T14:49:54+08:00","updated_at":"2025-07-14T14:49:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30_9a7808e0-0a87-4a60-863d-f6aa410f2698.webp?v=1752475796","variant_ids":[43524956946531]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog - 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-YN46","featured_media":{"alt":null,"id":25816961515619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30_9a7808e0-0a87-4a60-863d-f6aa410f2698.webp?v=1752475796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30.webp?v=1752458773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3.webp?v=1752458774","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093.webp?v=1752458775","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c.webp?v=1752458776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093_701b7efd-8a71-4061-9bae-fb19bd5d73f7.webp?v=1752475795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30_9a7808e0-0a87-4a60-863d-f6aa410f2698.webp?v=1752475796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3_611e214e-f58c-4434-af86-a7d5b7179121.webp?v=1752475796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c_f868e769-116a-4bf0-8326-2c492c4ae81b.webp?v=1752475797"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30.webp?v=1752458773","options":["color"],"media":[{"alt":null,"id":25815918510179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30.webp?v=1752458773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30.webp?v=1752458773","width":2000},{"alt":null,"id":25815918837859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3.webp?v=1752458774"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3.webp?v=1752458774","width":2000},{"alt":null,"id":25815919001699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093.webp?v=1752458775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093.webp?v=1752458775","width":2000},{"alt":null,"id":25815919329379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c.webp?v=1752458776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c.webp?v=1752458776","width":2000},{"alt":null,"id":25816961417315,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093_701b7efd-8a71-4061-9bae-fb19bd5d73f7.webp?v=1752475795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093_701b7efd-8a71-4061-9bae-fb19bd5d73f7.webp?v=1752475795","width":2000},{"alt":null,"id":25816961515619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30_9a7808e0-0a87-4a60-863d-f6aa410f2698.webp?v=1752475796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30_9a7808e0-0a87-4a60-863d-f6aa410f2698.webp?v=1752475796","width":2000},{"alt":null,"id":25816961679459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3_611e214e-f58c-4434-af86-a7d5b7179121.webp?v=1752475796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3_611e214e-f58c-4434-af86-a7d5b7179121.webp?v=1752475796","width":2000},{"alt":null,"id":25816961777763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c_f868e769-116a-4bf0-8326-2c492c4ae81b.webp?v=1752475797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c_f868e769-116a-4bf0-8326-2c492c4ae81b.webp?v=1752475797","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43524955603043,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-YN46","requires_shipping":true,"taxable":true,"featured_image":{"id":34179698917475,"product_id":7836805496931,"position":7,"created_at":"2025-07-14T14:49:55+08:00","updated_at":"2025-07-14T14:49:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3_611e214e-f58c-4434-af86-a7d5b7179121.webp?v=1752475796","variant_ids":[43524955603043]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog - 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-YN46","featured_media":{"alt":null,"id":25816961679459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3_611e214e-f58c-4434-af86-a7d5b7179121.webp?v=1752475796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524956880995,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01170R4-YN46","requires_shipping":true,"taxable":true,"featured_image":{"id":34179698393187,"product_id":7836805496931,"position":5,"created_at":"2025-07-14T14:49:53+08:00","updated_at":"2025-07-14T14:49:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093_701b7efd-8a71-4061-9bae-fb19bd5d73f7.webp?v=1752475795","variant_ids":[43524956880995]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog - 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-YN46","featured_media":{"alt":null,"id":25816961417315,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d35fbfa9e1edebbb89df7599b120e8971b6093_701b7efd-8a71-4061-9bae-fb19bd5d73f7.webp?v=1752475795"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524956913763,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01170O8-YN46","requires_shipping":true,"taxable":true,"featured_image":{"id":34179699048547,"product_id":7836805496931,"position":8,"created_at":"2025-07-14T14:49:55+08:00","updated_at":"2025-07-14T14:49:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c_f868e769-116a-4bf0-8326-2c492c4ae81b.webp?v=1752475797","variant_ids":[43524956913763]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog - 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-YN46","featured_media":{"alt":null,"id":25816961777763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7850f7533301af34c582d7818a0e1833c71b2e3c_f868e769-116a-4bf0-8326-2c492c4ae81b.webp?v=1752475797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524956946531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0117052-YN46","requires_shipping":true,"taxable":true,"featured_image":{"id":34179698557027,"product_id":7836805496931,"position":6,"created_at":"2025-07-14T14:49:54+08:00","updated_at":"2025-07-14T14:49:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30_9a7808e0-0a87-4a60-863d-f6aa410f2698.webp?v=1752475796","variant_ids":[43524956946531]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog - 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-YN46","featured_media":{"alt":null,"id":25816961515619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14275f443207c0b3f451ea535a1874a41cf81a30_9a7808e0-0a87-4a60-863d-f6aa410f2698.webp?v=1752475796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43524955603043,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-YN46","requires_shipping":true,"taxable":true,"featured_image":{"id":34179698917475,"product_id":7836805496931,"position":7,"created_at":"2025-07-14T14:49:55+08:00","updated_at":"2025-07-14T14:49:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3_611e214e-f58c-4434-af86-a7d5b7179121.webp?v=1752475796","variant_ids":[43524955603043]},"available":true,"name":"AirPods 1 AirPods Case OSAMU GOODS 無線框系列-Dog - 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-YN46","featured_media":{"alt":null,"id":25816961679459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e56ada26463ff1096ee038c9c04a15a7971a0b3_611e214e-f58c-4434-af86-a7d5b7179121.webp?v=1752475796"}},"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: "停產" }