$product = {"id":7769781239907,"title":"iPhone 13 mini Mod NX ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛","handle":"iphone-13-mini-mod-nx-printable-xf56","description":null,"published_at":"2025-07-04T14:47:42+08:00","created_at":"2025-04-15T20:30:57+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 Mini","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":43303930298467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196684505187,"product_id":7769781239907,"position":5,"created_at":"2025-07-16T14:48:58+08:00","updated_at":"2025-07-16T14:49:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2469741829ef98c1fcdb18af7ebb67f06e3100ae.webp?v=1752648540","variant_ids":[43303930298467]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF56","featured_media":{"alt":null,"id":25829488885859,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2469741829ef98c1fcdb18af7ebb67f06e3100ae.webp?v=1752648540"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303936262243,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196683128931,"product_id":7769781239907,"position":2,"created_at":"2025-07-16T14:48:56+08:00","updated_at":"2025-07-16T14:48:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e8e5f658e7318da50f7b707185df6ad8af5b53.webp?v=1752648538","variant_ids":[43303936262243]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF56","featured_media":{"alt":null,"id":25829487771747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e8e5f658e7318da50f7b707185df6ad8af5b53.webp?v=1752648538"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303936426083,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196684767331,"product_id":7769781239907,"position":6,"created_at":"2025-07-16T14:48:59+08:00","updated_at":"2025-07-16T14:49:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66314f9aee49d2631d16fb66ea2977474a6cfb98.webp?v=1752648541","variant_ids":[43303936426083]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - 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":"NPB01228J5-XF56","featured_media":{"alt":null,"id":25829488984163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66314f9aee49d2631d16fb66ea2977474a6cfb98.webp?v=1752648541"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f4bc7f3105bd0737d7709cdc1243c09a8bc0e7.webp?v=1744720264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e8e5f658e7318da50f7b707185df6ad8af5b53.webp?v=1752648538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d924341f5c05d2d7a33de418510131dd4c4f734.webp?v=1752648539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a4ab4b8bdd155c8492e7870232c13f2fc8f908.webp?v=1752648539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2469741829ef98c1fcdb18af7ebb67f06e3100ae.webp?v=1752648540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66314f9aee49d2631d16fb66ea2977474a6cfb98.webp?v=1752648541","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3383e2ee2eb741530b1cb52cd1edf1e767e80128.webp?v=1752648541","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9af3508c32797e2095f5a46d58249addbaba13f5.webp?v=1752648542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d39b25c5a9fec26acbb327812d438d3aec0606c.webp?v=1752648542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5644ff1beb21a27a89c1378e03b9b1d0b34d5.webp?v=1752648543","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f79af9fc9b6f2c6d4b6757a105c680301e992de.webp?v=1752648544"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f4bc7f3105bd0737d7709cdc1243c09a8bc0e7.webp?v=1744720264","options":["color"],"media":[{"alt":null,"id":25496273879139,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f4bc7f3105bd0737d7709cdc1243c09a8bc0e7.webp?v=1744720264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f4bc7f3105bd0737d7709cdc1243c09a8bc0e7.webp?v=1744720264","width":2000},{"alt":null,"id":25829487771747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e8e5f658e7318da50f7b707185df6ad8af5b53.webp?v=1752648538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e8e5f658e7318da50f7b707185df6ad8af5b53.webp?v=1752648538","width":2000},{"alt":null,"id":25829488558179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d924341f5c05d2d7a33de418510131dd4c4f734.webp?v=1752648539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d924341f5c05d2d7a33de418510131dd4c4f734.webp?v=1752648539","width":2000},{"alt":null,"id":25829488754787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a4ab4b8bdd155c8492e7870232c13f2fc8f908.webp?v=1752648539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a4ab4b8bdd155c8492e7870232c13f2fc8f908.webp?v=1752648539","width":2000},{"alt":null,"id":25829488885859,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2469741829ef98c1fcdb18af7ebb67f06e3100ae.webp?v=1752648540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2469741829ef98c1fcdb18af7ebb67f06e3100ae.webp?v=1752648540","width":2000},{"alt":null,"id":25829488984163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66314f9aee49d2631d16fb66ea2977474a6cfb98.webp?v=1752648541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66314f9aee49d2631d16fb66ea2977474a6cfb98.webp?v=1752648541","width":2000},{"alt":null,"id":25829489180771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3383e2ee2eb741530b1cb52cd1edf1e767e80128.webp?v=1752648541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3383e2ee2eb741530b1cb52cd1edf1e767e80128.webp?v=1752648541","width":2000},{"alt":null,"id":25829489410147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9af3508c32797e2095f5a46d58249addbaba13f5.webp?v=1752648542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9af3508c32797e2095f5a46d58249addbaba13f5.webp?v=1752648542","width":2000},{"alt":null,"id":25829489639523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d39b25c5a9fec26acbb327812d438d3aec0606c.webp?v=1752648542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d39b25c5a9fec26acbb327812d438d3aec0606c.webp?v=1752648542","width":2000},{"alt":null,"id":25829489836131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5644ff1beb21a27a89c1378e03b9b1d0b34d5.webp?v=1752648543"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5644ff1beb21a27a89c1378e03b9b1d0b34d5.webp?v=1752648543","width":2000},{"alt":null,"id":25829490032739,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f79af9fc9b6f2c6d4b6757a105c680301e992de.webp?v=1752648544"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f79af9fc9b6f2c6d4b6757a105c680301e992de.webp?v=1752648544","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303930298467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196684505187,"product_id":7769781239907,"position":5,"created_at":"2025-07-16T14:48:58+08:00","updated_at":"2025-07-16T14:49:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2469741829ef98c1fcdb18af7ebb67f06e3100ae.webp?v=1752648540","variant_ids":[43303930298467]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF56","featured_media":{"alt":null,"id":25829488885859,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2469741829ef98c1fcdb18af7ebb67f06e3100ae.webp?v=1752648540"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303936262243,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196683128931,"product_id":7769781239907,"position":2,"created_at":"2025-07-16T14:48:56+08:00","updated_at":"2025-07-16T14:48:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e8e5f658e7318da50f7b707185df6ad8af5b53.webp?v=1752648538","variant_ids":[43303936262243]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF56","featured_media":{"alt":null,"id":25829487771747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e8e5f658e7318da50f7b707185df6ad8af5b53.webp?v=1752648538"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303936426083,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196684767331,"product_id":7769781239907,"position":6,"created_at":"2025-07-16T14:48:59+08:00","updated_at":"2025-07-16T14:49:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66314f9aee49d2631d16fb66ea2977474a6cfb98.webp?v=1752648541","variant_ids":[43303936426083]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - 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":"NPB01228J5-XF56","featured_media":{"alt":null,"id":25829488984163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66314f9aee49d2631d16fb66ea2977474a6cfb98.webp?v=1752648541"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303930298467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196684505187,"product_id":7769781239907,"position":5,"created_at":"2025-07-16T14:48:58+08:00","updated_at":"2025-07-16T14:49:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2469741829ef98c1fcdb18af7ebb67f06e3100ae.webp?v=1752648540","variant_ids":[43303930298467]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF56","featured_media":{"alt":null,"id":25829488885859,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2469741829ef98c1fcdb18af7ebb67f06e3100ae.webp?v=1752648540"}},"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: "停產" }