$product = {"id":7836767584355,"title":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill","handle":"iphone-14-pro-jellytint-bumper-crossover-design-yn27","description":null,"published_at":"2025-07-14T16:16:59+08:00","created_at":"2025-07-14T09:42:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-osamugoods","device-iPhone 14 Pro","merge","reseller-osamugoods"],"price":128000,"price_min":128000,"price_max":128000,"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":43524840718435,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-YN27","requires_shipping":true,"taxable":true,"featured_image":{"id":34179969941603,"product_id":7836767584355,"position":8,"created_at":"2025-07-14T14:57:46+08:00","updated_at":"2025-07-14T14:57:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e_37895e67-2d85-4538-92be-7e3275701a8d.webp?v=1752476268","variant_ids":[43524840718435]},"available":true,"name":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-YN27","featured_media":{"alt":null,"id":25817115754595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e_37895e67-2d85-4538-92be-7e3275701a8d.webp?v=1752476268"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524843110499,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-YN27","requires_shipping":true,"taxable":true,"featured_image":{"id":34179969515619,"product_id":7836767584355,"position":7,"created_at":"2025-07-14T14:57:46+08:00","updated_at":"2025-07-14T14:57:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385_ba14769d-66da-40ef-b4a2-2e09d010f3ea.webp?v=1752476267","variant_ids":[43524843110499]},"available":true,"name":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620H-YN27","featured_media":{"alt":null,"id":25817115557987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385_ba14769d-66da-40ef-b4a2-2e09d010f3ea.webp?v=1752476267"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524843143267,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-YN27","requires_shipping":true,"taxable":true,"featured_image":{"id":34179969384547,"product_id":7836767584355,"position":6,"created_at":"2025-07-14T14:57:45+08:00","updated_at":"2025-07-14T14:57:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b_62c5ba43-b7d6-4388-92f9-e717eaacec12.webp?v=1752476267","variant_ids":[43524843143267]},"available":true,"name":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-YN27","featured_media":{"alt":null,"id":25817115361379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b_62c5ba43-b7d6-4388-92f9-e717eaacec12.webp?v=1752476267"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524843176035,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-YN27","requires_shipping":true,"taxable":true,"featured_image":{"id":34179968761955,"product_id":7836767584355,"position":5,"created_at":"2025-07-14T14:57:45+08:00","updated_at":"2025-07-14T14:57:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860_f2dea03b-db30-4e54-ad56-c729ae2a9204.webp?v=1752476266","variant_ids":[43524843176035]},"available":true,"name":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620I-YN27","featured_media":{"alt":null,"id":25817115132003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860_f2dea03b-db30-4e54-ad56-c729ae2a9204.webp?v=1752476266"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e.webp?v=1752457371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385.webp?v=1752457372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b.webp?v=1752457373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860.webp?v=1752457374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860_f2dea03b-db30-4e54-ad56-c729ae2a9204.webp?v=1752476266","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b_62c5ba43-b7d6-4388-92f9-e717eaacec12.webp?v=1752476267","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385_ba14769d-66da-40ef-b4a2-2e09d010f3ea.webp?v=1752476267","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e_37895e67-2d85-4538-92be-7e3275701a8d.webp?v=1752476268"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e.webp?v=1752457371","options":["color"],"media":[{"alt":null,"id":25815737270371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e.webp?v=1752457371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e.webp?v=1752457371","width":2000},{"alt":null,"id":25815737335907,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385.webp?v=1752457372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385.webp?v=1752457372","width":2000},{"alt":null,"id":25815737925731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b.webp?v=1752457373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b.webp?v=1752457373","width":2000},{"alt":null,"id":25815738286179,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860.webp?v=1752457374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860.webp?v=1752457374","width":2000},{"alt":null,"id":25817115132003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860_f2dea03b-db30-4e54-ad56-c729ae2a9204.webp?v=1752476266"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860_f2dea03b-db30-4e54-ad56-c729ae2a9204.webp?v=1752476266","width":2000},{"alt":null,"id":25817115361379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b_62c5ba43-b7d6-4388-92f9-e717eaacec12.webp?v=1752476267"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b_62c5ba43-b7d6-4388-92f9-e717eaacec12.webp?v=1752476267","width":2000},{"alt":null,"id":25817115557987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385_ba14769d-66da-40ef-b4a2-2e09d010f3ea.webp?v=1752476267"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385_ba14769d-66da-40ef-b4a2-2e09d010f3ea.webp?v=1752476267","width":2000},{"alt":null,"id":25817115754595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e_37895e67-2d85-4538-92be-7e3275701a8d.webp?v=1752476268"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e_37895e67-2d85-4538-92be-7e3275701a8d.webp?v=1752476268","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43524840718435,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-YN27","requires_shipping":true,"taxable":true,"featured_image":{"id":34179969941603,"product_id":7836767584355,"position":8,"created_at":"2025-07-14T14:57:46+08:00","updated_at":"2025-07-14T14:57:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e_37895e67-2d85-4538-92be-7e3275701a8d.webp?v=1752476268","variant_ids":[43524840718435]},"available":true,"name":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-YN27","featured_media":{"alt":null,"id":25817115754595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e_37895e67-2d85-4538-92be-7e3275701a8d.webp?v=1752476268"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524843110499,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-YN27","requires_shipping":true,"taxable":true,"featured_image":{"id":34179969515619,"product_id":7836767584355,"position":7,"created_at":"2025-07-14T14:57:46+08:00","updated_at":"2025-07-14T14:57:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385_ba14769d-66da-40ef-b4a2-2e09d010f3ea.webp?v=1752476267","variant_ids":[43524843110499]},"available":true,"name":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620H-YN27","featured_media":{"alt":null,"id":25817115557987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56e0ae0a775235c2a97459bdd6cf1c3253a7b385_ba14769d-66da-40ef-b4a2-2e09d010f3ea.webp?v=1752476267"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524843143267,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-YN27","requires_shipping":true,"taxable":true,"featured_image":{"id":34179969384547,"product_id":7836767584355,"position":6,"created_at":"2025-07-14T14:57:45+08:00","updated_at":"2025-07-14T14:57:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b_62c5ba43-b7d6-4388-92f9-e717eaacec12.webp?v=1752476267","variant_ids":[43524843143267]},"available":true,"name":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-YN27","featured_media":{"alt":null,"id":25817115361379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04d2c28d9709175c0201e01a91973e3a4c8a78b_62c5ba43-b7d6-4388-92f9-e717eaacec12.webp?v=1752476267"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524843176035,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-YN27","requires_shipping":true,"taxable":true,"featured_image":{"id":34179968761955,"product_id":7836767584355,"position":5,"created_at":"2025-07-14T14:57:45+08:00","updated_at":"2025-07-14T14:57:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860_f2dea03b-db30-4e54-ad56-c729ae2a9204.webp?v=1752476266","variant_ids":[43524843176035]},"available":true,"name":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620I-YN27","featured_media":{"alt":null,"id":25817115132003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3260559c5c74bc83304e52787034e0b83e85860_f2dea03b-db30-4e54-ad56-c729ae2a9204.webp?v=1752476266"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43524840718435,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-YN27","requires_shipping":true,"taxable":true,"featured_image":{"id":34179969941603,"product_id":7836767584355,"position":8,"created_at":"2025-07-14T14:57:46+08:00","updated_at":"2025-07-14T14:57:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e_37895e67-2d85-4538-92be-7e3275701a8d.webp?v=1752476268","variant_ids":[43524840718435]},"available":true,"name":"iPhone 14 Pro Clear OSAMU GOODS 經典復古系列-Jill - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-YN27","featured_media":{"alt":null,"id":25817115754595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb27a24828a15a835b2ce6fac76e52602ef63b6e_37895e67-2d85-4538-92be-7e3275701a8d.webp?v=1752476268"}},"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: "停產" }