$product = {"id":7946668965987,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳","handle":"iphone-14-plus-mod-nx-magsafe-it37","description":null,"published_at":"2025-12-29T15:14:20+08:00","created_at":"2025-12-29T15:08:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-godgwawa","device-iPhone 14 Plus","merge","reseller-godgwawa"],"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":43923608076387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037383852131,"product_id":7946668965987,"position":4,"created_at":"2025-12-29T15:09:47+08:00","updated_at":"2025-12-29T15:09:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/567c07ff84768184528557694b6dd578e0a18c7b_aa5c1c4f-b7fe-4276-a871-adde2ca6365e.webp?v=1766992189","variant_ids":[43923608076387]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-IT37","featured_media":{"alt":null,"id":26595970908259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/567c07ff84768184528557694b6dd578e0a18c7b_aa5c1c4f-b7fe-4276-a871-adde2ca6365e.webp?v=1766992189"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7c76797d87090484d34210ced0115434c5f2b6b_7c5a2aa4-17e6-4347-af56-cac078475bed.webp?v=1766992188","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cb4bed9339910442c9dd4bdc778b033a925c42c_500d35a4-17b1-440b-8884-d123c4e38bca.webp?v=1766992188","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa6b860925330765f54e3d6c4dad885824a2eb1c_f39c8c70-bac8-4960-bc0b-e0a2807906d8.webp?v=1766992189","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/567c07ff84768184528557694b6dd578e0a18c7b_aa5c1c4f-b7fe-4276-a871-adde2ca6365e.webp?v=1766992189","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d41375d7adaeec84eadaf7717053f0790c7b93a5_a26ed774-4e8a-4d29-b8c3-e0679a5eb1ac.webp?v=1766992190","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da0e176a3370a5f88e88e42fc29dca3b60b47d1b_d1fff5f5-13ff-4aff-8b4a-e47f3c3fc015.webp?v=1766992190","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ded739c5a50fd43e5f3cd4417e8ee45d0a5a8b_5cf0dab7-eb52-4e07-a578-7fd04d90982b.webp?v=1766992191","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08387c29e734cd0366e417cb3aa435eda17b55c7_0f7ed960-1d59-4cc6-a59f-471dfcaf3d3d.webp?v=1766992191","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3883636a4759582e54f1fcb4adc8ece763bc0187_1c277bf1-0ed5-48cd-a57d-9327a99af7b2.webp?v=1766992192","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ffecd4547b5ccf10738ec28db136f5ae43476b1_50a6f6c0-93de-4316-8037-979d33d5629d.webp?v=1766992193","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac4472a6215718a111b175100d883193045f3f50_ee019167-034a-42ad-9203-c0e47a68d7dd.webp?v=1766992193","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de7cddaf0d9c194947403a11484a4c6db87127ff_2ca4927c-0d72-40ca-b727-83665d69ff3b.webp?v=1766992194","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b62b91af14b54004858264b9c303a6bed600b95_701dda9f-2bf4-4ac5-a66d-e3601a652ca2.webp?v=1766992194"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7c76797d87090484d34210ced0115434c5f2b6b_7c5a2aa4-17e6-4347-af56-cac078475bed.webp?v=1766992188","options":["color"],"media":[{"alt":null,"id":26595969859683,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7c76797d87090484d34210ced0115434c5f2b6b_7c5a2aa4-17e6-4347-af56-cac078475bed.webp?v=1766992188"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7c76797d87090484d34210ced0115434c5f2b6b_7c5a2aa4-17e6-4347-af56-cac078475bed.webp?v=1766992188","width":2000},{"alt":null,"id":26595970252899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cb4bed9339910442c9dd4bdc778b033a925c42c_500d35a4-17b1-440b-8884-d123c4e38bca.webp?v=1766992188"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cb4bed9339910442c9dd4bdc778b033a925c42c_500d35a4-17b1-440b-8884-d123c4e38bca.webp?v=1766992188","width":2000},{"alt":null,"id":26595970383971,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa6b860925330765f54e3d6c4dad885824a2eb1c_f39c8c70-bac8-4960-bc0b-e0a2807906d8.webp?v=1766992189"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa6b860925330765f54e3d6c4dad885824a2eb1c_f39c8c70-bac8-4960-bc0b-e0a2807906d8.webp?v=1766992189","width":2000},{"alt":null,"id":26595970908259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/567c07ff84768184528557694b6dd578e0a18c7b_aa5c1c4f-b7fe-4276-a871-adde2ca6365e.webp?v=1766992189"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/567c07ff84768184528557694b6dd578e0a18c7b_aa5c1c4f-b7fe-4276-a871-adde2ca6365e.webp?v=1766992189","width":2000},{"alt":null,"id":26595971170403,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d41375d7adaeec84eadaf7717053f0790c7b93a5_a26ed774-4e8a-4d29-b8c3-e0679a5eb1ac.webp?v=1766992190"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d41375d7adaeec84eadaf7717053f0790c7b93a5_a26ed774-4e8a-4d29-b8c3-e0679a5eb1ac.webp?v=1766992190","width":2000},{"alt":null,"id":26595971596387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da0e176a3370a5f88e88e42fc29dca3b60b47d1b_d1fff5f5-13ff-4aff-8b4a-e47f3c3fc015.webp?v=1766992190"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da0e176a3370a5f88e88e42fc29dca3b60b47d1b_d1fff5f5-13ff-4aff-8b4a-e47f3c3fc015.webp?v=1766992190","width":2000},{"alt":null,"id":26595971760227,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ded739c5a50fd43e5f3cd4417e8ee45d0a5a8b_5cf0dab7-eb52-4e07-a578-7fd04d90982b.webp?v=1766992191"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ded739c5a50fd43e5f3cd4417e8ee45d0a5a8b_5cf0dab7-eb52-4e07-a578-7fd04d90982b.webp?v=1766992191","width":2000},{"alt":null,"id":26595972055139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08387c29e734cd0366e417cb3aa435eda17b55c7_0f7ed960-1d59-4cc6-a59f-471dfcaf3d3d.webp?v=1766992191"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08387c29e734cd0366e417cb3aa435eda17b55c7_0f7ed960-1d59-4cc6-a59f-471dfcaf3d3d.webp?v=1766992191","width":2000},{"alt":null,"id":26595972776035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3883636a4759582e54f1fcb4adc8ece763bc0187_1c277bf1-0ed5-48cd-a57d-9327a99af7b2.webp?v=1766992192"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3883636a4759582e54f1fcb4adc8ece763bc0187_1c277bf1-0ed5-48cd-a57d-9327a99af7b2.webp?v=1766992192","width":2000},{"alt":null,"id":26595973038179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ffecd4547b5ccf10738ec28db136f5ae43476b1_50a6f6c0-93de-4316-8037-979d33d5629d.webp?v=1766992193"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ffecd4547b5ccf10738ec28db136f5ae43476b1_50a6f6c0-93de-4316-8037-979d33d5629d.webp?v=1766992193","width":2000},{"alt":null,"id":26595973300323,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac4472a6215718a111b175100d883193045f3f50_ee019167-034a-42ad-9203-c0e47a68d7dd.webp?v=1766992193"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac4472a6215718a111b175100d883193045f3f50_ee019167-034a-42ad-9203-c0e47a68d7dd.webp?v=1766992193","width":2000},{"alt":null,"id":26595973791843,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de7cddaf0d9c194947403a11484a4c6db87127ff_2ca4927c-0d72-40ca-b727-83665d69ff3b.webp?v=1766992194"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de7cddaf0d9c194947403a11484a4c6db87127ff_2ca4927c-0d72-40ca-b727-83665d69ff3b.webp?v=1766992194","width":2000},{"alt":null,"id":26595974053987,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b62b91af14b54004858264b9c303a6bed600b95_701dda9f-2bf4-4ac5-a66d-e3601a652ca2.webp?v=1766992194"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b62b91af14b54004858264b9c303a6bed600b95_701dda9f-2bf4-4ac5-a66d-e3601a652ca2.webp?v=1766992194","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43923608076387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037383852131,"product_id":7946668965987,"position":4,"created_at":"2025-12-29T15:09:47+08:00","updated_at":"2025-12-29T15:09:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/567c07ff84768184528557694b6dd578e0a18c7b_aa5c1c4f-b7fe-4276-a871-adde2ca6365e.webp?v=1766992189","variant_ids":[43923608076387]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-IT37","featured_media":{"alt":null,"id":26595970908259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/567c07ff84768184528557694b6dd578e0a18c7b_aa5c1c4f-b7fe-4276-a871-adde2ca6365e.webp?v=1766992189"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43923608076387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037383852131,"product_id":7946668965987,"position":4,"created_at":"2025-12-29T15:09:47+08:00","updated_at":"2025-12-29T15:09:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/567c07ff84768184528557694b6dd578e0a18c7b_aa5c1c4f-b7fe-4276-a871-adde2ca6365e.webp?v=1766992189","variant_ids":[43923608076387]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-IT37","featured_media":{"alt":null,"id":26595970908259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/567c07ff84768184528557694b6dd578e0a18c7b_aa5c1c4f-b7fe-4276-a871-adde2ca6365e.webp?v=1766992189"}},"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: "停產" }