$product = {"id":7408201498723,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點","handle":"iphone-13-mini-mod-nx-printable-eo02","description":null,"published_at":"2024-06-11T16:34:07+08:00","created_at":"2024-05-03T12:19:41+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-weiweiboy","Top50","type-Mod NX Printable"],"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":41883801911395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471459631203,"product_id":7408201498723,"position":9,"created_at":"2024-05-03T12:20:03+08:00","updated_at":"2024-05-03T12:20:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98adeda1c9b7905368e405dc02fcef640e32ddd_140292b1-26a8-4823-a7da-421f1239e374.webp?v=1714710003","variant_ids":[41883801911395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-EO02","featured_media":{"alt":null,"id":23876366008419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98adeda1c9b7905368e405dc02fcef640e32ddd_140292b1-26a8-4823-a7da-421f1239e374.webp?v=1714710003"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883802009699,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471460253795,"product_id":7408201498723,"position":10,"created_at":"2024-05-03T12:20:05+08:00","updated_at":"2024-05-03T12:20:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe89f58f83b6c7d3d646bf0c3ab5ade8b326c912_b30a5f86-d882-4bb2-b126-ea5ad9401afd.webp?v=1714710005","variant_ids":[41883802009699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-EO02","featured_media":{"alt":null,"id":23876366598243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe89f58f83b6c7d3d646bf0c3ab5ade8b326c912_b30a5f86-d882-4bb2-b126-ea5ad9401afd.webp?v=1714710005"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883802239075,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471459237987,"product_id":7408201498723,"position":8,"created_at":"2024-05-03T12:20:01+08:00","updated_at":"2024-05-03T12:20:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42f939689b693d9d07829ee0e16f93ce3adfeb6d_71f5a0ed-3d4e-4733-8158-8511237ba5af.webp?v=1714710001","variant_ids":[41883802239075]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-EO02","featured_media":{"alt":null,"id":23876365615203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42f939689b693d9d07829ee0e16f93ce3adfeb6d_71f5a0ed-3d4e-4733-8158-8511237ba5af.webp?v=1714710001"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4147944de25a60a7c07a06f275a3b749ce667a_e249a081-6a19-4807-98b2-d5dcc645d750.webp?v=1714709983","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/760573ab46489654529cf769678f3532532bfc8f_afe64c27-e473-44b1-9873-c7e084d8e1cb.webp?v=1714709986","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f965c23230114d4ea014997a048ed80483db4c8a_b5021c10-1b8d-4a45-9bd4-ef48ebb74abd.webp?v=1714709988","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/292f3a6dd4a4e7dc55e799eb509aec76be0e0c27_2046af65-5d56-4b28-b0fd-6c230f4683c3.webp?v=1714709991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1147612b74a345a73c03fea74f0d87d8672620fb_5a730b73-e572-41a5-9456-1ca66a3239c2.webp?v=1714709993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6aef08f60a2f173b9172982f9bc00e897f7546a_59de857e-18a5-4cae-91a6-86abdd69a55b.webp?v=1714709996","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e4a4a8953723e15ac257221fd8c0f230fdd9400_5670db47-7684-4560-bdd4-75e691b91fc9.webp?v=1714709998","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42f939689b693d9d07829ee0e16f93ce3adfeb6d_71f5a0ed-3d4e-4733-8158-8511237ba5af.webp?v=1714710001","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98adeda1c9b7905368e405dc02fcef640e32ddd_140292b1-26a8-4823-a7da-421f1239e374.webp?v=1714710003","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe89f58f83b6c7d3d646bf0c3ab5ade8b326c912_b30a5f86-d882-4bb2-b126-ea5ad9401afd.webp?v=1714710005"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4147944de25a60a7c07a06f275a3b749ce667a_e249a081-6a19-4807-98b2-d5dcc645d750.webp?v=1714709983","options":["color"],"media":[{"alt":null,"id":23876361257059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4147944de25a60a7c07a06f275a3b749ce667a_e249a081-6a19-4807-98b2-d5dcc645d750.webp?v=1714709983"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4147944de25a60a7c07a06f275a3b749ce667a_e249a081-6a19-4807-98b2-d5dcc645d750.webp?v=1714709983","width":2000},{"alt":null,"id":23876361912419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/760573ab46489654529cf769678f3532532bfc8f_afe64c27-e473-44b1-9873-c7e084d8e1cb.webp?v=1714709986"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/760573ab46489654529cf769678f3532532bfc8f_afe64c27-e473-44b1-9873-c7e084d8e1cb.webp?v=1714709986","width":2000},{"alt":null,"id":23876362305635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f965c23230114d4ea014997a048ed80483db4c8a_b5021c10-1b8d-4a45-9bd4-ef48ebb74abd.webp?v=1714709988"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f965c23230114d4ea014997a048ed80483db4c8a_b5021c10-1b8d-4a45-9bd4-ef48ebb74abd.webp?v=1714709988","width":2000},{"alt":null,"id":23876362928227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/292f3a6dd4a4e7dc55e799eb509aec76be0e0c27_2046af65-5d56-4b28-b0fd-6c230f4683c3.webp?v=1714709991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/292f3a6dd4a4e7dc55e799eb509aec76be0e0c27_2046af65-5d56-4b28-b0fd-6c230f4683c3.webp?v=1714709991","width":2000},{"alt":null,"id":23876363419747,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1147612b74a345a73c03fea74f0d87d8672620fb_5a730b73-e572-41a5-9456-1ca66a3239c2.webp?v=1714709993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1147612b74a345a73c03fea74f0d87d8672620fb_5a730b73-e572-41a5-9456-1ca66a3239c2.webp?v=1714709993","width":2000},{"alt":null,"id":23876364009571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6aef08f60a2f173b9172982f9bc00e897f7546a_59de857e-18a5-4cae-91a6-86abdd69a55b.webp?v=1714709996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6aef08f60a2f173b9172982f9bc00e897f7546a_59de857e-18a5-4cae-91a6-86abdd69a55b.webp?v=1714709996","width":2000},{"alt":null,"id":23876365025379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e4a4a8953723e15ac257221fd8c0f230fdd9400_5670db47-7684-4560-bdd4-75e691b91fc9.webp?v=1714709998"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e4a4a8953723e15ac257221fd8c0f230fdd9400_5670db47-7684-4560-bdd4-75e691b91fc9.webp?v=1714709998","width":2000},{"alt":null,"id":23876365615203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42f939689b693d9d07829ee0e16f93ce3adfeb6d_71f5a0ed-3d4e-4733-8158-8511237ba5af.webp?v=1714710001"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42f939689b693d9d07829ee0e16f93ce3adfeb6d_71f5a0ed-3d4e-4733-8158-8511237ba5af.webp?v=1714710001","width":2000},{"alt":null,"id":23876366008419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98adeda1c9b7905368e405dc02fcef640e32ddd_140292b1-26a8-4823-a7da-421f1239e374.webp?v=1714710003"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98adeda1c9b7905368e405dc02fcef640e32ddd_140292b1-26a8-4823-a7da-421f1239e374.webp?v=1714710003","width":2000},{"alt":null,"id":23876366598243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe89f58f83b6c7d3d646bf0c3ab5ade8b326c912_b30a5f86-d882-4bb2-b126-ea5ad9401afd.webp?v=1714710005"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe89f58f83b6c7d3d646bf0c3ab5ade8b326c912_b30a5f86-d882-4bb2-b126-ea5ad9401afd.webp?v=1714710005","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883801911395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471459631203,"product_id":7408201498723,"position":9,"created_at":"2024-05-03T12:20:03+08:00","updated_at":"2024-05-03T12:20:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98adeda1c9b7905368e405dc02fcef640e32ddd_140292b1-26a8-4823-a7da-421f1239e374.webp?v=1714710003","variant_ids":[41883801911395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-EO02","featured_media":{"alt":null,"id":23876366008419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98adeda1c9b7905368e405dc02fcef640e32ddd_140292b1-26a8-4823-a7da-421f1239e374.webp?v=1714710003"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883802009699,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471460253795,"product_id":7408201498723,"position":10,"created_at":"2024-05-03T12:20:05+08:00","updated_at":"2024-05-03T12:20:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe89f58f83b6c7d3d646bf0c3ab5ade8b326c912_b30a5f86-d882-4bb2-b126-ea5ad9401afd.webp?v=1714710005","variant_ids":[41883802009699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-EO02","featured_media":{"alt":null,"id":23876366598243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe89f58f83b6c7d3d646bf0c3ab5ade8b326c912_b30a5f86-d882-4bb2-b126-ea5ad9401afd.webp?v=1714710005"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883802239075,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471459237987,"product_id":7408201498723,"position":8,"created_at":"2024-05-03T12:20:01+08:00","updated_at":"2024-05-03T12:20:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42f939689b693d9d07829ee0e16f93ce3adfeb6d_71f5a0ed-3d4e-4733-8158-8511237ba5af.webp?v=1714710001","variant_ids":[41883802239075]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-EO02","featured_media":{"alt":null,"id":23876365615203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42f939689b693d9d07829ee0e16f93ce3adfeb6d_71f5a0ed-3d4e-4733-8158-8511237ba5af.webp?v=1714710001"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883801911395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471459631203,"product_id":7408201498723,"position":9,"created_at":"2024-05-03T12:20:03+08:00","updated_at":"2024-05-03T12:20:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98adeda1c9b7905368e405dc02fcef640e32ddd_140292b1-26a8-4823-a7da-421f1239e374.webp?v=1714710003","variant_ids":[41883801911395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-EO02","featured_media":{"alt":null,"id":23876366008419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98adeda1c9b7905368e405dc02fcef640e32ddd_140292b1-26a8-4823-a7da-421f1239e374.webp?v=1714710003"}},"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: "停產" }