$product = {"id":7408087892067,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-史迪奇大臉款","handle":"iphone-13-mini-mod-nx-printable-yf01","description":null,"published_at":"2024-06-11T16:31:03+08:00","created_at":"2024-05-03T11:57:23+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":41882537525347,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471163605091,"product_id":7408087892067,"position":7,"created_at":"2024-05-03T11:57:39+08:00","updated_at":"2024-05-03T11:57:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f275eb16a0c9572f0603d77e3239e67c65d644_2b79f607-5d8d-4302-8912-5f42bfbc6195.webp?v=1714708659","variant_ids":[41882537525347]},"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-YF01","featured_media":{"alt":null,"id":23876068835427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f275eb16a0c9572f0603d77e3239e67c65d644_2b79f607-5d8d-4302-8912-5f42bfbc6195.webp?v=1714708659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882537590883,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471160950883,"product_id":7408087892067,"position":2,"created_at":"2024-05-03T11:57:28+08:00","updated_at":"2024-05-03T11:57:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bbf5cddf70b67138febfb7ad49e4c832ebe5b8_09293bfe-20d3-4cfe-b818-3ba149a4fdbe.webp?v=1714708648","variant_ids":[41882537590883]},"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-YF01","featured_media":{"alt":null,"id":23876066279523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bbf5cddf70b67138febfb7ad49e4c832ebe5b8_09293bfe-20d3-4cfe-b818-3ba149a4fdbe.webp?v=1714708648"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882537820259,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471164981347,"product_id":7408087892067,"position":10,"created_at":"2024-05-03T11:57:47+08:00","updated_at":"2024-05-03T11:57:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35033077e0efd47b060e693199ce067b9fc25685_4d00ffaa-e7c0-4289-a7f2-e63a9bea2271.webp?v=1714708667","variant_ids":[41882537820259]},"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-YF01","featured_media":{"alt":null,"id":23876070211683,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35033077e0efd47b060e693199ce067b9fc25685_4d00ffaa-e7c0-4289-a7f2-e63a9bea2271.webp?v=1714708667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174270601e7a77d41f3f40ebaa1b75df8fb52707_8ebbc74e-78f8-479d-b248-056ee0a0ff24.webp?v=1714708645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bbf5cddf70b67138febfb7ad49e4c832ebe5b8_09293bfe-20d3-4cfe-b818-3ba149a4fdbe.webp?v=1714708648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdfa54d8a936ee9e819b022f3123441bee9fa2a4_deee32b9-fc46-4995-b6b8-3fbb1b63c1e5.webp?v=1714708650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0dccab4d6b928d274affadf7e6fb4e5f8f3869c_caef11b7-fa90-4916-ad1a-8d7c172f0bdd.webp?v=1714708652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b0a4cfd9d7bd193786f5c716d8405a75ff07d7d_36b0d325-bf29-4529-9c44-e5b83f829bee.webp?v=1714708655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20580193b739e918a57140e1e931617bc7eb1868_8ad8f5d2-c0e7-4971-bf18-e8195d2f3a36.webp?v=1714708657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f275eb16a0c9572f0603d77e3239e67c65d644_2b79f607-5d8d-4302-8912-5f42bfbc6195.webp?v=1714708659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f683bcd43a59ad493dbea04ecef1fe45dad4311f_686c7db5-6e2f-4383-bd7a-5f707027ae11.webp?v=1714708662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17273e61c67877c5dabf62dc999486016415c552_e3e53399-e7ce-4889-af45-4007a5be8c17.webp?v=1714708664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35033077e0efd47b060e693199ce067b9fc25685_4d00ffaa-e7c0-4289-a7f2-e63a9bea2271.webp?v=1714708667"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174270601e7a77d41f3f40ebaa1b75df8fb52707_8ebbc74e-78f8-479d-b248-056ee0a0ff24.webp?v=1714708645","options":["color"],"media":[{"alt":null,"id":23876065722467,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174270601e7a77d41f3f40ebaa1b75df8fb52707_8ebbc74e-78f8-479d-b248-056ee0a0ff24.webp?v=1714708645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174270601e7a77d41f3f40ebaa1b75df8fb52707_8ebbc74e-78f8-479d-b248-056ee0a0ff24.webp?v=1714708645","width":2000},{"alt":null,"id":23876066279523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bbf5cddf70b67138febfb7ad49e4c832ebe5b8_09293bfe-20d3-4cfe-b818-3ba149a4fdbe.webp?v=1714708648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bbf5cddf70b67138febfb7ad49e4c832ebe5b8_09293bfe-20d3-4cfe-b818-3ba149a4fdbe.webp?v=1714708648","width":2000},{"alt":null,"id":23876066541667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdfa54d8a936ee9e819b022f3123441bee9fa2a4_deee32b9-fc46-4995-b6b8-3fbb1b63c1e5.webp?v=1714708650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdfa54d8a936ee9e819b022f3123441bee9fa2a4_deee32b9-fc46-4995-b6b8-3fbb1b63c1e5.webp?v=1714708650","width":2000},{"alt":null,"id":23876067164259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0dccab4d6b928d274affadf7e6fb4e5f8f3869c_caef11b7-fa90-4916-ad1a-8d7c172f0bdd.webp?v=1714708652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0dccab4d6b928d274affadf7e6fb4e5f8f3869c_caef11b7-fa90-4916-ad1a-8d7c172f0bdd.webp?v=1714708652","width":2000},{"alt":null,"id":23876067524707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b0a4cfd9d7bd193786f5c716d8405a75ff07d7d_36b0d325-bf29-4529-9c44-e5b83f829bee.webp?v=1714708655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b0a4cfd9d7bd193786f5c716d8405a75ff07d7d_36b0d325-bf29-4529-9c44-e5b83f829bee.webp?v=1714708655","width":2000},{"alt":null,"id":23876068376675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20580193b739e918a57140e1e931617bc7eb1868_8ad8f5d2-c0e7-4971-bf18-e8195d2f3a36.webp?v=1714708657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20580193b739e918a57140e1e931617bc7eb1868_8ad8f5d2-c0e7-4971-bf18-e8195d2f3a36.webp?v=1714708657","width":2000},{"alt":null,"id":23876068835427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f275eb16a0c9572f0603d77e3239e67c65d644_2b79f607-5d8d-4302-8912-5f42bfbc6195.webp?v=1714708659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f275eb16a0c9572f0603d77e3239e67c65d644_2b79f607-5d8d-4302-8912-5f42bfbc6195.webp?v=1714708659","width":2000},{"alt":null,"id":23876069130339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f683bcd43a59ad493dbea04ecef1fe45dad4311f_686c7db5-6e2f-4383-bd7a-5f707027ae11.webp?v=1714708662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f683bcd43a59ad493dbea04ecef1fe45dad4311f_686c7db5-6e2f-4383-bd7a-5f707027ae11.webp?v=1714708662","width":2000},{"alt":null,"id":23876069687395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17273e61c67877c5dabf62dc999486016415c552_e3e53399-e7ce-4889-af45-4007a5be8c17.webp?v=1714708664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17273e61c67877c5dabf62dc999486016415c552_e3e53399-e7ce-4889-af45-4007a5be8c17.webp?v=1714708664","width":2000},{"alt":null,"id":23876070211683,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35033077e0efd47b060e693199ce067b9fc25685_4d00ffaa-e7c0-4289-a7f2-e63a9bea2271.webp?v=1714708667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35033077e0efd47b060e693199ce067b9fc25685_4d00ffaa-e7c0-4289-a7f2-e63a9bea2271.webp?v=1714708667","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882537525347,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471163605091,"product_id":7408087892067,"position":7,"created_at":"2024-05-03T11:57:39+08:00","updated_at":"2024-05-03T11:57:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f275eb16a0c9572f0603d77e3239e67c65d644_2b79f607-5d8d-4302-8912-5f42bfbc6195.webp?v=1714708659","variant_ids":[41882537525347]},"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-YF01","featured_media":{"alt":null,"id":23876068835427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f275eb16a0c9572f0603d77e3239e67c65d644_2b79f607-5d8d-4302-8912-5f42bfbc6195.webp?v=1714708659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882537590883,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471160950883,"product_id":7408087892067,"position":2,"created_at":"2024-05-03T11:57:28+08:00","updated_at":"2024-05-03T11:57:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bbf5cddf70b67138febfb7ad49e4c832ebe5b8_09293bfe-20d3-4cfe-b818-3ba149a4fdbe.webp?v=1714708648","variant_ids":[41882537590883]},"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-YF01","featured_media":{"alt":null,"id":23876066279523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bbf5cddf70b67138febfb7ad49e4c832ebe5b8_09293bfe-20d3-4cfe-b818-3ba149a4fdbe.webp?v=1714708648"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882537820259,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471164981347,"product_id":7408087892067,"position":10,"created_at":"2024-05-03T11:57:47+08:00","updated_at":"2024-05-03T11:57:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35033077e0efd47b060e693199ce067b9fc25685_4d00ffaa-e7c0-4289-a7f2-e63a9bea2271.webp?v=1714708667","variant_ids":[41882537820259]},"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-YF01","featured_media":{"alt":null,"id":23876070211683,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35033077e0efd47b060e693199ce067b9fc25685_4d00ffaa-e7c0-4289-a7f2-e63a9bea2271.webp?v=1714708667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882537525347,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471163605091,"product_id":7408087892067,"position":7,"created_at":"2024-05-03T11:57:39+08:00","updated_at":"2024-05-03T11:57:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f275eb16a0c9572f0603d77e3239e67c65d644_2b79f607-5d8d-4302-8912-5f42bfbc6195.webp?v=1714708659","variant_ids":[41882537525347]},"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-YF01","featured_media":{"alt":null,"id":23876068835427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f275eb16a0c9572f0603d77e3239e67c65d644_2b79f607-5d8d-4302-8912-5f42bfbc6195.webp?v=1714708659"}},"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: "停產" }