$product = {"id":7856288596067,"title":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo","handle":"iphone-15-plus-solidx-magsafe-bumper-back-crossover-design-du01","description":null,"published_at":"2025-08-15T15:21:49+08:00","created_at":"2025-08-14T15:03:13+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ducati","device-iPhone 15 Plus","merge","reseller-ducati"],"price":145000,"price_min":145000,"price_max":145000,"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":43590789759075,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01296Z7-DU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34327938334819,"product_id":7856288596067,"position":1,"created_at":"2025-08-14T15:03:16+08:00","updated_at":"2025-08-14T15:03:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998","variant_ids":[43590789759075]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296Z7-DU01","featured_media":{"alt":null,"id":25912191778915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43590789824611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0129652-DU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34327939186787,"product_id":7856288596067,"position":4,"created_at":"2025-08-14T15:03:18+08:00","updated_at":"2025-08-14T15:03:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bac0b8041331f81bba2ff1e3d3554525bc5dfa.webp?v=1755155000","variant_ids":[43590789824611]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129652-DU01","featured_media":{"alt":null,"id":25912192630883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bac0b8041331f81bba2ff1e3d3554525bc5dfa.webp?v=1755155000"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43590789890147,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01296O8-DU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34327938924643,"product_id":7856288596067,"position":3,"created_at":"2025-08-14T15:03:17+08:00","updated_at":"2025-08-14T15:03:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd484e082bdea0f7d20851d5c68c898f7f5e570.webp?v=1755155000","variant_ids":[43590789890147]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296O8-DU01","featured_media":{"alt":null,"id":25912192335971,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd484e082bdea0f7d20851d5c68c898f7f5e570.webp?v=1755155000"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43590789922915,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-DU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34327939547235,"product_id":7856288596067,"position":6,"created_at":"2025-08-14T15:03:19+08:00","updated_at":"2025-08-14T15:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d323b1e22a9a087b00b23bdcdb31e62a1222eed.webp?v=1755155001","variant_ids":[43590789922915]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-DU01","featured_media":{"alt":null,"id":25912193024099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d323b1e22a9a087b00b23bdcdb31e62a1222eed.webp?v=1755155001"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e0cad34cb586615eac38e4b66f0badc0b794a01.webp?v=1755154999","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd484e082bdea0f7d20851d5c68c898f7f5e570.webp?v=1755155000","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bac0b8041331f81bba2ff1e3d3554525bc5dfa.webp?v=1755155000","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5637fb052b4ffec501e08401ea686a7ced4b370f.webp?v=1755155000","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d323b1e22a9a087b00b23bdcdb31e62a1222eed.webp?v=1755155001","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e676ce14c61a074c29c0e4a3c4acd704bba8f2.webp?v=1755155002","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a19598a7a74af1b1ca02bdbe8659c0d070b46002.webp?v=1755155002","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f100beeab4bcd5c7e7245d96722ee2947a314a4e.webp?v=1755155003","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216726a9ca0f501511cb69f2fe7345214c5fe32e.webp?v=1755155004"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998","options":["color"],"media":[{"alt":null,"id":25912191778915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998","width":2000},{"alt":null,"id":25912192041059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e0cad34cb586615eac38e4b66f0badc0b794a01.webp?v=1755154999"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e0cad34cb586615eac38e4b66f0badc0b794a01.webp?v=1755154999","width":2000},{"alt":null,"id":25912192335971,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd484e082bdea0f7d20851d5c68c898f7f5e570.webp?v=1755155000"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd484e082bdea0f7d20851d5c68c898f7f5e570.webp?v=1755155000","width":2000},{"alt":null,"id":25912192630883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bac0b8041331f81bba2ff1e3d3554525bc5dfa.webp?v=1755155000"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bac0b8041331f81bba2ff1e3d3554525bc5dfa.webp?v=1755155000","width":2000},{"alt":null,"id":25912192761955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5637fb052b4ffec501e08401ea686a7ced4b370f.webp?v=1755155000"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5637fb052b4ffec501e08401ea686a7ced4b370f.webp?v=1755155000","width":2000},{"alt":null,"id":25912193024099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d323b1e22a9a087b00b23bdcdb31e62a1222eed.webp?v=1755155001"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d323b1e22a9a087b00b23bdcdb31e62a1222eed.webp?v=1755155001","width":2000},{"alt":null,"id":25912193155171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e676ce14c61a074c29c0e4a3c4acd704bba8f2.webp?v=1755155002"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e676ce14c61a074c29c0e4a3c4acd704bba8f2.webp?v=1755155002","width":2000},{"alt":null,"id":25912193417315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a19598a7a74af1b1ca02bdbe8659c0d070b46002.webp?v=1755155002"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a19598a7a74af1b1ca02bdbe8659c0d070b46002.webp?v=1755155002","width":2000},{"alt":null,"id":25912193613923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f100beeab4bcd5c7e7245d96722ee2947a314a4e.webp?v=1755155003"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f100beeab4bcd5c7e7245d96722ee2947a314a4e.webp?v=1755155003","width":2000},{"alt":null,"id":25912193777763,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216726a9ca0f501511cb69f2fe7345214c5fe32e.webp?v=1755155004"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216726a9ca0f501511cb69f2fe7345214c5fe32e.webp?v=1755155004","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43590789759075,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01296Z7-DU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34327938334819,"product_id":7856288596067,"position":1,"created_at":"2025-08-14T15:03:16+08:00","updated_at":"2025-08-14T15:03:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998","variant_ids":[43590789759075]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296Z7-DU01","featured_media":{"alt":null,"id":25912191778915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43590789824611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0129652-DU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34327939186787,"product_id":7856288596067,"position":4,"created_at":"2025-08-14T15:03:18+08:00","updated_at":"2025-08-14T15:03:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bac0b8041331f81bba2ff1e3d3554525bc5dfa.webp?v=1755155000","variant_ids":[43590789824611]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129652-DU01","featured_media":{"alt":null,"id":25912192630883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bac0b8041331f81bba2ff1e3d3554525bc5dfa.webp?v=1755155000"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43590789890147,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01296O8-DU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34327938924643,"product_id":7856288596067,"position":3,"created_at":"2025-08-14T15:03:17+08:00","updated_at":"2025-08-14T15:03:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd484e082bdea0f7d20851d5c68c898f7f5e570.webp?v=1755155000","variant_ids":[43590789890147]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296O8-DU01","featured_media":{"alt":null,"id":25912192335971,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd484e082bdea0f7d20851d5c68c898f7f5e570.webp?v=1755155000"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43590789922915,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-DU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34327939547235,"product_id":7856288596067,"position":6,"created_at":"2025-08-14T15:03:19+08:00","updated_at":"2025-08-14T15:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d323b1e22a9a087b00b23bdcdb31e62a1222eed.webp?v=1755155001","variant_ids":[43590789922915]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-DU01","featured_media":{"alt":null,"id":25912193024099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d323b1e22a9a087b00b23bdcdb31e62a1222eed.webp?v=1755155001"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43590789759075,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01296Z7-DU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34327938334819,"product_id":7856288596067,"position":1,"created_at":"2025-08-14T15:03:16+08:00","updated_at":"2025-08-14T15:03:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998","variant_ids":[43590789759075]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Ducati Ducati Logo - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296Z7-DU01","featured_media":{"alt":null,"id":25912191778915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26a5b6ccc1f55b90603e2c2eec3b5e8697a091c.webp?v=1755154998"}},"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: "停產" }