$product = {"id":7728428384355,"title":"iPhone 13 mini Mod NX 小高潮色計事務所 LOVE is LOVE","handle":"iphone-13-mini-mod-nx-printable-iku01","description":null,"published_at":"2025-02-05T17:10:07+08:00","created_at":"2025-02-05T11:36:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-小高潮色計事務所 ikuiku studio","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ikuiku-studio","device-iPhone 13 Mini","merge","reseller-ikuiku-studio"],"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":43155697172579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515516850275,"product_id":7728428384355,"position":3,"created_at":"2025-09-22T16:38:23+08:00","updated_at":"2025-09-22T16:38:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4453337e98f5d0a6591392428bbd51822a8cb8.webp?v=1758530305","variant_ids":[43155697172579]},"available":true,"name":"iPhone 13 mini Mod NX 小高潮色計事務所 LOVE is LOVE - 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-IKU01","featured_media":{"alt":null,"id":26085954682979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4453337e98f5d0a6591392428bbd51822a8cb8.webp?v=1758530305"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155697205347,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515516620899,"product_id":7728428384355,"position":2,"created_at":"2025-09-22T16:38:22+08:00","updated_at":"2025-09-22T16:38:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8fd93f57565d8516f610fa00688193fa2e376c4.webp?v=1758530304","variant_ids":[43155697205347]},"available":true,"name":"iPhone 13 mini Mod NX 小高潮色計事務所 LOVE is LOVE - 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-IKU01","featured_media":{"alt":null,"id":26085954256995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8fd93f57565d8516f610fa00688193fa2e376c4.webp?v=1758530304"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155697303651,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515517767779,"product_id":7728428384355,"position":5,"created_at":"2025-09-22T16:38:24+08:00","updated_at":"2025-09-22T16:38:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a937c536e8a861e8c5a1b9485ec0cded13f7b161.webp?v=1758530306","variant_ids":[43155697303651]},"available":true,"name":"iPhone 13 mini Mod NX 小高潮色計事務所 LOVE is LOVE - 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-IKU01","featured_media":{"alt":null,"id":26085955272803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a937c536e8a861e8c5a1b9485ec0cded13f7b161.webp?v=1758530306"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b5ea85e4acf7ef2ff37d770ccc353d0bd074da_6ac718ff-7291-4ef0-bbd4-0b525d36810a.webp?v=1738726582","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8fd93f57565d8516f610fa00688193fa2e376c4.webp?v=1758530304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4453337e98f5d0a6591392428bbd51822a8cb8.webp?v=1758530305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774b217b2216ac4f0cd24267198eb875e420f39f.webp?v=1758530305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a937c536e8a861e8c5a1b9485ec0cded13f7b161.webp?v=1758530306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cef99cc489434a21c44b6df0330b67d2f6570c6.webp?v=1758530306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43a17d4d7817fa257f71a328d8dd7f0e92a72f54.webp?v=1758530307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31dace491ee4d063e42dc9ee3c0369c00976b69d.webp?v=1758530307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3fb4b0cc70aef78080a14c1c131f3c3feba2681.webp?v=1758530308","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ba0088040852d4dfd66eb39185e51c3a014c4c.webp?v=1758530308"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b5ea85e4acf7ef2ff37d770ccc353d0bd074da_6ac718ff-7291-4ef0-bbd4-0b525d36810a.webp?v=1738726582","options":["color"],"media":[{"alt":null,"id":25254953189475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b5ea85e4acf7ef2ff37d770ccc353d0bd074da_6ac718ff-7291-4ef0-bbd4-0b525d36810a.webp?v=1738726582"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b5ea85e4acf7ef2ff37d770ccc353d0bd074da_6ac718ff-7291-4ef0-bbd4-0b525d36810a.webp?v=1738726582","width":2000},{"alt":null,"id":26085954256995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8fd93f57565d8516f610fa00688193fa2e376c4.webp?v=1758530304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8fd93f57565d8516f610fa00688193fa2e376c4.webp?v=1758530304","width":2000},{"alt":null,"id":26085954682979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4453337e98f5d0a6591392428bbd51822a8cb8.webp?v=1758530305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4453337e98f5d0a6591392428bbd51822a8cb8.webp?v=1758530305","width":2000},{"alt":null,"id":26085954912355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774b217b2216ac4f0cd24267198eb875e420f39f.webp?v=1758530305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774b217b2216ac4f0cd24267198eb875e420f39f.webp?v=1758530305","width":2000},{"alt":null,"id":26085955272803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a937c536e8a861e8c5a1b9485ec0cded13f7b161.webp?v=1758530306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a937c536e8a861e8c5a1b9485ec0cded13f7b161.webp?v=1758530306","width":2000},{"alt":null,"id":26085955534947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cef99cc489434a21c44b6df0330b67d2f6570c6.webp?v=1758530306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cef99cc489434a21c44b6df0330b67d2f6570c6.webp?v=1758530306","width":2000},{"alt":null,"id":26085955829859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43a17d4d7817fa257f71a328d8dd7f0e92a72f54.webp?v=1758530307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43a17d4d7817fa257f71a328d8dd7f0e92a72f54.webp?v=1758530307","width":2000},{"alt":null,"id":26085956092003,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31dace491ee4d063e42dc9ee3c0369c00976b69d.webp?v=1758530307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31dace491ee4d063e42dc9ee3c0369c00976b69d.webp?v=1758530307","width":2000},{"alt":null,"id":26085956255843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3fb4b0cc70aef78080a14c1c131f3c3feba2681.webp?v=1758530308"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3fb4b0cc70aef78080a14c1c131f3c3feba2681.webp?v=1758530308","width":2000},{"alt":null,"id":26085956419683,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ba0088040852d4dfd66eb39185e51c3a014c4c.webp?v=1758530308"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ba0088040852d4dfd66eb39185e51c3a014c4c.webp?v=1758530308","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43155697172579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515516850275,"product_id":7728428384355,"position":3,"created_at":"2025-09-22T16:38:23+08:00","updated_at":"2025-09-22T16:38:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4453337e98f5d0a6591392428bbd51822a8cb8.webp?v=1758530305","variant_ids":[43155697172579]},"available":true,"name":"iPhone 13 mini Mod NX 小高潮色計事務所 LOVE is LOVE - 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-IKU01","featured_media":{"alt":null,"id":26085954682979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4453337e98f5d0a6591392428bbd51822a8cb8.webp?v=1758530305"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155697205347,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515516620899,"product_id":7728428384355,"position":2,"created_at":"2025-09-22T16:38:22+08:00","updated_at":"2025-09-22T16:38:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8fd93f57565d8516f610fa00688193fa2e376c4.webp?v=1758530304","variant_ids":[43155697205347]},"available":true,"name":"iPhone 13 mini Mod NX 小高潮色計事務所 LOVE is LOVE - 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-IKU01","featured_media":{"alt":null,"id":26085954256995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8fd93f57565d8516f610fa00688193fa2e376c4.webp?v=1758530304"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155697303651,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515517767779,"product_id":7728428384355,"position":5,"created_at":"2025-09-22T16:38:24+08:00","updated_at":"2025-09-22T16:38:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a937c536e8a861e8c5a1b9485ec0cded13f7b161.webp?v=1758530306","variant_ids":[43155697303651]},"available":true,"name":"iPhone 13 mini Mod NX 小高潮色計事務所 LOVE is LOVE - 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-IKU01","featured_media":{"alt":null,"id":26085955272803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a937c536e8a861e8c5a1b9485ec0cded13f7b161.webp?v=1758530306"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43155697172579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515516850275,"product_id":7728428384355,"position":3,"created_at":"2025-09-22T16:38:23+08:00","updated_at":"2025-09-22T16:38:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4453337e98f5d0a6591392428bbd51822a8cb8.webp?v=1758530305","variant_ids":[43155697172579]},"available":true,"name":"iPhone 13 mini Mod NX 小高潮色計事務所 LOVE is LOVE - 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-IKU01","featured_media":{"alt":null,"id":26085954682979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4453337e98f5d0a6591392428bbd51822a8cb8.webp?v=1758530305"}},"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: "停產" }