$product = {"id":7769768689763,"title":"iPhone 13 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜","handle":"iphone-13-pro-max-mod-nx-printable-xf46","description":null,"published_at":"2025-07-16T17:01:03+08:00","created_at":"2025-04-15T20:24:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Pro Max","merge","reseller-ilovedoodle"],"price":90000,"price_min":90000,"price_max":90000,"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":43303887306851,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197045968995,"product_id":7769768689763,"position":10,"created_at":"2025-07-16T14:57:22+08:00","updated_at":"2025-07-16T14:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3360d42e1f84fcfb3bad911aca71988d04898946_07f3734b-a4cb-477a-a2a9-c921a0537c2d.webp?v=1752649044","variant_ids":[43303887306851]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-XF46","featured_media":{"alt":null,"id":25829685166179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3360d42e1f84fcfb3bad911aca71988d04898946_07f3734b-a4cb-477a-a2a9-c921a0537c2d.webp?v=1752649044"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303893958755,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197043052643,"product_id":7769768689763,"position":4,"created_at":"2025-07-16T14:57:19+08:00","updated_at":"2025-07-16T14:57:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7460774d83e6231b5b97eb3ee94d5f27a6f62795_f650d595-7288-4bc5-aee7-2bf773a1881f.webp?v=1752649041","variant_ids":[43303893958755]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-XF46","featured_media":{"alt":null,"id":25829683724387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7460774d83e6231b5b97eb3ee94d5f27a6f62795_f650d595-7288-4bc5-aee7-2bf773a1881f.webp?v=1752649041"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9165470137867ec6353ec2070ed9565260fd0a6a.webp?v=1744719857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/826ba9d4bc88ba376495c8ac21399e8fb60bbe11_de6f2852-731b-492a-9f20-e241bfa24dd2.webp?v=1752649040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/261771df2e7a05e85adefa41e8ba43038dd808ce_d6e11fd0-e57d-4c86-9fc9-79fe299449e8.webp?v=1752649040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7460774d83e6231b5b97eb3ee94d5f27a6f62795_f650d595-7288-4bc5-aee7-2bf773a1881f.webp?v=1752649041","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fdf7bfa85b96f5c47d704db6944ec8b2bacac5_adfb5d11-51dd-4919-a7ac-1dac6b5db13d.webp?v=1752649042","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9333ac7a9532685337b09cddf540b2c347a32b_b7c29f68-d177-4e44-8f3b-b246892c11b9.webp?v=1752649042","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/011af323b9b4bd8764cb9b712a48b8266eb63da4_6db4126c-ff68-4415-8737-5fab823b0447.webp?v=1752649043","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0f84850c6ee9eb56cf731790651b6384d08502_986fe77c-eb06-46e7-90a5-b56a4703f5fa.webp?v=1752649043","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9283cb8bbd8fcf4d4cb8deb6893537b8b3044ae2_07105964-c961-42a3-954a-29d0547a11df.webp?v=1752649043","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3360d42e1f84fcfb3bad911aca71988d04898946_07f3734b-a4cb-477a-a2a9-c921a0537c2d.webp?v=1752649044","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b816504c9c462d0016d7a0aa535fc698ae9419ca_a88233a3-5be5-4a1a-9a1f-2c46fe4e7eea.webp?v=1752649044"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9165470137867ec6353ec2070ed9565260fd0a6a.webp?v=1744719857","options":["color"],"media":[{"alt":null,"id":25496260116579,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9165470137867ec6353ec2070ed9565260fd0a6a.webp?v=1744719857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9165470137867ec6353ec2070ed9565260fd0a6a.webp?v=1744719857","width":2000},{"alt":null,"id":25829683298403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/826ba9d4bc88ba376495c8ac21399e8fb60bbe11_de6f2852-731b-492a-9f20-e241bfa24dd2.webp?v=1752649040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/826ba9d4bc88ba376495c8ac21399e8fb60bbe11_de6f2852-731b-492a-9f20-e241bfa24dd2.webp?v=1752649040","width":2000},{"alt":null,"id":25829683527779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/261771df2e7a05e85adefa41e8ba43038dd808ce_d6e11fd0-e57d-4c86-9fc9-79fe299449e8.webp?v=1752649040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/261771df2e7a05e85adefa41e8ba43038dd808ce_d6e11fd0-e57d-4c86-9fc9-79fe299449e8.webp?v=1752649040","width":2000},{"alt":null,"id":25829683724387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7460774d83e6231b5b97eb3ee94d5f27a6f62795_f650d595-7288-4bc5-aee7-2bf773a1881f.webp?v=1752649041"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7460774d83e6231b5b97eb3ee94d5f27a6f62795_f650d595-7288-4bc5-aee7-2bf773a1881f.webp?v=1752649041","width":2000},{"alt":null,"id":25829683920995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fdf7bfa85b96f5c47d704db6944ec8b2bacac5_adfb5d11-51dd-4919-a7ac-1dac6b5db13d.webp?v=1752649042"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fdf7bfa85b96f5c47d704db6944ec8b2bacac5_adfb5d11-51dd-4919-a7ac-1dac6b5db13d.webp?v=1752649042","width":2000},{"alt":null,"id":25829684248675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9333ac7a9532685337b09cddf540b2c347a32b_b7c29f68-d177-4e44-8f3b-b246892c11b9.webp?v=1752649042"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9333ac7a9532685337b09cddf540b2c347a32b_b7c29f68-d177-4e44-8f3b-b246892c11b9.webp?v=1752649042","width":2000},{"alt":null,"id":25829684412515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/011af323b9b4bd8764cb9b712a48b8266eb63da4_6db4126c-ff68-4415-8737-5fab823b0447.webp?v=1752649043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/011af323b9b4bd8764cb9b712a48b8266eb63da4_6db4126c-ff68-4415-8737-5fab823b0447.webp?v=1752649043","width":2000},{"alt":null,"id":25829684674659,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0f84850c6ee9eb56cf731790651b6384d08502_986fe77c-eb06-46e7-90a5-b56a4703f5fa.webp?v=1752649043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0f84850c6ee9eb56cf731790651b6384d08502_986fe77c-eb06-46e7-90a5-b56a4703f5fa.webp?v=1752649043","width":2000},{"alt":null,"id":25829684904035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9283cb8bbd8fcf4d4cb8deb6893537b8b3044ae2_07105964-c961-42a3-954a-29d0547a11df.webp?v=1752649043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9283cb8bbd8fcf4d4cb8deb6893537b8b3044ae2_07105964-c961-42a3-954a-29d0547a11df.webp?v=1752649043","width":2000},{"alt":null,"id":25829685166179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3360d42e1f84fcfb3bad911aca71988d04898946_07f3734b-a4cb-477a-a2a9-c921a0537c2d.webp?v=1752649044"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3360d42e1f84fcfb3bad911aca71988d04898946_07f3734b-a4cb-477a-a2a9-c921a0537c2d.webp?v=1752649044","width":2000},{"alt":null,"id":25829685362787,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b816504c9c462d0016d7a0aa535fc698ae9419ca_a88233a3-5be5-4a1a-9a1f-2c46fe4e7eea.webp?v=1752649044"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b816504c9c462d0016d7a0aa535fc698ae9419ca_a88233a3-5be5-4a1a-9a1f-2c46fe4e7eea.webp?v=1752649044","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303887306851,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197045968995,"product_id":7769768689763,"position":10,"created_at":"2025-07-16T14:57:22+08:00","updated_at":"2025-07-16T14:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3360d42e1f84fcfb3bad911aca71988d04898946_07f3734b-a4cb-477a-a2a9-c921a0537c2d.webp?v=1752649044","variant_ids":[43303887306851]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-XF46","featured_media":{"alt":null,"id":25829685166179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3360d42e1f84fcfb3bad911aca71988d04898946_07f3734b-a4cb-477a-a2a9-c921a0537c2d.webp?v=1752649044"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303893958755,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197043052643,"product_id":7769768689763,"position":4,"created_at":"2025-07-16T14:57:19+08:00","updated_at":"2025-07-16T14:57:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7460774d83e6231b5b97eb3ee94d5f27a6f62795_f650d595-7288-4bc5-aee7-2bf773a1881f.webp?v=1752649041","variant_ids":[43303893958755]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-XF46","featured_media":{"alt":null,"id":25829683724387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7460774d83e6231b5b97eb3ee94d5f27a6f62795_f650d595-7288-4bc5-aee7-2bf773a1881f.webp?v=1752649041"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303887306851,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197045968995,"product_id":7769768689763,"position":10,"created_at":"2025-07-16T14:57:22+08:00","updated_at":"2025-07-16T14:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3360d42e1f84fcfb3bad911aca71988d04898946_07f3734b-a4cb-477a-a2a9-c921a0537c2d.webp?v=1752649044","variant_ids":[43303887306851]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-XF46","featured_media":{"alt":null,"id":25829685166179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3360d42e1f84fcfb3bad911aca71988d04898946_07f3734b-a4cb-477a-a2a9-c921a0537c2d.webp?v=1752649044"}},"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: "停產" }