$product = {"id":7922013438051,"title":"iPhone 15 Pro Max SolidX TOCOROCOMUGI 麵包出爐貓","handle":"iphone-15-pro-max-solidx-toc02","description":null,"published_at":"2025-11-14T08:13:11+08:00","created_at":"2025-11-13T10:31:13+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tocorocomugi","device-iPhone 15 Pro Max","merge","reseller-tocorocomugi"],"price":125000,"price_min":125000,"price_max":125000,"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":43834907721827,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-TOC02","requires_shipping":true,"taxable":true,"featured_image":{"id":36259159113827,"product_id":7922013438051,"position":11,"created_at":"2026-07-14T17:28:33+08:00","updated_at":"2026-07-14T17:28:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2_a8267c58-21a6-491b-9cfe-471fd722fa4c.webp?v=1784021315","variant_ids":[43834907721827]},"available":true,"name":"iPhone 15 Pro Max SolidX TOCOROCOMUGI 麵包出爐貓 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-TOC02","featured_media":{"alt":null,"id":27763262685283,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2_a8267c58-21a6-491b-9cfe-471fd722fa4c.webp?v=1784021315"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834907754595,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-TOC02","requires_shipping":true,"taxable":true,"featured_image":{"id":36259160653923,"product_id":7922013438051,"position":13,"created_at":"2026-07-14T17:28:34+08:00","updated_at":"2026-07-14T17:28:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4_46c069ac-633a-43a4-b00e-407980ae5b43.webp?v=1784021316","variant_ids":[43834907754595]},"available":true,"name":"iPhone 15 Pro Max SolidX TOCOROCOMUGI 麵包出爐貓 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-TOC02","featured_media":{"alt":null,"id":27763264094307,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4_46c069ac-633a-43a4-b00e-407980ae5b43.webp?v=1784021316"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4.webp?v=1763001077","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d45b869b65443599bcc27d67e924b4daca54dc71.webp?v=1763001077","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98a7a254296ddda80d04d3e40449c8652e5a987f.webp?v=1763001078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e352c663f15901049119ecc661796c7b3ff13b2.webp?v=1763001078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec759358b8bb79cee8c311229d4ecf72dcbd1a0a.webp?v=1763001079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed38d6836cdf29604fce78effaab3ca1c7de5ae.webp?v=1763001080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2.webp?v=1763001080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b22b57349bc1577fa2360980878b6210996ae73.webp?v=1763001081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d1cc0b23fc6e3db268fbe908130ac96bd2c52c2.webp?v=1763001082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c75e4bb8fea6a90ef4e698caec2fa8e281951ad2.webp?v=1763001083","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2_a8267c58-21a6-491b-9cfe-471fd722fa4c.webp?v=1784021315","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e352c663f15901049119ecc661796c7b3ff13b2_f0997353-0204-4d17-a53b-d81c1a2a6aed.webp?v=1784021316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4_46c069ac-633a-43a4-b00e-407980ae5b43.webp?v=1784021316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b22b57349bc1577fa2360980878b6210996ae73_4be4bd65-e994-4c24-909a-df17382a4527.webp?v=1784021317","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c75e4bb8fea6a90ef4e698caec2fa8e281951ad2_09935659-b079-4351-b475-e1abb4c387bd.webp?v=1784021318"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4.webp?v=1763001077","options":["color"],"media":[{"alt":null,"id":26359747280995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4.webp?v=1763001077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4.webp?v=1763001077","width":2000},{"alt":null,"id":26359747543139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d45b869b65443599bcc27d67e924b4daca54dc71.webp?v=1763001077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d45b869b65443599bcc27d67e924b4daca54dc71.webp?v=1763001077","width":2000},{"alt":null,"id":26359747641443,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98a7a254296ddda80d04d3e40449c8652e5a987f.webp?v=1763001078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98a7a254296ddda80d04d3e40449c8652e5a987f.webp?v=1763001078","width":2000},{"alt":null,"id":26359747805283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e352c663f15901049119ecc661796c7b3ff13b2.webp?v=1763001078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e352c663f15901049119ecc661796c7b3ff13b2.webp?v=1763001078","width":2000},{"alt":null,"id":26359748132963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec759358b8bb79cee8c311229d4ecf72dcbd1a0a.webp?v=1763001079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec759358b8bb79cee8c311229d4ecf72dcbd1a0a.webp?v=1763001079","width":2000},{"alt":null,"id":26359748460643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed38d6836cdf29604fce78effaab3ca1c7de5ae.webp?v=1763001080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed38d6836cdf29604fce78effaab3ca1c7de5ae.webp?v=1763001080","width":2000},{"alt":null,"id":26359748722787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2.webp?v=1763001080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2.webp?v=1763001080","width":2000},{"alt":null,"id":26359748952163,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b22b57349bc1577fa2360980878b6210996ae73.webp?v=1763001081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b22b57349bc1577fa2360980878b6210996ae73.webp?v=1763001081","width":2000},{"alt":null,"id":26359749083235,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d1cc0b23fc6e3db268fbe908130ac96bd2c52c2.webp?v=1763001082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d1cc0b23fc6e3db268fbe908130ac96bd2c52c2.webp?v=1763001082","width":2000},{"alt":null,"id":26359749148771,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c75e4bb8fea6a90ef4e698caec2fa8e281951ad2.webp?v=1763001083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c75e4bb8fea6a90ef4e698caec2fa8e281951ad2.webp?v=1763001083","width":2000},{"alt":null,"id":27763262685283,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2_a8267c58-21a6-491b-9cfe-471fd722fa4c.webp?v=1784021315"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2_a8267c58-21a6-491b-9cfe-471fd722fa4c.webp?v=1784021315","width":2000},{"alt":null,"id":27763263438947,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e352c663f15901049119ecc661796c7b3ff13b2_f0997353-0204-4d17-a53b-d81c1a2a6aed.webp?v=1784021316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e352c663f15901049119ecc661796c7b3ff13b2_f0997353-0204-4d17-a53b-d81c1a2a6aed.webp?v=1784021316","width":2000},{"alt":null,"id":27763264094307,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4_46c069ac-633a-43a4-b00e-407980ae5b43.webp?v=1784021316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4_46c069ac-633a-43a4-b00e-407980ae5b43.webp?v=1784021316","width":2000},{"alt":null,"id":27763264782435,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b22b57349bc1577fa2360980878b6210996ae73_4be4bd65-e994-4c24-909a-df17382a4527.webp?v=1784021317"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b22b57349bc1577fa2360980878b6210996ae73_4be4bd65-e994-4c24-909a-df17382a4527.webp?v=1784021317","width":2000},{"alt":null,"id":27763265568867,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c75e4bb8fea6a90ef4e698caec2fa8e281951ad2_09935659-b079-4351-b475-e1abb4c387bd.webp?v=1784021318"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c75e4bb8fea6a90ef4e698caec2fa8e281951ad2_09935659-b079-4351-b475-e1abb4c387bd.webp?v=1784021318","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43834907721827,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-TOC02","requires_shipping":true,"taxable":true,"featured_image":{"id":36259159113827,"product_id":7922013438051,"position":11,"created_at":"2026-07-14T17:28:33+08:00","updated_at":"2026-07-14T17:28:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2_a8267c58-21a6-491b-9cfe-471fd722fa4c.webp?v=1784021315","variant_ids":[43834907721827]},"available":true,"name":"iPhone 15 Pro Max SolidX TOCOROCOMUGI 麵包出爐貓 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-TOC02","featured_media":{"alt":null,"id":27763262685283,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2_a8267c58-21a6-491b-9cfe-471fd722fa4c.webp?v=1784021315"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834907754595,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-TOC02","requires_shipping":true,"taxable":true,"featured_image":{"id":36259160653923,"product_id":7922013438051,"position":13,"created_at":"2026-07-14T17:28:34+08:00","updated_at":"2026-07-14T17:28:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4_46c069ac-633a-43a4-b00e-407980ae5b43.webp?v=1784021316","variant_ids":[43834907754595]},"available":true,"name":"iPhone 15 Pro Max SolidX TOCOROCOMUGI 麵包出爐貓 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-TOC02","featured_media":{"alt":null,"id":27763264094307,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f7ce3a4d106b154014cc5eb0d215bece6739a4_46c069ac-633a-43a4-b00e-407980ae5b43.webp?v=1784021316"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43834907721827,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-TOC02","requires_shipping":true,"taxable":true,"featured_image":{"id":36259159113827,"product_id":7922013438051,"position":11,"created_at":"2026-07-14T17:28:33+08:00","updated_at":"2026-07-14T17:28:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2_a8267c58-21a6-491b-9cfe-471fd722fa4c.webp?v=1784021315","variant_ids":[43834907721827]},"available":true,"name":"iPhone 15 Pro Max SolidX TOCOROCOMUGI 麵包出爐貓 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-TOC02","featured_media":{"alt":null,"id":27763262685283,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806fee90a352ad6ae42d809ddc789208764bf1c2_a8267c58-21a6-491b-9cfe-471fd722fa4c.webp?v=1784021315"}},"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: "停產" }