$product = {"id":7921944166499,"title":"iPhone 14 Pro Mod NX TOCOROCOMUGI 哈密呱果凍貓","handle":"iphone-14-pro-mod-nx-toc10","description":null,"published_at":"2025-11-14T08:25:22+08:00","created_at":"2025-11-13T10:13:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tocorocomugi","device-iPhone 14 Pro","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":43834634960995,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-TOC10","requires_shipping":true,"taxable":true,"featured_image":{"id":34794033807459,"product_id":7921944166499,"position":8,"created_at":"2025-11-13T10:13:54+08:00","updated_at":"2025-11-13T10:13:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fda2ea1ad934bd78fc6a063d68364ec15b279d73.webp?v=1763000036","variant_ids":[43834634960995]},"available":true,"name":"iPhone 14 Pro Mod NX TOCOROCOMUGI 哈密呱果凍貓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-TOC10","featured_media":{"alt":null,"id":26359453909091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fda2ea1ad934bd78fc6a063d68364ec15b279d73.webp?v=1763000036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834635026531,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-TOC10","requires_shipping":true,"taxable":true,"featured_image":{"id":34794033578083,"product_id":7921944166499,"position":7,"created_at":"2025-11-13T10:13:54+08:00","updated_at":"2025-11-13T10:13:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e89c2a2c753187c9e89708c06ebeb4fae1230645.webp?v=1763000036","variant_ids":[43834635026531]},"available":true,"name":"iPhone 14 Pro Mod NX TOCOROCOMUGI 哈密呱果凍貓 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-TOC10","featured_media":{"alt":null,"id":26359453679715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e89c2a2c753187c9e89708c06ebeb4fae1230645.webp?v=1763000036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834635124835,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-TOC10","requires_shipping":true,"taxable":true,"featured_image":{"id":34794032922723,"product_id":7921944166499,"position":3,"created_at":"2025-11-13T10:13:51+08:00","updated_at":"2025-11-13T10:13:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515668005af158394f253eee88f47e473235a9e3.webp?v=1763000032","variant_ids":[43834635124835]},"available":true,"name":"iPhone 14 Pro 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":"NPB0126224-TOC10","featured_media":{"alt":null,"id":26359452991587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515668005af158394f253eee88f47e473235a9e3.webp?v=1763000032"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a618ad1af59c7e9ce7bf4e14b43e6a4f6bb6f5d.webp?v=1763000030","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8122ba7221d519723710de62a3223522345663fd.webp?v=1763000031","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515668005af158394f253eee88f47e473235a9e3.webp?v=1763000032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42bd078ae422b19da7b9f1643b04453ab2787b4f.webp?v=1763000033","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a68adc14a9174a7aee5614e2bb1686d78007331.webp?v=1763000034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8333e475f438c71280fcfdad8419b40153d10e0e.webp?v=1763000035","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e89c2a2c753187c9e89708c06ebeb4fae1230645.webp?v=1763000036","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fda2ea1ad934bd78fc6a063d68364ec15b279d73.webp?v=1763000036","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a553d4f57326b4c07b4fd868a24776f82553911.webp?v=1763000037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cac5b49f5f0f31ae6ddd08c163c63208d1fe665.webp?v=1763000037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f15509a98371f0dd55cea34afd12aea471e1d171.webp?v=1763000038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39d351873ad1094a4c7787403023e0276aa66885.webp?v=1763000039"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a618ad1af59c7e9ce7bf4e14b43e6a4f6bb6f5d.webp?v=1763000030","options":["color"],"media":[{"alt":null,"id":26359452696675,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a618ad1af59c7e9ce7bf4e14b43e6a4f6bb6f5d.webp?v=1763000030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a618ad1af59c7e9ce7bf4e14b43e6a4f6bb6f5d.webp?v=1763000030","width":2000},{"alt":null,"id":26359452827747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8122ba7221d519723710de62a3223522345663fd.webp?v=1763000031"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8122ba7221d519723710de62a3223522345663fd.webp?v=1763000031","width":2000},{"alt":null,"id":26359452991587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515668005af158394f253eee88f47e473235a9e3.webp?v=1763000032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515668005af158394f253eee88f47e473235a9e3.webp?v=1763000032","width":2000},{"alt":null,"id":26359453220963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42bd078ae422b19da7b9f1643b04453ab2787b4f.webp?v=1763000033"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42bd078ae422b19da7b9f1643b04453ab2787b4f.webp?v=1763000033","width":2000},{"alt":null,"id":26359453352035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a68adc14a9174a7aee5614e2bb1686d78007331.webp?v=1763000034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a68adc14a9174a7aee5614e2bb1686d78007331.webp?v=1763000034","width":2000},{"alt":null,"id":26359453483107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8333e475f438c71280fcfdad8419b40153d10e0e.webp?v=1763000035"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8333e475f438c71280fcfdad8419b40153d10e0e.webp?v=1763000035","width":2000},{"alt":null,"id":26359453679715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e89c2a2c753187c9e89708c06ebeb4fae1230645.webp?v=1763000036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e89c2a2c753187c9e89708c06ebeb4fae1230645.webp?v=1763000036","width":2000},{"alt":null,"id":26359453909091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fda2ea1ad934bd78fc6a063d68364ec15b279d73.webp?v=1763000036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fda2ea1ad934bd78fc6a063d68364ec15b279d73.webp?v=1763000036","width":2000},{"alt":null,"id":26359454072931,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a553d4f57326b4c07b4fd868a24776f82553911.webp?v=1763000037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a553d4f57326b4c07b4fd868a24776f82553911.webp?v=1763000037","width":2000},{"alt":null,"id":26359454204003,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cac5b49f5f0f31ae6ddd08c163c63208d1fe665.webp?v=1763000037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cac5b49f5f0f31ae6ddd08c163c63208d1fe665.webp?v=1763000037","width":2000},{"alt":null,"id":26359454400611,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f15509a98371f0dd55cea34afd12aea471e1d171.webp?v=1763000038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f15509a98371f0dd55cea34afd12aea471e1d171.webp?v=1763000038","width":2000},{"alt":null,"id":26359454531683,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39d351873ad1094a4c7787403023e0276aa66885.webp?v=1763000039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39d351873ad1094a4c7787403023e0276aa66885.webp?v=1763000039","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43834634960995,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-TOC10","requires_shipping":true,"taxable":true,"featured_image":{"id":34794033807459,"product_id":7921944166499,"position":8,"created_at":"2025-11-13T10:13:54+08:00","updated_at":"2025-11-13T10:13:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fda2ea1ad934bd78fc6a063d68364ec15b279d73.webp?v=1763000036","variant_ids":[43834634960995]},"available":true,"name":"iPhone 14 Pro Mod NX TOCOROCOMUGI 哈密呱果凍貓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-TOC10","featured_media":{"alt":null,"id":26359453909091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fda2ea1ad934bd78fc6a063d68364ec15b279d73.webp?v=1763000036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834635026531,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-TOC10","requires_shipping":true,"taxable":true,"featured_image":{"id":34794033578083,"product_id":7921944166499,"position":7,"created_at":"2025-11-13T10:13:54+08:00","updated_at":"2025-11-13T10:13:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e89c2a2c753187c9e89708c06ebeb4fae1230645.webp?v=1763000036","variant_ids":[43834635026531]},"available":true,"name":"iPhone 14 Pro Mod NX TOCOROCOMUGI 哈密呱果凍貓 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-TOC10","featured_media":{"alt":null,"id":26359453679715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e89c2a2c753187c9e89708c06ebeb4fae1230645.webp?v=1763000036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834635124835,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-TOC10","requires_shipping":true,"taxable":true,"featured_image":{"id":34794032922723,"product_id":7921944166499,"position":3,"created_at":"2025-11-13T10:13:51+08:00","updated_at":"2025-11-13T10:13:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515668005af158394f253eee88f47e473235a9e3.webp?v=1763000032","variant_ids":[43834635124835]},"available":true,"name":"iPhone 14 Pro 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":"NPB0126224-TOC10","featured_media":{"alt":null,"id":26359452991587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515668005af158394f253eee88f47e473235a9e3.webp?v=1763000032"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43834634960995,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-TOC10","requires_shipping":true,"taxable":true,"featured_image":{"id":34794033807459,"product_id":7921944166499,"position":8,"created_at":"2025-11-13T10:13:54+08:00","updated_at":"2025-11-13T10:13:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fda2ea1ad934bd78fc6a063d68364ec15b279d73.webp?v=1763000036","variant_ids":[43834634960995]},"available":true,"name":"iPhone 14 Pro Mod NX TOCOROCOMUGI 哈密呱果凍貓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-TOC10","featured_media":{"alt":null,"id":26359453909091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fda2ea1ad934bd78fc6a063d68364ec15b279d73.webp?v=1763000036"}},"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: "停產" }