$product = {"id":7940050845795,"title":"iPhone 15 Pro Clear 常態系列 貼貼怪","handle":"iphone-15-pro-jellytint-fug01","description":null,"published_at":"2025-12-19T14:08:06+08:00","created_at":"2025-12-17T12:51:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-fuggler","device-iPhone 15 Pro","merge","reseller-fuggler"],"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":43895034609763,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-FUG01","requires_shipping":true,"taxable":true,"featured_image":{"id":35673215369315,"product_id":7940050845795,"position":5,"created_at":"2026-04-20T09:40:20+08:00","updated_at":"2026-04-20T09:40:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27_00998071-31fb-4828-bc59-12f97cd04ab2.webp?v=1776649222","variant_ids":[43895034609763]},"available":true,"name":"iPhone 15 Pro Clear 常態系列 貼貼怪 - 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":"CCN012970H-FUG01","featured_media":{"alt":null,"id":27200486539363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27_00998071-31fb-4828-bc59-12f97cd04ab2.webp?v=1776649222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895034806371,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-FUG01","requires_shipping":true,"taxable":true,"featured_image":{"id":35673216188515,"product_id":7940050845795,"position":8,"created_at":"2026-04-20T09:40:22+08:00","updated_at":"2026-04-20T09:40:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429_49493390-f17c-43f7-b9ae-9ebb4f8e0545.webp?v=1776649224","variant_ids":[43895034806371]},"available":true,"name":"iPhone 15 Pro Clear 常態系列 貼貼怪 - 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":"CCN012970I-FUG01","featured_media":{"alt":null,"id":27200487358563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429_49493390-f17c-43f7-b9ae-9ebb4f8e0545.webp?v=1776649224"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895034839139,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-FUG01","requires_shipping":true,"taxable":true,"featured_image":{"id":35673215631459,"product_id":7940050845795,"position":6,"created_at":"2026-04-20T09:40:21+08:00","updated_at":"2026-04-20T09:40:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193_c2f9f71a-f3b6-4672-aae2-411ac9bba101.webp?v=1776649223","variant_ids":[43895034839139]},"available":true,"name":"iPhone 15 Pro Clear 常態系列 貼貼怪 - 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":"CCN012970G-FUG01","featured_media":{"alt":null,"id":27200486801507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193_c2f9f71a-f3b6-4672-aae2-411ac9bba101.webp?v=1776649223"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193.webp?v=1765947090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27.webp?v=1765947091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429.webp?v=1765947091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ae182796e3709454ce19aab8254f5dd742121bf.webp?v=1765947092","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27_00998071-31fb-4828-bc59-12f97cd04ab2.webp?v=1776649222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193_c2f9f71a-f3b6-4672-aae2-411ac9bba101.webp?v=1776649223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ae182796e3709454ce19aab8254f5dd742121bf_e00baba2-1016-44f4-b0d0-879b4ab30910.webp?v=1776649223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429_49493390-f17c-43f7-b9ae-9ebb4f8e0545.webp?v=1776649224"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193.webp?v=1765947090","options":["color"],"media":[{"alt":null,"id":26522196443235,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193.webp?v=1765947090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193.webp?v=1765947090","width":2000},{"alt":null,"id":26522196476003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27.webp?v=1765947091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27.webp?v=1765947091","width":2000},{"alt":null,"id":26522196508771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429.webp?v=1765947091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429.webp?v=1765947091","width":2000},{"alt":null,"id":26522196541539,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ae182796e3709454ce19aab8254f5dd742121bf.webp?v=1765947092"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ae182796e3709454ce19aab8254f5dd742121bf.webp?v=1765947092","width":2000},{"alt":null,"id":27200486539363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27_00998071-31fb-4828-bc59-12f97cd04ab2.webp?v=1776649222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27_00998071-31fb-4828-bc59-12f97cd04ab2.webp?v=1776649222","width":2000},{"alt":null,"id":27200486801507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193_c2f9f71a-f3b6-4672-aae2-411ac9bba101.webp?v=1776649223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193_c2f9f71a-f3b6-4672-aae2-411ac9bba101.webp?v=1776649223","width":2000},{"alt":null,"id":27200487030883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ae182796e3709454ce19aab8254f5dd742121bf_e00baba2-1016-44f4-b0d0-879b4ab30910.webp?v=1776649223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ae182796e3709454ce19aab8254f5dd742121bf_e00baba2-1016-44f4-b0d0-879b4ab30910.webp?v=1776649223","width":2000},{"alt":null,"id":27200487358563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429_49493390-f17c-43f7-b9ae-9ebb4f8e0545.webp?v=1776649224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429_49493390-f17c-43f7-b9ae-9ebb4f8e0545.webp?v=1776649224","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43895034609763,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-FUG01","requires_shipping":true,"taxable":true,"featured_image":{"id":35673215369315,"product_id":7940050845795,"position":5,"created_at":"2026-04-20T09:40:20+08:00","updated_at":"2026-04-20T09:40:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27_00998071-31fb-4828-bc59-12f97cd04ab2.webp?v=1776649222","variant_ids":[43895034609763]},"available":true,"name":"iPhone 15 Pro Clear 常態系列 貼貼怪 - 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":"CCN012970H-FUG01","featured_media":{"alt":null,"id":27200486539363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27_00998071-31fb-4828-bc59-12f97cd04ab2.webp?v=1776649222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895034806371,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-FUG01","requires_shipping":true,"taxable":true,"featured_image":{"id":35673216188515,"product_id":7940050845795,"position":8,"created_at":"2026-04-20T09:40:22+08:00","updated_at":"2026-04-20T09:40:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429_49493390-f17c-43f7-b9ae-9ebb4f8e0545.webp?v=1776649224","variant_ids":[43895034806371]},"available":true,"name":"iPhone 15 Pro Clear 常態系列 貼貼怪 - 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":"CCN012970I-FUG01","featured_media":{"alt":null,"id":27200487358563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd0e2781555619e6bc6ebc7c6038fb3f5191429_49493390-f17c-43f7-b9ae-9ebb4f8e0545.webp?v=1776649224"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895034839139,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-FUG01","requires_shipping":true,"taxable":true,"featured_image":{"id":35673215631459,"product_id":7940050845795,"position":6,"created_at":"2026-04-20T09:40:21+08:00","updated_at":"2026-04-20T09:40:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193_c2f9f71a-f3b6-4672-aae2-411ac9bba101.webp?v=1776649223","variant_ids":[43895034839139]},"available":true,"name":"iPhone 15 Pro Clear 常態系列 貼貼怪 - 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":"CCN012970G-FUG01","featured_media":{"alt":null,"id":27200486801507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4276ae2b93d3793d52d1b889df76e80a4b9193_c2f9f71a-f3b6-4672-aae2-411ac9bba101.webp?v=1776649223"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43895034609763,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-FUG01","requires_shipping":true,"taxable":true,"featured_image":{"id":35673215369315,"product_id":7940050845795,"position":5,"created_at":"2026-04-20T09:40:20+08:00","updated_at":"2026-04-20T09:40:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27_00998071-31fb-4828-bc59-12f97cd04ab2.webp?v=1776649222","variant_ids":[43895034609763]},"available":true,"name":"iPhone 15 Pro Clear 常態系列 貼貼怪 - 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":"CCN012970H-FUG01","featured_media":{"alt":null,"id":27200486539363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361857b534082182d7347adc6f6340da44ef8c27_00998071-31fb-4828-bc59-12f97cd04ab2.webp?v=1776649222"}},"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: "停產" }