$product = {"id":7769656787043,"title":"iPhone 14 Plus Mod NX ilovedoodle Mindful Cat - 冷靜","handle":"iphone-14-plus-mod-nx-printable-xf46","description":null,"published_at":"2025-07-16T17:13:11+08:00","created_at":"2025-04-15T19:02:19+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 14 Plus","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":43303375274083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197182349411,"product_id":7769656787043,"position":2,"created_at":"2025-07-16T15:00:16+08:00","updated_at":"2025-07-16T15:00:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cab37c3ce9bb591d0cfb2a47c16b150cd1676dd_42cd51df-e4ac-4450-80e8-2dca6630fba5.webp?v=1752649218","variant_ids":[43303375274083]},"available":true,"name":"iPhone 14 Plus 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":"NPB0126124-XF46","featured_media":{"alt":null,"id":25829759549539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cab37c3ce9bb591d0cfb2a47c16b150cd1676dd_42cd51df-e4ac-4450-80e8-2dca6630fba5.webp?v=1752649218"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f271df47bd30944022ef69232894ca25850803_6aaf66a4-75d2-42b8-ad35-2dd0c3cb94d6.webp?v=1744714947","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cab37c3ce9bb591d0cfb2a47c16b150cd1676dd_42cd51df-e4ac-4450-80e8-2dca6630fba5.webp?v=1752649218","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/763dd1146628fdac59043cb9c11f775895d02c90_8ea76756-2b1e-4b75-8b9c-f4cf89cc8c1b.webp?v=1752649219","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00fff055a2757ff225840cdcfd595ea4dbe05b3e_c3838280-8574-405a-89d5-b4deaac3c889.webp?v=1752649219","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843d4b27249475d27d3a605b73654e441a2cf0bb_b3362217-faed-440b-998d-7596f90cc1d0.webp?v=1752649220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab2c5d800b47da7ec9404124a21476142e8da8a_50574e6d-4c6a-4592-b665-f82204e4d693.webp?v=1752649220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e183b473b591066262a363905622a959d4ac1d8d_a73a016a-21e1-4302-a2fb-05fed487d262.webp?v=1752649221","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c73bc9a356c66021aab62de391ae1e7d34e292_c44d7750-e04a-48ab-bb6b-e70136b51857.webp?v=1752649221","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce4350a175cdc16f3102a5223ef925968ddabac9_9f678a11-c693-40ed-b384-8f7367982239.webp?v=1752649222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8c5b7749ba3594e3ef4cc14bb04938c41b578c_8279e13e-183e-4d91-9e5e-e6b89736de97.webp?v=1752649223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4ba36d710bc7b060cbf36a2383812bff6520ada_8fab7f8e-17af-4327-8e80-4bb5d184110e.webp?v=1752649223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8696d90cc28ee63e2e4b6536312718597b3319c6_91fcf2e3-10ea-4d20-8231-fb3e8577a36a.webp?v=1752649224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a827023a30e1e79bf7d05af6d20eaa10721c8d_7c9bc8d8-333e-49c7-8845-c2d20d833907.webp?v=1752649224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b7389ca53ff91cf4a3085350eb88fb1843d217e_56d292d0-d77c-4f8b-a01a-c0b379cc5f1a.webp?v=1752649225"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f271df47bd30944022ef69232894ca25850803_6aaf66a4-75d2-42b8-ad35-2dd0c3cb94d6.webp?v=1744714947","options":["color"],"media":[{"alt":null,"id":25496066162787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f271df47bd30944022ef69232894ca25850803_6aaf66a4-75d2-42b8-ad35-2dd0c3cb94d6.webp?v=1744714947"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f271df47bd30944022ef69232894ca25850803_6aaf66a4-75d2-42b8-ad35-2dd0c3cb94d6.webp?v=1744714947","width":2000},{"alt":null,"id":25829759549539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cab37c3ce9bb591d0cfb2a47c16b150cd1676dd_42cd51df-e4ac-4450-80e8-2dca6630fba5.webp?v=1752649218"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cab37c3ce9bb591d0cfb2a47c16b150cd1676dd_42cd51df-e4ac-4450-80e8-2dca6630fba5.webp?v=1752649218","width":2000},{"alt":null,"id":25829759778915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/763dd1146628fdac59043cb9c11f775895d02c90_8ea76756-2b1e-4b75-8b9c-f4cf89cc8c1b.webp?v=1752649219"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/763dd1146628fdac59043cb9c11f775895d02c90_8ea76756-2b1e-4b75-8b9c-f4cf89cc8c1b.webp?v=1752649219","width":2000},{"alt":null,"id":25829760073827,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00fff055a2757ff225840cdcfd595ea4dbe05b3e_c3838280-8574-405a-89d5-b4deaac3c889.webp?v=1752649219"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00fff055a2757ff225840cdcfd595ea4dbe05b3e_c3838280-8574-405a-89d5-b4deaac3c889.webp?v=1752649219","width":2000},{"alt":null,"id":25829760335971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843d4b27249475d27d3a605b73654e441a2cf0bb_b3362217-faed-440b-998d-7596f90cc1d0.webp?v=1752649220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843d4b27249475d27d3a605b73654e441a2cf0bb_b3362217-faed-440b-998d-7596f90cc1d0.webp?v=1752649220","width":2000},{"alt":null,"id":25829760401507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab2c5d800b47da7ec9404124a21476142e8da8a_50574e6d-4c6a-4592-b665-f82204e4d693.webp?v=1752649220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab2c5d800b47da7ec9404124a21476142e8da8a_50574e6d-4c6a-4592-b665-f82204e4d693.webp?v=1752649220","width":2000},{"alt":null,"id":25829760467043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e183b473b591066262a363905622a959d4ac1d8d_a73a016a-21e1-4302-a2fb-05fed487d262.webp?v=1752649221"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e183b473b591066262a363905622a959d4ac1d8d_a73a016a-21e1-4302-a2fb-05fed487d262.webp?v=1752649221","width":2000},{"alt":null,"id":25829760565347,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c73bc9a356c66021aab62de391ae1e7d34e292_c44d7750-e04a-48ab-bb6b-e70136b51857.webp?v=1752649221"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c73bc9a356c66021aab62de391ae1e7d34e292_c44d7750-e04a-48ab-bb6b-e70136b51857.webp?v=1752649221","width":2000},{"alt":null,"id":25829760663651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce4350a175cdc16f3102a5223ef925968ddabac9_9f678a11-c693-40ed-b384-8f7367982239.webp?v=1752649222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce4350a175cdc16f3102a5223ef925968ddabac9_9f678a11-c693-40ed-b384-8f7367982239.webp?v=1752649222","width":2000},{"alt":null,"id":25829760827491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8c5b7749ba3594e3ef4cc14bb04938c41b578c_8279e13e-183e-4d91-9e5e-e6b89736de97.webp?v=1752649223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8c5b7749ba3594e3ef4cc14bb04938c41b578c_8279e13e-183e-4d91-9e5e-e6b89736de97.webp?v=1752649223","width":2000},{"alt":null,"id":25829760860259,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4ba36d710bc7b060cbf36a2383812bff6520ada_8fab7f8e-17af-4327-8e80-4bb5d184110e.webp?v=1752649223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4ba36d710bc7b060cbf36a2383812bff6520ada_8fab7f8e-17af-4327-8e80-4bb5d184110e.webp?v=1752649223","width":2000},{"alt":null,"id":25829760958563,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8696d90cc28ee63e2e4b6536312718597b3319c6_91fcf2e3-10ea-4d20-8231-fb3e8577a36a.webp?v=1752649224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8696d90cc28ee63e2e4b6536312718597b3319c6_91fcf2e3-10ea-4d20-8231-fb3e8577a36a.webp?v=1752649224","width":2000},{"alt":null,"id":25829761253475,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a827023a30e1e79bf7d05af6d20eaa10721c8d_7c9bc8d8-333e-49c7-8845-c2d20d833907.webp?v=1752649224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a827023a30e1e79bf7d05af6d20eaa10721c8d_7c9bc8d8-333e-49c7-8845-c2d20d833907.webp?v=1752649224","width":2000},{"alt":null,"id":25829761482851,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b7389ca53ff91cf4a3085350eb88fb1843d217e_56d292d0-d77c-4f8b-a01a-c0b379cc5f1a.webp?v=1752649225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b7389ca53ff91cf4a3085350eb88fb1843d217e_56d292d0-d77c-4f8b-a01a-c0b379cc5f1a.webp?v=1752649225","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303375274083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197182349411,"product_id":7769656787043,"position":2,"created_at":"2025-07-16T15:00:16+08:00","updated_at":"2025-07-16T15:00:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cab37c3ce9bb591d0cfb2a47c16b150cd1676dd_42cd51df-e4ac-4450-80e8-2dca6630fba5.webp?v=1752649218","variant_ids":[43303375274083]},"available":true,"name":"iPhone 14 Plus 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":"NPB0126124-XF46","featured_media":{"alt":null,"id":25829759549539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cab37c3ce9bb591d0cfb2a47c16b150cd1676dd_42cd51df-e4ac-4450-80e8-2dca6630fba5.webp?v=1752649218"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303375274083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197182349411,"product_id":7769656787043,"position":2,"created_at":"2025-07-16T15:00:16+08:00","updated_at":"2025-07-16T15:00:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cab37c3ce9bb591d0cfb2a47c16b150cd1676dd_42cd51df-e4ac-4450-80e8-2dca6630fba5.webp?v=1752649218","variant_ids":[43303375274083]},"available":true,"name":"iPhone 14 Plus 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":"NPB0126124-XF46","featured_media":{"alt":null,"id":25829759549539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cab37c3ce9bb591d0cfb2a47c16b150cd1676dd_42cd51df-e4ac-4450-80e8-2dca6630fba5.webp?v=1752649218"}},"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: "停產" }