$product = {"id":7931282882659,"title":"iPhone 12 mini Mod NX 白白日記 By Darylhochi OOOPS!!","handle":"iphone-12-mini-mod-nx-ei80","description":null,"published_at":"2025-11-28T11:02:04+08:00","created_at":"2025-11-28T10:03:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 12 Mini","merge","reseller-darylhochi"],"price":0,"price_min":0,"price_max":0,"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":43860855947363,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":null,"requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"iPhone 12 mini Mod NX 白白日記 By Darylhochi OOOPS!! - Lavender","public_title":"Lavender","options":["Lavender"],"price":0,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49a63d6352dd445fb5ae1211ccdc333c21da196.webp?v=1764295397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777b216242b009b42035131fa3ca3f06045e435f.webp?v=1764295398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499f8a9f1b5742b41141a897898a8afcf1662ff1.webp?v=1764295398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce041508ed1fdea9e9b61c07d4856d09e10bb4bd.webp?v=1764295398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4398a3f99d6e90cf52023b7400d7c5915f9bc1af.webp?v=1764295399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364e022b2de393913140660bc811d7b15ac5abcf.webp?v=1764295399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2c607e399143e2af7dd5666014b3c2c78d13e0f.webp?v=1764295400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f7bc8e17e369c2b9f78c1fa27803db68408d90.webp?v=1764295400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b6bc76f66e49f594b9dbf0f45573a9416bd8e70.webp?v=1764295401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e626678b2a78875f138da66ac864cd41ea53b9f.webp?v=1764295401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc23422ea9019f832dfc7f18ba5077d67f560b0.webp?v=1764295402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49a63d6352dd445fb5ae1211ccdc333c21da196_ed3d0ec6-aa5f-47a9-af54-35ed6648666c.webp?v=1764296845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777b216242b009b42035131fa3ca3f06045e435f_9b7c3e56-48f4-4a35-93e3-1ad8f8c8c5cf.webp?v=1764296847","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499f8a9f1b5742b41141a897898a8afcf1662ff1_b210495b-af1e-4919-9b08-af4cab96e839.webp?v=1764296850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce041508ed1fdea9e9b61c07d4856d09e10bb4bd_18291355-db63-4acf-84e7-ea3ae17df228.webp?v=1764296851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4398a3f99d6e90cf52023b7400d7c5915f9bc1af_339e16a1-d0fb-4687-a5fc-69bb9f660f43.webp?v=1764296852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364e022b2de393913140660bc811d7b15ac5abcf_20fe322c-f527-41d7-aa97-4a13ff20b8d5.webp?v=1764296854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2c607e399143e2af7dd5666014b3c2c78d13e0f_ae8b762f-2d05-4023-872a-b5f37e2e3a88.webp?v=1764296854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f7bc8e17e369c2b9f78c1fa27803db68408d90_3c2ffc71-0953-4030-8a43-edd2b6d6668a.webp?v=1764296855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b6bc76f66e49f594b9dbf0f45573a9416bd8e70_1d34f8ed-1fab-4c7b-a48e-25e6d8c9fec7.webp?v=1764296856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e626678b2a78875f138da66ac864cd41ea53b9f_18acbf52-a77a-43b0-bd0b-b9d78a1f2aa0.webp?v=1764296891"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49a63d6352dd445fb5ae1211ccdc333c21da196.webp?v=1764295397","options":["color"],"media":[{"alt":null,"id":26425881231459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49a63d6352dd445fb5ae1211ccdc333c21da196.webp?v=1764295397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49a63d6352dd445fb5ae1211ccdc333c21da196.webp?v=1764295397","width":2000},{"alt":null,"id":26425881362531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777b216242b009b42035131fa3ca3f06045e435f.webp?v=1764295398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777b216242b009b42035131fa3ca3f06045e435f.webp?v=1764295398","width":2000},{"alt":null,"id":26425881526371,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499f8a9f1b5742b41141a897898a8afcf1662ff1.webp?v=1764295398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499f8a9f1b5742b41141a897898a8afcf1662ff1.webp?v=1764295398","width":2000},{"alt":null,"id":26425881657443,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce041508ed1fdea9e9b61c07d4856d09e10bb4bd.webp?v=1764295398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce041508ed1fdea9e9b61c07d4856d09e10bb4bd.webp?v=1764295398","width":2000},{"alt":null,"id":26425881690211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4398a3f99d6e90cf52023b7400d7c5915f9bc1af.webp?v=1764295399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4398a3f99d6e90cf52023b7400d7c5915f9bc1af.webp?v=1764295399","width":2000},{"alt":null,"id":26425881755747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364e022b2de393913140660bc811d7b15ac5abcf.webp?v=1764295399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364e022b2de393913140660bc811d7b15ac5abcf.webp?v=1764295399","width":2000},{"alt":null,"id":26425881821283,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2c607e399143e2af7dd5666014b3c2c78d13e0f.webp?v=1764295400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2c607e399143e2af7dd5666014b3c2c78d13e0f.webp?v=1764295400","width":2000},{"alt":null,"id":26425881886819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f7bc8e17e369c2b9f78c1fa27803db68408d90.webp?v=1764295400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f7bc8e17e369c2b9f78c1fa27803db68408d90.webp?v=1764295400","width":2000},{"alt":null,"id":26425882116195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b6bc76f66e49f594b9dbf0f45573a9416bd8e70.webp?v=1764295401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b6bc76f66e49f594b9dbf0f45573a9416bd8e70.webp?v=1764295401","width":2000},{"alt":null,"id":26425882280035,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e626678b2a78875f138da66ac864cd41ea53b9f.webp?v=1764295401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e626678b2a78875f138da66ac864cd41ea53b9f.webp?v=1764295401","width":2000},{"alt":null,"id":26425882443875,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc23422ea9019f832dfc7f18ba5077d67f560b0.webp?v=1764295402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc23422ea9019f832dfc7f18ba5077d67f560b0.webp?v=1764295402","width":2000},{"alt":null,"id":26426165690467,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49a63d6352dd445fb5ae1211ccdc333c21da196_ed3d0ec6-aa5f-47a9-af54-35ed6648666c.webp?v=1764296845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49a63d6352dd445fb5ae1211ccdc333c21da196_ed3d0ec6-aa5f-47a9-af54-35ed6648666c.webp?v=1764296845","width":2000},{"alt":null,"id":26426166280291,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777b216242b009b42035131fa3ca3f06045e435f_9b7c3e56-48f4-4a35-93e3-1ad8f8c8c5cf.webp?v=1764296847"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777b216242b009b42035131fa3ca3f06045e435f_9b7c3e56-48f4-4a35-93e3-1ad8f8c8c5cf.webp?v=1764296847","width":2000},{"alt":null,"id":26426167394403,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499f8a9f1b5742b41141a897898a8afcf1662ff1_b210495b-af1e-4919-9b08-af4cab96e839.webp?v=1764296850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499f8a9f1b5742b41141a897898a8afcf1662ff1_b210495b-af1e-4919-9b08-af4cab96e839.webp?v=1764296850","width":2000},{"alt":null,"id":26426167558243,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce041508ed1fdea9e9b61c07d4856d09e10bb4bd_18291355-db63-4acf-84e7-ea3ae17df228.webp?v=1764296851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce041508ed1fdea9e9b61c07d4856d09e10bb4bd_18291355-db63-4acf-84e7-ea3ae17df228.webp?v=1764296851","width":2000},{"alt":null,"id":26426168377443,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4398a3f99d6e90cf52023b7400d7c5915f9bc1af_339e16a1-d0fb-4687-a5fc-69bb9f660f43.webp?v=1764296852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4398a3f99d6e90cf52023b7400d7c5915f9bc1af_339e16a1-d0fb-4687-a5fc-69bb9f660f43.webp?v=1764296852","width":2000},{"alt":null,"id":26426168836195,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364e022b2de393913140660bc811d7b15ac5abcf_20fe322c-f527-41d7-aa97-4a13ff20b8d5.webp?v=1764296854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364e022b2de393913140660bc811d7b15ac5abcf_20fe322c-f527-41d7-aa97-4a13ff20b8d5.webp?v=1764296854","width":2000},{"alt":null,"id":26426168967267,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2c607e399143e2af7dd5666014b3c2c78d13e0f_ae8b762f-2d05-4023-872a-b5f37e2e3a88.webp?v=1764296854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2c607e399143e2af7dd5666014b3c2c78d13e0f_ae8b762f-2d05-4023-872a-b5f37e2e3a88.webp?v=1764296854","width":2000},{"alt":null,"id":26426169655395,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f7bc8e17e369c2b9f78c1fa27803db68408d90_3c2ffc71-0953-4030-8a43-edd2b6d6668a.webp?v=1764296855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f7bc8e17e369c2b9f78c1fa27803db68408d90_3c2ffc71-0953-4030-8a43-edd2b6d6668a.webp?v=1764296855","width":2000},{"alt":null,"id":26426169852003,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b6bc76f66e49f594b9dbf0f45573a9416bd8e70_1d34f8ed-1fab-4c7b-a48e-25e6d8c9fec7.webp?v=1764296856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b6bc76f66e49f594b9dbf0f45573a9416bd8e70_1d34f8ed-1fab-4c7b-a48e-25e6d8c9fec7.webp?v=1764296856","width":2000},{"alt":null,"id":26426180632675,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e626678b2a78875f138da66ac864cd41ea53b9f_18acbf52-a77a-43b0-bd0b-b9d78a1f2aa0.webp?v=1764296891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e626678b2a78875f138da66ac864cd41ea53b9f_18acbf52-a77a-43b0-bd0b-b9d78a1f2aa0.webp?v=1764296891","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43860855947363,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":null,"requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"iPhone 12 mini Mod NX 白白日記 By Darylhochi OOOPS!! - Lavender","public_title":"Lavender","options":["Lavender"],"price":0,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43860855947363,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":null,"requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"iPhone 12 mini Mod NX 白白日記 By Darylhochi OOOPS!! - Lavender","public_title":"Lavender","options":["Lavender"],"price":0,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":null,"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: "停產" }