$product = {"id":7921967726691,"title":"iPhone 14 Plus Mod NX TOCOROCOMUGI 麵包出爐貓","handle":"iphone-14-plus-mod-nx-toc02","description":null,"published_at":"2025-11-14T08:21:15+08:00","created_at":"2025-11-13T10:20:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tocorocomugi","device-iPhone 14 Plus","merge","reseller-tocorocomugi"],"price":90000,"price_min":90000,"price_max":90000,"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":43834730086499,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-TOC02","requires_shipping":true,"taxable":true,"featured_image":{"id":34794136043619,"product_id":7921967726691,"position":5,"created_at":"2025-11-13T10:20:18+08:00","updated_at":"2025-11-13T10:20:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3dfe2884f3e3e9b4bad6ada33afd3d274880983.webp?v=1763000420","variant_ids":[43834730086499]},"available":true,"name":"iPhone 14 Plus Mod NX TOCOROCOMUGI 麵包出爐貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-TOC02","featured_media":{"alt":null,"id":26359555489891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3dfe2884f3e3e9b4bad6ada33afd3d274880983.webp?v=1763000420"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072e5c6eeeb41c35492595c1a0965197307d81d.webp?v=1763000417","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9cd2096f96970b5665d81857fbef93685b1d8ed.webp?v=1763000418","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7a7348aef978f4f8a18c1a8a279facaa142ce4.webp?v=1763000419","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf34a2bd4b972ad2748da7a5ef84d225f604184.webp?v=1763000419","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3dfe2884f3e3e9b4bad6ada33afd3d274880983.webp?v=1763000420","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edeeed52f1266d4077d871f9e3e545d47c651ff.webp?v=1763000422","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee4d1e5d9ba96120327e828726ac44f064b6f2e.webp?v=1763000423","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fad81b9ebe6b300299643afdc177af417fd4f409.webp?v=1763000423","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbbafb205ecb228c1ebd1c1a25ba92736111abc6.webp?v=1763000425","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5844f329c94b213699c6f4d9a89eefba6a26dd10.webp?v=1763000426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d5cfc093d5da82685afb83c23ce0d41635a6312.webp?v=1763000427","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71f39c862f92ad8e9edc4a6b20bed04a8d0125aa.webp?v=1763000427","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5460cf5ec62f4a43a2e0f26233d0191c41dc38d5.webp?v=1763000428"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072e5c6eeeb41c35492595c1a0965197307d81d.webp?v=1763000417","options":["color"],"media":[{"alt":null,"id":26359554768995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072e5c6eeeb41c35492595c1a0965197307d81d.webp?v=1763000417"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5072e5c6eeeb41c35492595c1a0965197307d81d.webp?v=1763000417","width":2000},{"alt":null,"id":26359555031139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9cd2096f96970b5665d81857fbef93685b1d8ed.webp?v=1763000418"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9cd2096f96970b5665d81857fbef93685b1d8ed.webp?v=1763000418","width":2000},{"alt":null,"id":26359555162211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7a7348aef978f4f8a18c1a8a279facaa142ce4.webp?v=1763000419"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7a7348aef978f4f8a18c1a8a279facaa142ce4.webp?v=1763000419","width":2000},{"alt":null,"id":26359555326051,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf34a2bd4b972ad2748da7a5ef84d225f604184.webp?v=1763000419"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf34a2bd4b972ad2748da7a5ef84d225f604184.webp?v=1763000419","width":2000},{"alt":null,"id":26359555489891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3dfe2884f3e3e9b4bad6ada33afd3d274880983.webp?v=1763000420"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3dfe2884f3e3e9b4bad6ada33afd3d274880983.webp?v=1763000420","width":2000},{"alt":null,"id":26359555981411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edeeed52f1266d4077d871f9e3e545d47c651ff.webp?v=1763000422"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edeeed52f1266d4077d871f9e3e545d47c651ff.webp?v=1763000422","width":2000},{"alt":null,"id":26359556210787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee4d1e5d9ba96120327e828726ac44f064b6f2e.webp?v=1763000423"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee4d1e5d9ba96120327e828726ac44f064b6f2e.webp?v=1763000423","width":2000},{"alt":null,"id":26359556407395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fad81b9ebe6b300299643afdc177af417fd4f409.webp?v=1763000423"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fad81b9ebe6b300299643afdc177af417fd4f409.webp?v=1763000423","width":2000},{"alt":null,"id":26359556997219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbbafb205ecb228c1ebd1c1a25ba92736111abc6.webp?v=1763000425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbbafb205ecb228c1ebd1c1a25ba92736111abc6.webp?v=1763000425","width":2000},{"alt":null,"id":26359557423203,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5844f329c94b213699c6f4d9a89eefba6a26dd10.webp?v=1763000426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5844f329c94b213699c6f4d9a89eefba6a26dd10.webp?v=1763000426","width":2000},{"alt":null,"id":26359557750883,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d5cfc093d5da82685afb83c23ce0d41635a6312.webp?v=1763000427"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d5cfc093d5da82685afb83c23ce0d41635a6312.webp?v=1763000427","width":2000},{"alt":null,"id":26359557980259,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71f39c862f92ad8e9edc4a6b20bed04a8d0125aa.webp?v=1763000427"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71f39c862f92ad8e9edc4a6b20bed04a8d0125aa.webp?v=1763000427","width":2000},{"alt":null,"id":26359558242403,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5460cf5ec62f4a43a2e0f26233d0191c41dc38d5.webp?v=1763000428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5460cf5ec62f4a43a2e0f26233d0191c41dc38d5.webp?v=1763000428","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43834730086499,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-TOC02","requires_shipping":true,"taxable":true,"featured_image":{"id":34794136043619,"product_id":7921967726691,"position":5,"created_at":"2025-11-13T10:20:18+08:00","updated_at":"2025-11-13T10:20:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3dfe2884f3e3e9b4bad6ada33afd3d274880983.webp?v=1763000420","variant_ids":[43834730086499]},"available":true,"name":"iPhone 14 Plus Mod NX TOCOROCOMUGI 麵包出爐貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-TOC02","featured_media":{"alt":null,"id":26359555489891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3dfe2884f3e3e9b4bad6ada33afd3d274880983.webp?v=1763000420"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43834730086499,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-TOC02","requires_shipping":true,"taxable":true,"featured_image":{"id":34794136043619,"product_id":7921967726691,"position":5,"created_at":"2025-11-13T10:20:18+08:00","updated_at":"2025-11-13T10:20:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3dfe2884f3e3e9b4bad6ada33afd3d274880983.webp?v=1763000420","variant_ids":[43834730086499]},"available":true,"name":"iPhone 14 Plus Mod NX TOCOROCOMUGI 麵包出爐貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-TOC02","featured_media":{"alt":null,"id":26359555489891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3dfe2884f3e3e9b4bad6ada33afd3d274880983.webp?v=1763000420"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(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: "停產" }