$product = {"id":7408183017571,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-不游泳但衝浪","handle":"iphone-13-mini-mod-nx-printable-yf09","description":null,"published_at":"2024-06-11T16:33:38+08:00","created_at":"2024-05-03T12:16:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-stitch","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":41883596292195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31471408775267,"product_id":7408183017571,"position":8,"created_at":"2024-05-03T12:16:21+08:00","updated_at":"2024-05-03T12:16:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedf30d243739e0c35d2435aa500f8f0e757ec08_7378ce48-151a-4b9c-8a1f-8de5cb37fa3c.webp?v=1714709781","variant_ids":[41883596292195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-不游泳但衝浪 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YF09","featured_media":{"alt":null,"id":23876314988643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedf30d243739e0c35d2435aa500f8f0e757ec08_7378ce48-151a-4b9c-8a1f-8de5cb37fa3c.webp?v=1714709781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883596390499,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31471406678115,"product_id":7408183017571,"position":5,"created_at":"2024-05-03T12:16:14+08:00","updated_at":"2024-05-03T12:16:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102f0087d5887a53e1524ac18296a685a2206a4e_786846ee-50de-44d6-800d-aad5317fc0ed.webp?v=1714709774","variant_ids":[41883596390499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-不游泳但衝浪 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-YF09","featured_media":{"alt":null,"id":23876312891491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102f0087d5887a53e1524ac18296a685a2206a4e_786846ee-50de-44d6-800d-aad5317fc0ed.webp?v=1714709774"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883596816483,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31471409299555,"product_id":7408183017571,"position":9,"created_at":"2024-05-03T12:16:23+08:00","updated_at":"2024-05-03T12:16:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7039a8046addab8977e496171ca53554fdcc0855_768206fe-549d-4657-8c6f-15aee284430b.webp?v=1714709783","variant_ids":[41883596816483]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-不游泳但衝浪 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-YF09","featured_media":{"alt":null,"id":23876315578467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7039a8046addab8977e496171ca53554fdcc0855_768206fe-549d-4657-8c6f-15aee284430b.webp?v=1714709783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98061e3374ffdf5961d6c0dbb7212051cbc1e4b4_a945aa68-8579-4499-82fd-b5a5f6ec145c.webp?v=1714709765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6fc17283d73c8ae0ffaeb48455744737bf73520_507f526b-a92b-40d5-a126-a6301545ac12.webp?v=1714709767","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd2ac97bf8fae7e0426e1d130b93c2f8cb476893_81668f5d-d731-4243-9fb4-6ec6ba055a83.webp?v=1714709770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfc90a4e66ec3876a987cd4d813401df2bed2d22_3eac539e-45e3-4d0f-a68a-1b5b84297a20.webp?v=1714709772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102f0087d5887a53e1524ac18296a685a2206a4e_786846ee-50de-44d6-800d-aad5317fc0ed.webp?v=1714709774","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8014e070711196e465ec6d9be9cbae4ab5a41264_b44bb9d9-b3d9-4c5b-9a31-854a2c8dbfb3.webp?v=1714709777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3d5698b59f9066e687980b1eb3c05eb2b23a978_53ff06d7-657d-44e4-bcb2-6b3ab6a0207a.webp?v=1714709779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedf30d243739e0c35d2435aa500f8f0e757ec08_7378ce48-151a-4b9c-8a1f-8de5cb37fa3c.webp?v=1714709781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7039a8046addab8977e496171ca53554fdcc0855_768206fe-549d-4657-8c6f-15aee284430b.webp?v=1714709783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a3efd7d5c32b26480dbdd8c1df2c9510b8dc3f2_9730f104-09e3-4e8b-a1b9-b92b5e1997af.webp?v=1714709785"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98061e3374ffdf5961d6c0dbb7212051cbc1e4b4_a945aa68-8579-4499-82fd-b5a5f6ec145c.webp?v=1714709765","options":["color"],"media":[{"alt":null,"id":23876310794339,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98061e3374ffdf5961d6c0dbb7212051cbc1e4b4_a945aa68-8579-4499-82fd-b5a5f6ec145c.webp?v=1714709765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98061e3374ffdf5961d6c0dbb7212051cbc1e4b4_a945aa68-8579-4499-82fd-b5a5f6ec145c.webp?v=1714709765","width":2000},{"alt":null,"id":23876311351395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6fc17283d73c8ae0ffaeb48455744737bf73520_507f526b-a92b-40d5-a126-a6301545ac12.webp?v=1714709767"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6fc17283d73c8ae0ffaeb48455744737bf73520_507f526b-a92b-40d5-a126-a6301545ac12.webp?v=1714709767","width":2000},{"alt":null,"id":23876311777379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd2ac97bf8fae7e0426e1d130b93c2f8cb476893_81668f5d-d731-4243-9fb4-6ec6ba055a83.webp?v=1714709770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd2ac97bf8fae7e0426e1d130b93c2f8cb476893_81668f5d-d731-4243-9fb4-6ec6ba055a83.webp?v=1714709770","width":2000},{"alt":null,"id":23876312399971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfc90a4e66ec3876a987cd4d813401df2bed2d22_3eac539e-45e3-4d0f-a68a-1b5b84297a20.webp?v=1714709772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfc90a4e66ec3876a987cd4d813401df2bed2d22_3eac539e-45e3-4d0f-a68a-1b5b84297a20.webp?v=1714709772","width":2000},{"alt":null,"id":23876312891491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102f0087d5887a53e1524ac18296a685a2206a4e_786846ee-50de-44d6-800d-aad5317fc0ed.webp?v=1714709774"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102f0087d5887a53e1524ac18296a685a2206a4e_786846ee-50de-44d6-800d-aad5317fc0ed.webp?v=1714709774","width":2000},{"alt":null,"id":23876313383011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8014e070711196e465ec6d9be9cbae4ab5a41264_b44bb9d9-b3d9-4c5b-9a31-854a2c8dbfb3.webp?v=1714709777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8014e070711196e465ec6d9be9cbae4ab5a41264_b44bb9d9-b3d9-4c5b-9a31-854a2c8dbfb3.webp?v=1714709777","width":2000},{"alt":null,"id":23876314136675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3d5698b59f9066e687980b1eb3c05eb2b23a978_53ff06d7-657d-44e4-bcb2-6b3ab6a0207a.webp?v=1714709779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3d5698b59f9066e687980b1eb3c05eb2b23a978_53ff06d7-657d-44e4-bcb2-6b3ab6a0207a.webp?v=1714709779","width":2000},{"alt":null,"id":23876314988643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedf30d243739e0c35d2435aa500f8f0e757ec08_7378ce48-151a-4b9c-8a1f-8de5cb37fa3c.webp?v=1714709781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedf30d243739e0c35d2435aa500f8f0e757ec08_7378ce48-151a-4b9c-8a1f-8de5cb37fa3c.webp?v=1714709781","width":2000},{"alt":null,"id":23876315578467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7039a8046addab8977e496171ca53554fdcc0855_768206fe-549d-4657-8c6f-15aee284430b.webp?v=1714709783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7039a8046addab8977e496171ca53554fdcc0855_768206fe-549d-4657-8c6f-15aee284430b.webp?v=1714709783","width":2000},{"alt":null,"id":23876316201059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a3efd7d5c32b26480dbdd8c1df2c9510b8dc3f2_9730f104-09e3-4e8b-a1b9-b92b5e1997af.webp?v=1714709785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a3efd7d5c32b26480dbdd8c1df2c9510b8dc3f2_9730f104-09e3-4e8b-a1b9-b92b5e1997af.webp?v=1714709785","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883596292195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31471408775267,"product_id":7408183017571,"position":8,"created_at":"2024-05-03T12:16:21+08:00","updated_at":"2024-05-03T12:16:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedf30d243739e0c35d2435aa500f8f0e757ec08_7378ce48-151a-4b9c-8a1f-8de5cb37fa3c.webp?v=1714709781","variant_ids":[41883596292195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-不游泳但衝浪 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YF09","featured_media":{"alt":null,"id":23876314988643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedf30d243739e0c35d2435aa500f8f0e757ec08_7378ce48-151a-4b9c-8a1f-8de5cb37fa3c.webp?v=1714709781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883596390499,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31471406678115,"product_id":7408183017571,"position":5,"created_at":"2024-05-03T12:16:14+08:00","updated_at":"2024-05-03T12:16:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102f0087d5887a53e1524ac18296a685a2206a4e_786846ee-50de-44d6-800d-aad5317fc0ed.webp?v=1714709774","variant_ids":[41883596390499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-不游泳但衝浪 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-YF09","featured_media":{"alt":null,"id":23876312891491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102f0087d5887a53e1524ac18296a685a2206a4e_786846ee-50de-44d6-800d-aad5317fc0ed.webp?v=1714709774"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883596816483,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31471409299555,"product_id":7408183017571,"position":9,"created_at":"2024-05-03T12:16:23+08:00","updated_at":"2024-05-03T12:16:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7039a8046addab8977e496171ca53554fdcc0855_768206fe-549d-4657-8c6f-15aee284430b.webp?v=1714709783","variant_ids":[41883596816483]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-不游泳但衝浪 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-YF09","featured_media":{"alt":null,"id":23876315578467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7039a8046addab8977e496171ca53554fdcc0855_768206fe-549d-4657-8c6f-15aee284430b.webp?v=1714709783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883596292195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF09","requires_shipping":true,"taxable":true,"featured_image":{"id":31471408775267,"product_id":7408183017571,"position":8,"created_at":"2024-05-03T12:16:21+08:00","updated_at":"2024-05-03T12:16:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedf30d243739e0c35d2435aa500f8f0e757ec08_7378ce48-151a-4b9c-8a1f-8de5cb37fa3c.webp?v=1714709781","variant_ids":[41883596292195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-不游泳但衝浪 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YF09","featured_media":{"alt":null,"id":23876314988643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedf30d243739e0c35d2435aa500f8f0e757ec08_7378ce48-151a-4b9c-8a1f-8de5cb37fa3c.webp?v=1714709781"}},"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: "停產" }