$product = {"id":8088108826723,"title":"iPhone 18 Pro Clear (相機按鈕) Tom and Jerry 美食大集合","handle":"iphone-18-pro-jellytint-with-capture-button-po44","description":"","published_at":"2026-09-15T16:37:11+08:00","created_at":"2026-07-28T11:49:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tom-and-jerry","device-iPhone 18 Pro","merge","reseller-tom-and-jerry"],"price":118000,"price_min":118000,"price_max":118000,"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":44410961690723,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013940G-PO44","requires_shipping":true,"taxable":true,"featured_image":{"id":36552689057891,"product_id":8088108826723,"position":4,"created_at":"2026-08-12T10:53:28+08:00","updated_at":"2026-08-12T10:53:30+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/439767682f4f2735d8b33f7c1cdfd1f7c1910eba.webp?v=1786503210","variant_ids":[44410961690723]},"available":true,"name":"iPhone 18 Pro Clear (相機按鈕) Tom and Jerry 美食大集合 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013940G-PO44","featured_media":{"alt":null,"id":28055850451043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/439767682f4f2735d8b33f7c1cdfd1f7c1910eba.webp?v=1786503210"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44410961723491,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013944M-PO44","requires_shipping":true,"taxable":true,"featured_image":{"id":34970034864227,"product_id":8088108826723,"position":2,"created_at":"2025-12-19T14:59:33+08:00","updated_at":"2025-12-19T14:59:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7966a282d7cf44cd5bda90756ef2ef5cc36b03db.webp?v=1766127575","variant_ids":[44410961723491]},"available":true,"name":"iPhone 18 Pro Clear (相機按鈕) Tom and Jerry 美食大集合 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":26531350511715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7966a282d7cf44cd5bda90756ef2ef5cc36b03db.webp?v=1766127575"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44410961756259,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013944L-PO44","requires_shipping":true,"taxable":true,"featured_image":{"id":34970034602083,"product_id":8088108826723,"position":3,"created_at":"2025-12-19T14:59:32+08:00","updated_at":"2025-12-19T14:59:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3f05752a16d9194e879df16e2c401c22a3df64.webp?v=1766127574","variant_ids":[44410961756259]},"available":true,"name":"iPhone 18 Pro Clear (相機按鈕) Tom and Jerry 美食大集合 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":26531350216803,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3f05752a16d9194e879df16e2c401c22a3df64.webp?v=1766127574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80d1d618fd062bdc93012faaf7bd5c5d427f0011.webp?v=1766127575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7966a282d7cf44cd5bda90756ef2ef5cc36b03db.webp?v=1766127575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3f05752a16d9194e879df16e2c401c22a3df64.webp?v=1766127574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/439767682f4f2735d8b33f7c1cdfd1f7c1910eba.webp?v=1786503210"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80d1d618fd062bdc93012faaf7bd5c5d427f0011.webp?v=1766127575","options":["color"],"media":[{"alt":null,"id":26531350806627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80d1d618fd062bdc93012faaf7bd5c5d427f0011.webp?v=1766127575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80d1d618fd062bdc93012faaf7bd5c5d427f0011.webp?v=1766127575","width":2000},{"alt":null,"id":26531350511715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7966a282d7cf44cd5bda90756ef2ef5cc36b03db.webp?v=1766127575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7966a282d7cf44cd5bda90756ef2ef5cc36b03db.webp?v=1766127575","width":2000},{"alt":null,"id":26531350216803,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3f05752a16d9194e879df16e2c401c22a3df64.webp?v=1766127574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3f05752a16d9194e879df16e2c401c22a3df64.webp?v=1766127574","width":2000},{"alt":null,"id":28055850451043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/439767682f4f2735d8b33f7c1cdfd1f7c1910eba.webp?v=1786503210"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/439767682f4f2735d8b33f7c1cdfd1f7c1910eba.webp?v=1786503210","width":550}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""}; $isMerge = null; $variants = [{"id":44410961690723,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013940G-PO44","requires_shipping":true,"taxable":true,"featured_image":{"id":36552689057891,"product_id":8088108826723,"position":4,"created_at":"2026-08-12T10:53:28+08:00","updated_at":"2026-08-12T10:53:30+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/439767682f4f2735d8b33f7c1cdfd1f7c1910eba.webp?v=1786503210","variant_ids":[44410961690723]},"available":true,"name":"iPhone 18 Pro Clear (相機按鈕) Tom and Jerry 美食大集合 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013940G-PO44","featured_media":{"alt":null,"id":28055850451043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/439767682f4f2735d8b33f7c1cdfd1f7c1910eba.webp?v=1786503210"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44410961723491,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013944M-PO44","requires_shipping":true,"taxable":true,"featured_image":{"id":34970034864227,"product_id":8088108826723,"position":2,"created_at":"2025-12-19T14:59:33+08:00","updated_at":"2025-12-19T14:59:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7966a282d7cf44cd5bda90756ef2ef5cc36b03db.webp?v=1766127575","variant_ids":[44410961723491]},"available":true,"name":"iPhone 18 Pro Clear (相機按鈕) Tom and Jerry 美食大集合 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":26531350511715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7966a282d7cf44cd5bda90756ef2ef5cc36b03db.webp?v=1766127575"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44410961756259,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013944L-PO44","requires_shipping":true,"taxable":true,"featured_image":{"id":34970034602083,"product_id":8088108826723,"position":3,"created_at":"2025-12-19T14:59:32+08:00","updated_at":"2025-12-19T14:59:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3f05752a16d9194e879df16e2c401c22a3df64.webp?v=1766127574","variant_ids":[44410961756259]},"available":true,"name":"iPhone 18 Pro Clear (相機按鈕) Tom and Jerry 美食大集合 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":26531350216803,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3f05752a16d9194e879df16e2c401c22a3df64.webp?v=1766127574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44410961690723,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013940G-PO44","requires_shipping":true,"taxable":true,"featured_image":{"id":36552689057891,"product_id":8088108826723,"position":4,"created_at":"2026-08-12T10:53:28+08:00","updated_at":"2026-08-12T10:53:30+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/439767682f4f2735d8b33f7c1cdfd1f7c1910eba.webp?v=1786503210","variant_ids":[44410961690723]},"available":true,"name":"iPhone 18 Pro Clear (相機按鈕) Tom and Jerry 美食大集合 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013940G-PO44","featured_media":{"alt":null,"id":28055850451043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/439767682f4f2735d8b33f7c1cdfd1f7c1910eba.webp?v=1786503210"}},"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: "停產" }