$product = {"id":7937798471779,"title":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 艾蓮&米卡莎&阿爾敏","handle":"iphone-15-plus-mod-nx-magsafe-xu03","description":null,"published_at":"2025-12-12T10:58:44+08:00","created_at":"2025-12-11T15:29:04+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 15 Plus","merge","reseller-attack-on-titan"],"price":110000,"price_min":110000,"price_max":110000,"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":43883937693795,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MPB0129657-XU03","requires_shipping":true,"taxable":true,"featured_image":{"id":36226028339299,"product_id":7937798471779,"position":11,"created_at":"2026-07-09T09:47:47+08:00","updated_at":"2026-07-09T09:47:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83_366de84b-d85e-474e-9b76-3aef2dd6004c.webp?v=1783561670","variant_ids":[43883937693795]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 艾蓮&米卡莎&阿爾敏 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129657-XU03","featured_media":{"alt":null,"id":27730813911139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83_366de84b-d85e-474e-9b76-3aef2dd6004c.webp?v=1783561670"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883937726563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0129624-XU03","requires_shipping":true,"taxable":true,"featured_image":{"id":36226028208227,"product_id":7937798471779,"position":10,"created_at":"2026-07-09T09:47:47+08:00","updated_at":"2026-07-09T09:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5_11711695-4d05-4d05-9ac3-ab68d58a469e.webp?v=1783561669","variant_ids":[43883937726563]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 艾蓮&米卡莎&阿爾敏 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129624-XU03","featured_media":{"alt":null,"id":27730813780067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5_11711695-4d05-4d05-9ac3-ab68d58a469e.webp?v=1783561669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5e9f8cc5fab168ca58aafbdf878a3e97fea916.webp?v=1765438151","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5.webp?v=1765438151","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c01ec9d859c2f8a4e4e1256fa82be8df6ce1514.webp?v=1765438152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7313a3b61c5479aebea416df5d22690189b32574.webp?v=1765438152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c000aee54ad39685b7a400b51fdec22da6fbb92.webp?v=1765438152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3183b1119e819acd3499185386bf9bc58eb66a55.webp?v=1765438154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5544d80ef59feb4dc96d6fd2c5a5c26d89dd3fda.webp?v=1765438154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7758ea69383e2d815f7a8c23c4dc908669891c79.webp?v=1765438154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83.webp?v=1765438157","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5_11711695-4d05-4d05-9ac3-ab68d58a469e.webp?v=1783561669","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83_366de84b-d85e-474e-9b76-3aef2dd6004c.webp?v=1783561670"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5e9f8cc5fab168ca58aafbdf878a3e97fea916.webp?v=1765438151","options":["color"],"media":[{"alt":null,"id":26494945001571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5e9f8cc5fab168ca58aafbdf878a3e97fea916.webp?v=1765438151"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5e9f8cc5fab168ca58aafbdf878a3e97fea916.webp?v=1765438151","width":2000},{"alt":null,"id":26494945263715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5.webp?v=1765438151"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5.webp?v=1765438151","width":2000},{"alt":null,"id":26494945427555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c01ec9d859c2f8a4e4e1256fa82be8df6ce1514.webp?v=1765438152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c01ec9d859c2f8a4e4e1256fa82be8df6ce1514.webp?v=1765438152","width":2000},{"alt":null,"id":26494945788003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7313a3b61c5479aebea416df5d22690189b32574.webp?v=1765438152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7313a3b61c5479aebea416df5d22690189b32574.webp?v=1765438152","width":2000},{"alt":null,"id":26494945984611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c000aee54ad39685b7a400b51fdec22da6fbb92.webp?v=1765438152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c000aee54ad39685b7a400b51fdec22da6fbb92.webp?v=1765438152","width":2000},{"alt":null,"id":26494946181219,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3183b1119e819acd3499185386bf9bc58eb66a55.webp?v=1765438154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3183b1119e819acd3499185386bf9bc58eb66a55.webp?v=1765438154","width":2000},{"alt":null,"id":26494946377827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5544d80ef59feb4dc96d6fd2c5a5c26d89dd3fda.webp?v=1765438154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5544d80ef59feb4dc96d6fd2c5a5c26d89dd3fda.webp?v=1765438154","width":2000},{"alt":null,"id":26494946574435,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7758ea69383e2d815f7a8c23c4dc908669891c79.webp?v=1765438154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7758ea69383e2d815f7a8c23c4dc908669891c79.webp?v=1765438154","width":2000},{"alt":null,"id":26494946672739,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83.webp?v=1765438157"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83.webp?v=1765438157","width":2000},{"alt":null,"id":27730813780067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5_11711695-4d05-4d05-9ac3-ab68d58a469e.webp?v=1783561669"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5_11711695-4d05-4d05-9ac3-ab68d58a469e.webp?v=1783561669","width":2000},{"alt":null,"id":27730813911139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83_366de84b-d85e-474e-9b76-3aef2dd6004c.webp?v=1783561670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83_366de84b-d85e-474e-9b76-3aef2dd6004c.webp?v=1783561670","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43883937693795,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MPB0129657-XU03","requires_shipping":true,"taxable":true,"featured_image":{"id":36226028339299,"product_id":7937798471779,"position":11,"created_at":"2026-07-09T09:47:47+08:00","updated_at":"2026-07-09T09:47:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83_366de84b-d85e-474e-9b76-3aef2dd6004c.webp?v=1783561670","variant_ids":[43883937693795]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 艾蓮&米卡莎&阿爾敏 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129657-XU03","featured_media":{"alt":null,"id":27730813911139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83_366de84b-d85e-474e-9b76-3aef2dd6004c.webp?v=1783561670"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883937726563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0129624-XU03","requires_shipping":true,"taxable":true,"featured_image":{"id":36226028208227,"product_id":7937798471779,"position":10,"created_at":"2026-07-09T09:47:47+08:00","updated_at":"2026-07-09T09:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5_11711695-4d05-4d05-9ac3-ab68d58a469e.webp?v=1783561669","variant_ids":[43883937726563]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 艾蓮&米卡莎&阿爾敏 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129624-XU03","featured_media":{"alt":null,"id":27730813780067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39761720d5dd377030a54a788eaba2b7f16cdda5_11711695-4d05-4d05-9ac3-ab68d58a469e.webp?v=1783561669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43883937693795,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MPB0129657-XU03","requires_shipping":true,"taxable":true,"featured_image":{"id":36226028339299,"product_id":7937798471779,"position":11,"created_at":"2026-07-09T09:47:47+08:00","updated_at":"2026-07-09T09:47:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83_366de84b-d85e-474e-9b76-3aef2dd6004c.webp?v=1783561670","variant_ids":[43883937693795]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 艾蓮&米卡莎&阿爾敏 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129657-XU03","featured_media":{"alt":null,"id":27730813911139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff4032605d149789671a62249d8b7dc86aa2d83_366de84b-d85e-474e-9b76-3aef2dd6004c.webp?v=1783561670"}},"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: "停產" }