$product = {"id":7770004586595,"title":"iPhone 12 mini Mod NX ilovedoodle Mindful Cat - Love Yourself","handle":"iphone-12-mini-mod-nx-printable-xf47","description":null,"published_at":"2025-04-16T12:52:53+08:00","created_at":"2025-04-15T23:11:31+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 12 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":43305010888803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118424-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197537947747,"product_id":7770004586595,"position":4,"created_at":"2025-07-16T15:08:35+08:00","updated_at":"2025-07-16T15:08:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc322791a41ac0734e17ff331297af82b82c843_6b0ac26d-138d-4ae7-a026-36ba08ad570d.webp?v=1752649717","variant_ids":[43305010888803]},"available":true,"name":"iPhone 12 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-XF47","featured_media":{"alt":null,"id":25829951930467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc322791a41ac0734e17ff331297af82b82c843_6b0ac26d-138d-4ae7-a026-36ba08ad570d.webp?v=1752649717"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e44578893369945322fc65e1a03a2ba6c98f6b8d_18513f5d-c5d8-43e5-aaac-a4e2841c7c55.webp?v=1744729898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d0666da1202bb24fdb00a15d5f138300a50212_9d2e766d-16fb-4e7f-8154-efc4f049be10.webp?v=1752649716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60faee60c624a95ef6cb5958ef697695c3da85f5_c7749cdf-a4ac-489b-9160-0a9d34fd99f6.webp?v=1752649716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc322791a41ac0734e17ff331297af82b82c843_6b0ac26d-138d-4ae7-a026-36ba08ad570d.webp?v=1752649717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/862ea1b10d1f32d8b86546d1865116faab0922a0_837b1231-410d-47fd-9697-beac76cc41a2.webp?v=1752649718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4b2a875dbc45d72c37fe8bc433a0133e2d0e3a_03ddcdba-0d2e-4e6c-bbe2-797e031ebb61.webp?v=1752649718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a424bfea0aad7b9d40106aa7d3ab6b5bc5eb04e_918962da-b903-452c-a21d-ca8b5c0e6f32.webp?v=1752649719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f25be60205c398cee972dfc5c687f353f04ac0b_a3e8d00a-1ae0-4568-8798-0dcc8d92e263.webp?v=1752649720","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211cc4d49674bd8e7e762274cf6d517e830ea6e4_72eed66a-a3c7-46b7-b853-c0868f90a133.webp?v=1752649721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e038250a70184507b7d3953905dc61ac5fbd8ae_b0ce5272-d8c2-4e31-88b7-00014410a00a.webp?v=1752649722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09b2b868dbc1387e13212ffa43d599978ea841b5_690fd768-dc6d-447e-8614-50aacc035dd4.webp?v=1752649722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93a3fd36333eef9b841bb37d4128fdb4bf28b11_ddd617de-df52-4b20-b138-1ea12042d925.webp?v=1752649723"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e44578893369945322fc65e1a03a2ba6c98f6b8d_18513f5d-c5d8-43e5-aaac-a4e2841c7c55.webp?v=1744729898","options":["color"],"media":[{"alt":null,"id":25496674599011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e44578893369945322fc65e1a03a2ba6c98f6b8d_18513f5d-c5d8-43e5-aaac-a4e2841c7c55.webp?v=1744729898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e44578893369945322fc65e1a03a2ba6c98f6b8d_18513f5d-c5d8-43e5-aaac-a4e2841c7c55.webp?v=1744729898","width":2000},{"alt":null,"id":25829951307875,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d0666da1202bb24fdb00a15d5f138300a50212_9d2e766d-16fb-4e7f-8154-efc4f049be10.webp?v=1752649716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d0666da1202bb24fdb00a15d5f138300a50212_9d2e766d-16fb-4e7f-8154-efc4f049be10.webp?v=1752649716","width":2000},{"alt":null,"id":25829951537251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60faee60c624a95ef6cb5958ef697695c3da85f5_c7749cdf-a4ac-489b-9160-0a9d34fd99f6.webp?v=1752649716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60faee60c624a95ef6cb5958ef697695c3da85f5_c7749cdf-a4ac-489b-9160-0a9d34fd99f6.webp?v=1752649716","width":2000},{"alt":null,"id":25829951930467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc322791a41ac0734e17ff331297af82b82c843_6b0ac26d-138d-4ae7-a026-36ba08ad570d.webp?v=1752649717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc322791a41ac0734e17ff331297af82b82c843_6b0ac26d-138d-4ae7-a026-36ba08ad570d.webp?v=1752649717","width":2000},{"alt":null,"id":25829952192611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/862ea1b10d1f32d8b86546d1865116faab0922a0_837b1231-410d-47fd-9697-beac76cc41a2.webp?v=1752649718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/862ea1b10d1f32d8b86546d1865116faab0922a0_837b1231-410d-47fd-9697-beac76cc41a2.webp?v=1752649718","width":2000},{"alt":null,"id":25829952520291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4b2a875dbc45d72c37fe8bc433a0133e2d0e3a_03ddcdba-0d2e-4e6c-bbe2-797e031ebb61.webp?v=1752649718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4b2a875dbc45d72c37fe8bc433a0133e2d0e3a_03ddcdba-0d2e-4e6c-bbe2-797e031ebb61.webp?v=1752649718","width":2000},{"alt":null,"id":25829952913507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a424bfea0aad7b9d40106aa7d3ab6b5bc5eb04e_918962da-b903-452c-a21d-ca8b5c0e6f32.webp?v=1752649719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a424bfea0aad7b9d40106aa7d3ab6b5bc5eb04e_918962da-b903-452c-a21d-ca8b5c0e6f32.webp?v=1752649719","width":2000},{"alt":null,"id":25829953306723,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f25be60205c398cee972dfc5c687f353f04ac0b_a3e8d00a-1ae0-4568-8798-0dcc8d92e263.webp?v=1752649720"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f25be60205c398cee972dfc5c687f353f04ac0b_a3e8d00a-1ae0-4568-8798-0dcc8d92e263.webp?v=1752649720","width":2000},{"alt":null,"id":25829953667171,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211cc4d49674bd8e7e762274cf6d517e830ea6e4_72eed66a-a3c7-46b7-b853-c0868f90a133.webp?v=1752649721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211cc4d49674bd8e7e762274cf6d517e830ea6e4_72eed66a-a3c7-46b7-b853-c0868f90a133.webp?v=1752649721","width":2000},{"alt":null,"id":25829953962083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e038250a70184507b7d3953905dc61ac5fbd8ae_b0ce5272-d8c2-4e31-88b7-00014410a00a.webp?v=1752649722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e038250a70184507b7d3953905dc61ac5fbd8ae_b0ce5272-d8c2-4e31-88b7-00014410a00a.webp?v=1752649722","width":2000},{"alt":null,"id":25829954191459,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09b2b868dbc1387e13212ffa43d599978ea841b5_690fd768-dc6d-447e-8614-50aacc035dd4.webp?v=1752649722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09b2b868dbc1387e13212ffa43d599978ea841b5_690fd768-dc6d-447e-8614-50aacc035dd4.webp?v=1752649722","width":2000},{"alt":null,"id":25829954355299,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93a3fd36333eef9b841bb37d4128fdb4bf28b11_ddd617de-df52-4b20-b138-1ea12042d925.webp?v=1752649723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93a3fd36333eef9b841bb37d4128fdb4bf28b11_ddd617de-df52-4b20-b138-1ea12042d925.webp?v=1752649723","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43305010888803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118424-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197537947747,"product_id":7770004586595,"position":4,"created_at":"2025-07-16T15:08:35+08:00","updated_at":"2025-07-16T15:08:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc322791a41ac0734e17ff331297af82b82c843_6b0ac26d-138d-4ae7-a026-36ba08ad570d.webp?v=1752649717","variant_ids":[43305010888803]},"available":true,"name":"iPhone 12 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-XF47","featured_media":{"alt":null,"id":25829951930467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc322791a41ac0734e17ff331297af82b82c843_6b0ac26d-138d-4ae7-a026-36ba08ad570d.webp?v=1752649717"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43305010888803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118424-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197537947747,"product_id":7770004586595,"position":4,"created_at":"2025-07-16T15:08:35+08:00","updated_at":"2025-07-16T15:08:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc322791a41ac0734e17ff331297af82b82c843_6b0ac26d-138d-4ae7-a026-36ba08ad570d.webp?v=1752649717","variant_ids":[43305010888803]},"available":true,"name":"iPhone 12 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-XF47","featured_media":{"alt":null,"id":25829951930467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc322791a41ac0734e17ff331297af82b82c843_6b0ac26d-138d-4ae7-a026-36ba08ad570d.webp?v=1752649717"}},"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: "停產" }