$product = {"id":7769715179619,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Cat Dive - 跳水貓咪","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf51","description":null,"published_at":"2025-07-16T17:05:39+08:00","created_at":"2025-04-15T19:52:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 14 Plus","merge","reseller-ilovedoodle"],"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":43303681884259,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197753954403,"product_id":7769715179619,"position":13,"created_at":"2025-07-16T15:22:04+08:00","updated_at":"2025-07-16T15:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f2a379f326cadcb815acb87f40b10a90ee43e_4ec0cca6-1f6d-4d0a-b1da-10539a6c51d8.webp?v=1752650526","variant_ids":[43303681884259]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Cat Dive - 跳水貓咪 - 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-XF51","featured_media":{"alt":null,"id":25830084608099,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f2a379f326cadcb815acb87f40b10a90ee43e_4ec0cca6-1f6d-4d0a-b1da-10539a6c51d8.webp?v=1752650526"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b4bd3adb2e3c7c45bbd53db1d46cca7649f32.webp?v=1744717965","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca6942b379ec2b7dd69f05b905b12edf00a308e_051176e0-5910-43f0-adf1-c87ac626054e.webp?v=1752650520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45c9f752f5b0d3837900ab6c7606f083ca6197ba_956701af-564b-4f59-b793-e63644a56989.webp?v=1752650521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa8b3a4754e53feeae612949ec6468a0261d780_2bdc0d65-80c9-4039-b735-cc9e4847fdd0.webp?v=1752650521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703f189e8b8a85b6ce4d7bce4f71f6e714db4cef_18815c8d-3128-4714-8aa3-5c16d88ee8c0.webp?v=1752650522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/995c1801958b83d83936712c896ad5f32912c8ee_8587d1f2-daeb-46d5-9ebd-f84585471421.webp?v=1752650522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da9ab28a19e72987e6710ff9103955964f490e4d_2318615f-dcc9-465a-a000-4be0c42c37d2.webp?v=1752650523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec9d2d1188f048131c9f44db2567a11464f4c00a_1136f59f-afbd-4606-9972-1a72ce94c600.webp?v=1752650524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf157cc7b6bf9c8ebb9b20f01897a0fd69b3bbf3_beb513d0-e19f-4926-bb63-f3c880a9ed0e.webp?v=1752650524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da817b21e0bdd5314cb6158e9134541f7516fa_4636b6e5-af6a-4dcf-a471-56b974f6a3ce.webp?v=1752650525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d94ce06dd5d1abe9203cfbe289d4c4bf72bcb01_25f0c948-4909-4fde-85ad-946a558f2e1f.webp?v=1752650526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e90ca8a3abe34d7c9631783e24e1a829efc230_2767529e-78e7-4dab-8b4a-949faabc2024.webp?v=1752650526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f2a379f326cadcb815acb87f40b10a90ee43e_4ec0cca6-1f6d-4d0a-b1da-10539a6c51d8.webp?v=1752650526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c82a989de48aa59f21c135422cfa323d90dd7498_34f88109-8926-4d6f-846d-3182cb6af836.webp?v=1752650527"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b4bd3adb2e3c7c45bbd53db1d46cca7649f32.webp?v=1744717965","options":["color"],"media":[{"alt":null,"id":25496170332259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b4bd3adb2e3c7c45bbd53db1d46cca7649f32.webp?v=1744717965"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b4bd3adb2e3c7c45bbd53db1d46cca7649f32.webp?v=1744717965","width":2000},{"alt":null,"id":25830080053347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca6942b379ec2b7dd69f05b905b12edf00a308e_051176e0-5910-43f0-adf1-c87ac626054e.webp?v=1752650520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca6942b379ec2b7dd69f05b905b12edf00a308e_051176e0-5910-43f0-adf1-c87ac626054e.webp?v=1752650520","width":2000},{"alt":null,"id":25830080282723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45c9f752f5b0d3837900ab6c7606f083ca6197ba_956701af-564b-4f59-b793-e63644a56989.webp?v=1752650521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45c9f752f5b0d3837900ab6c7606f083ca6197ba_956701af-564b-4f59-b793-e63644a56989.webp?v=1752650521","width":2000},{"alt":null,"id":25830080610403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa8b3a4754e53feeae612949ec6468a0261d780_2bdc0d65-80c9-4039-b735-cc9e4847fdd0.webp?v=1752650521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa8b3a4754e53feeae612949ec6468a0261d780_2bdc0d65-80c9-4039-b735-cc9e4847fdd0.webp?v=1752650521","width":2000},{"alt":null,"id":25830081003619,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703f189e8b8a85b6ce4d7bce4f71f6e714db4cef_18815c8d-3128-4714-8aa3-5c16d88ee8c0.webp?v=1752650522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703f189e8b8a85b6ce4d7bce4f71f6e714db4cef_18815c8d-3128-4714-8aa3-5c16d88ee8c0.webp?v=1752650522","width":2000},{"alt":null,"id":25830081495139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/995c1801958b83d83936712c896ad5f32912c8ee_8587d1f2-daeb-46d5-9ebd-f84585471421.webp?v=1752650522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/995c1801958b83d83936712c896ad5f32912c8ee_8587d1f2-daeb-46d5-9ebd-f84585471421.webp?v=1752650522","width":2000},{"alt":null,"id":25830081921123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da9ab28a19e72987e6710ff9103955964f490e4d_2318615f-dcc9-465a-a000-4be0c42c37d2.webp?v=1752650523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da9ab28a19e72987e6710ff9103955964f490e4d_2318615f-dcc9-465a-a000-4be0c42c37d2.webp?v=1752650523","width":2000},{"alt":null,"id":25830082281571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec9d2d1188f048131c9f44db2567a11464f4c00a_1136f59f-afbd-4606-9972-1a72ce94c600.webp?v=1752650524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec9d2d1188f048131c9f44db2567a11464f4c00a_1136f59f-afbd-4606-9972-1a72ce94c600.webp?v=1752650524","width":2000},{"alt":null,"id":25830082609251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf157cc7b6bf9c8ebb9b20f01897a0fd69b3bbf3_beb513d0-e19f-4926-bb63-f3c880a9ed0e.webp?v=1752650524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf157cc7b6bf9c8ebb9b20f01897a0fd69b3bbf3_beb513d0-e19f-4926-bb63-f3c880a9ed0e.webp?v=1752650524","width":2000},{"alt":null,"id":25830083231843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da817b21e0bdd5314cb6158e9134541f7516fa_4636b6e5-af6a-4dcf-a471-56b974f6a3ce.webp?v=1752650525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da817b21e0bdd5314cb6158e9134541f7516fa_4636b6e5-af6a-4dcf-a471-56b974f6a3ce.webp?v=1752650525","width":2000},{"alt":null,"id":25830083559523,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d94ce06dd5d1abe9203cfbe289d4c4bf72bcb01_25f0c948-4909-4fde-85ad-946a558f2e1f.webp?v=1752650526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d94ce06dd5d1abe9203cfbe289d4c4bf72bcb01_25f0c948-4909-4fde-85ad-946a558f2e1f.webp?v=1752650526","width":2000},{"alt":null,"id":25830083952739,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e90ca8a3abe34d7c9631783e24e1a829efc230_2767529e-78e7-4dab-8b4a-949faabc2024.webp?v=1752650526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e90ca8a3abe34d7c9631783e24e1a829efc230_2767529e-78e7-4dab-8b4a-949faabc2024.webp?v=1752650526","width":2000},{"alt":null,"id":25830084608099,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f2a379f326cadcb815acb87f40b10a90ee43e_4ec0cca6-1f6d-4d0a-b1da-10539a6c51d8.webp?v=1752650526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f2a379f326cadcb815acb87f40b10a90ee43e_4ec0cca6-1f6d-4d0a-b1da-10539a6c51d8.webp?v=1752650526","width":2000},{"alt":null,"id":25830084935779,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c82a989de48aa59f21c135422cfa323d90dd7498_34f88109-8926-4d6f-846d-3182cb6af836.webp?v=1752650527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c82a989de48aa59f21c135422cfa323d90dd7498_34f88109-8926-4d6f-846d-3182cb6af836.webp?v=1752650527","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303681884259,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197753954403,"product_id":7769715179619,"position":13,"created_at":"2025-07-16T15:22:04+08:00","updated_at":"2025-07-16T15:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f2a379f326cadcb815acb87f40b10a90ee43e_4ec0cca6-1f6d-4d0a-b1da-10539a6c51d8.webp?v=1752650526","variant_ids":[43303681884259]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Cat Dive - 跳水貓咪 - 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-XF51","featured_media":{"alt":null,"id":25830084608099,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f2a379f326cadcb815acb87f40b10a90ee43e_4ec0cca6-1f6d-4d0a-b1da-10539a6c51d8.webp?v=1752650526"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303681884259,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197753954403,"product_id":7769715179619,"position":13,"created_at":"2025-07-16T15:22:04+08:00","updated_at":"2025-07-16T15:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f2a379f326cadcb815acb87f40b10a90ee43e_4ec0cca6-1f6d-4d0a-b1da-10539a6c51d8.webp?v=1752650526","variant_ids":[43303681884259]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Cat Dive - 跳水貓咪 - 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-XF51","featured_media":{"alt":null,"id":25830084608099,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f2a379f326cadcb815acb87f40b10a90ee43e_4ec0cca6-1f6d-4d0a-b1da-10539a6c51d8.webp?v=1752650526"}},"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: "停產" }