$product = {"id":7155917389923,"title":"iPhone 15 Pro Max Clear 1G 生日8","handle":"iphone-15-pro-max-jellytint-iv02","description":null,"published_at":"2024-02-02T09:58:46+08:00","created_at":"2024-01-23T17:16:20+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-1G","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-1chun","device-iPhone 15 Pro Max","merge","reseller-1chun"],"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":41197311459427,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991439971,"product_id":7155917389923,"position":11,"created_at":"2026-07-20T18:30:39+08:00","updated_at":"2026-07-20T18:30:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010_2907d14e-888e-4fad-9af6-58b8588c772f.webp?v=1784543440","variant_ids":[41197311459427]},"available":true,"name":"iPhone 15 Pro Max Clear 1G 生日8 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-IV02","featured_media":{"alt":null,"id":27826899222627,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010_2907d14e-888e-4fad-9af6-58b8588c772f.webp?v=1784543440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197311524963,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36322990882915,"product_id":7155917389923,"position":10,"created_at":"2026-07-20T18:30:35+08:00","updated_at":"2026-07-20T18:30:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e_2d29240a-56bd-449f-8778-f8be3f6f3332.webp?v=1784543437","variant_ids":[41197311524963]},"available":true,"name":"iPhone 15 Pro Max Clear 1G 生日8 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-IV02","featured_media":{"alt":null,"id":27826898665571,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e_2d29240a-56bd-449f-8778-f8be3f6f3332.webp?v=1784543437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197311557731,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991767651,"product_id":7155917389923,"position":12,"created_at":"2026-07-20T18:30:41+08:00","updated_at":"2026-07-20T18:30:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852_813f8c64-f631-4382-aeab-78e4110845ac.webp?v=1784543443","variant_ids":[41197311557731]},"available":true,"name":"iPhone 15 Pro Max Clear 1G 生日8 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-IV02","featured_media":{"alt":null,"id":27826899583075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852_813f8c64-f631-4382-aeab-78e4110845ac.webp?v=1784543443"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88974f4d11524dbf6cf413b25a6f02cd6f87ad9_0fdcca47-435a-448f-af5a-02d7b1755cf0.webp?v=1706001390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21c91e6d6229d4dd9429d7e789ec567d42ee26cd_59b2ee7d-71c8-4bbc-bb7f-4d483e35f0e1.webp?v=1706001393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93260fa0c6c4a1c6686c54d6c5e04ca47f5b9e07_23f69e79-7d81-4a1a-be20-ba63ce094bdf.webp?v=1706001395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/838c973d9908a242d2209854c840810d34f5aba8_360c5bdb-93cc-456f-94b3-e4e07eb94fd6.webp?v=1706001397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9991bc05fb9f942a325f8244a0a19960de073e58_be414466-6910-4053-ad20-dce53b2657a4.webp?v=1706001399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a18ec53bd44dfa0bc0d4fc3a439c2ab9eef4dde_ec7a6d8a-9bf2-48c4-8207-8bd056e29647.webp?v=1706254800","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010.webp?v=1782883068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e.webp?v=1782883068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852.webp?v=1782883069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e_2d29240a-56bd-449f-8778-f8be3f6f3332.webp?v=1784543437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010_2907d14e-888e-4fad-9af6-58b8588c772f.webp?v=1784543440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852_813f8c64-f631-4382-aeab-78e4110845ac.webp?v=1784543443"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88974f4d11524dbf6cf413b25a6f02cd6f87ad9_0fdcca47-435a-448f-af5a-02d7b1755cf0.webp?v=1706001390","options":["color"],"media":[{"alt":null,"id":23202151071843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88974f4d11524dbf6cf413b25a6f02cd6f87ad9_0fdcca47-435a-448f-af5a-02d7b1755cf0.webp?v=1706001390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88974f4d11524dbf6cf413b25a6f02cd6f87ad9_0fdcca47-435a-448f-af5a-02d7b1755cf0.webp?v=1706001390","width":2000},{"alt":null,"id":23202151792739,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21c91e6d6229d4dd9429d7e789ec567d42ee26cd_59b2ee7d-71c8-4bbc-bb7f-4d483e35f0e1.webp?v=1706001393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21c91e6d6229d4dd9429d7e789ec567d42ee26cd_59b2ee7d-71c8-4bbc-bb7f-4d483e35f0e1.webp?v=1706001393","width":2000},{"alt":null,"id":23202152677475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93260fa0c6c4a1c6686c54d6c5e04ca47f5b9e07_23f69e79-7d81-4a1a-be20-ba63ce094bdf.webp?v=1706001395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93260fa0c6c4a1c6686c54d6c5e04ca47f5b9e07_23f69e79-7d81-4a1a-be20-ba63ce094bdf.webp?v=1706001395","width":2000},{"alt":null,"id":23202153562211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/838c973d9908a242d2209854c840810d34f5aba8_360c5bdb-93cc-456f-94b3-e4e07eb94fd6.webp?v=1706001397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/838c973d9908a242d2209854c840810d34f5aba8_360c5bdb-93cc-456f-94b3-e4e07eb94fd6.webp?v=1706001397","width":2000},{"alt":null,"id":23202154512483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9991bc05fb9f942a325f8244a0a19960de073e58_be414466-6910-4053-ad20-dce53b2657a4.webp?v=1706001399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9991bc05fb9f942a325f8244a0a19960de073e58_be414466-6910-4053-ad20-dce53b2657a4.webp?v=1706001399","width":2000},{"alt":null,"id":23217731174499,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a18ec53bd44dfa0bc0d4fc3a439c2ab9eef4dde_ec7a6d8a-9bf2-48c4-8207-8bd056e29647.webp?v=1706254800"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a18ec53bd44dfa0bc0d4fc3a439c2ab9eef4dde_ec7a6d8a-9bf2-48c4-8207-8bd056e29647.webp?v=1706254800","width":2000},{"alt":null,"id":27647748571235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010.webp?v=1782883068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010.webp?v=1782883068","width":2000},{"alt":null,"id":27647749292131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e.webp?v=1782883068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e.webp?v=1782883068","width":2000},{"alt":null,"id":27647749849187,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852.webp?v=1782883069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852.webp?v=1782883069","width":2000},{"alt":null,"id":27826898665571,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e_2d29240a-56bd-449f-8778-f8be3f6f3332.webp?v=1784543437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e_2d29240a-56bd-449f-8778-f8be3f6f3332.webp?v=1784543437","width":2000},{"alt":null,"id":27826899222627,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010_2907d14e-888e-4fad-9af6-58b8588c772f.webp?v=1784543440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010_2907d14e-888e-4fad-9af6-58b8588c772f.webp?v=1784543440","width":2000},{"alt":null,"id":27826899583075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852_813f8c64-f631-4382-aeab-78e4110845ac.webp?v=1784543443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852_813f8c64-f631-4382-aeab-78e4110845ac.webp?v=1784543443","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41197311459427,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991439971,"product_id":7155917389923,"position":11,"created_at":"2026-07-20T18:30:39+08:00","updated_at":"2026-07-20T18:30:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010_2907d14e-888e-4fad-9af6-58b8588c772f.webp?v=1784543440","variant_ids":[41197311459427]},"available":true,"name":"iPhone 15 Pro Max Clear 1G 生日8 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-IV02","featured_media":{"alt":null,"id":27826899222627,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010_2907d14e-888e-4fad-9af6-58b8588c772f.webp?v=1784543440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197311524963,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36322990882915,"product_id":7155917389923,"position":10,"created_at":"2026-07-20T18:30:35+08:00","updated_at":"2026-07-20T18:30:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e_2d29240a-56bd-449f-8778-f8be3f6f3332.webp?v=1784543437","variant_ids":[41197311524963]},"available":true,"name":"iPhone 15 Pro Max Clear 1G 生日8 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-IV02","featured_media":{"alt":null,"id":27826898665571,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8372bfd8e23242f7189ab060d6f066d076540d6e_2d29240a-56bd-449f-8778-f8be3f6f3332.webp?v=1784543437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197311557731,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991767651,"product_id":7155917389923,"position":12,"created_at":"2026-07-20T18:30:41+08:00","updated_at":"2026-07-20T18:30:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852_813f8c64-f631-4382-aeab-78e4110845ac.webp?v=1784543443","variant_ids":[41197311557731]},"available":true,"name":"iPhone 15 Pro Max Clear 1G 生日8 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-IV02","featured_media":{"alt":null,"id":27826899583075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89039c30e423c11d5229038cc562bdc9bebce852_813f8c64-f631-4382-aeab-78e4110845ac.webp?v=1784543443"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41197311459427,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991439971,"product_id":7155917389923,"position":11,"created_at":"2026-07-20T18:30:39+08:00","updated_at":"2026-07-20T18:30:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010_2907d14e-888e-4fad-9af6-58b8588c772f.webp?v=1784543440","variant_ids":[41197311459427]},"available":true,"name":"iPhone 15 Pro Max Clear 1G 生日8 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-IV02","featured_media":{"alt":null,"id":27826899222627,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5001c849d1be42e7e3d44beb878ac5cebc50b010_2907d14e-888e-4fad-9af6-58b8588c772f.webp?v=1784543440"}},"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: "停產" }