$product = {"id":7411443400803,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb78","description":null,"published_at":"2024-06-11T17:45:10+08:00","created_at":"2024-05-05T00:30:52+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41898957537379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31480437768291,"product_id":7411443400803,"position":2,"created_at":"2024-05-05T00:30:57+08:00","updated_at":"2024-05-05T00:30:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/468e010272f7d6b03563c9b727691230e1ebbd0f_dc32a036-5397-4e85-b018-ca461ddb970b.webp?v=1714840257","variant_ids":[41898957537379]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB78","featured_media":{"alt":null,"id":23885689454691,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/468e010272f7d6b03563c9b727691230e1ebbd0f_dc32a036-5397-4e85-b018-ca461ddb970b.webp?v=1714840257"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898957668451,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31480441765987,"product_id":7411443400803,"position":9,"created_at":"2024-05-05T00:31:13+08:00","updated_at":"2024-05-05T00:31:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5698bde92d09b44c166b77861d80355fa83df1e7_0cef4962-db38-456f-9e13-8771763b6b33.webp?v=1714840273","variant_ids":[41898957668451]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB78","featured_media":{"alt":null,"id":23885693452387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5698bde92d09b44c166b77861d80355fa83df1e7_0cef4962-db38-456f-9e13-8771763b6b33.webp?v=1714840273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898958291043,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31480437211235,"product_id":7411443400803,"position":1,"created_at":"2024-05-05T00:30:55+08:00","updated_at":"2024-05-05T00:30:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523cd008c05ef508285043ffc81318777cb162c6_8b977aec-8b1a-479f-b42b-33e7cd966680.webp?v=1714840255","variant_ids":[41898958291043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB78","featured_media":{"alt":null,"id":23885688963171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523cd008c05ef508285043ffc81318777cb162c6_8b977aec-8b1a-479f-b42b-33e7cd966680.webp?v=1714840255"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523cd008c05ef508285043ffc81318777cb162c6_8b977aec-8b1a-479f-b42b-33e7cd966680.webp?v=1714840255","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/468e010272f7d6b03563c9b727691230e1ebbd0f_dc32a036-5397-4e85-b018-ca461ddb970b.webp?v=1714840257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4383f2a5733898045cd984fd759b19b5f8fbceb_b0f05bd9-da07-402c-ae06-ad76bdbae707.webp?v=1714840259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b09d973b8bf4de3ea3895f23ac1f904d42a5c6c3_0c386b31-ac01-4a42-84ba-c5d59abe7595.webp?v=1714840261","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69947f00ef255b035f5a62d4b10099f86c4c5254_9f89608f-5942-480e-a7c8-54047e79c72f.webp?v=1714840264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55621272ff4c591cdb973e9b1e0495a8d66e8379_f5d7801a-c963-4324-95df-70f68eb324e7.webp?v=1714840266","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c653f27ba4720796350d51c9a26d1353122a29_0009290b-ec19-4a48-a6c2-9d27246f84c6.webp?v=1714840268","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1d3722857dda70539781fb8669589fdce693231_58535b9c-8b9c-4648-a189-190c7e9140ce.webp?v=1714840271","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5698bde92d09b44c166b77861d80355fa83df1e7_0cef4962-db38-456f-9e13-8771763b6b33.webp?v=1714840273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca06a68547d60857ba0ab9254589bc0d2f605d89_cfa68861-de90-4995-9823-940ad3f7ef9c.webp?v=1714840275"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523cd008c05ef508285043ffc81318777cb162c6_8b977aec-8b1a-479f-b42b-33e7cd966680.webp?v=1714840255","options":["color"],"media":[{"alt":null,"id":23885688963171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523cd008c05ef508285043ffc81318777cb162c6_8b977aec-8b1a-479f-b42b-33e7cd966680.webp?v=1714840255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523cd008c05ef508285043ffc81318777cb162c6_8b977aec-8b1a-479f-b42b-33e7cd966680.webp?v=1714840255","width":2000},{"alt":null,"id":23885689454691,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/468e010272f7d6b03563c9b727691230e1ebbd0f_dc32a036-5397-4e85-b018-ca461ddb970b.webp?v=1714840257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/468e010272f7d6b03563c9b727691230e1ebbd0f_dc32a036-5397-4e85-b018-ca461ddb970b.webp?v=1714840257","width":2000},{"alt":null,"id":23885689880675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4383f2a5733898045cd984fd759b19b5f8fbceb_b0f05bd9-da07-402c-ae06-ad76bdbae707.webp?v=1714840259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4383f2a5733898045cd984fd759b19b5f8fbceb_b0f05bd9-da07-402c-ae06-ad76bdbae707.webp?v=1714840259","width":2000},{"alt":null,"id":23885690208355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b09d973b8bf4de3ea3895f23ac1f904d42a5c6c3_0c386b31-ac01-4a42-84ba-c5d59abe7595.webp?v=1714840261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b09d973b8bf4de3ea3895f23ac1f904d42a5c6c3_0c386b31-ac01-4a42-84ba-c5d59abe7595.webp?v=1714840261","width":2000},{"alt":null,"id":23885690863715,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69947f00ef255b035f5a62d4b10099f86c4c5254_9f89608f-5942-480e-a7c8-54047e79c72f.webp?v=1714840264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69947f00ef255b035f5a62d4b10099f86c4c5254_9f89608f-5942-480e-a7c8-54047e79c72f.webp?v=1714840264","width":2000},{"alt":null,"id":23885691322467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55621272ff4c591cdb973e9b1e0495a8d66e8379_f5d7801a-c963-4324-95df-70f68eb324e7.webp?v=1714840266"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55621272ff4c591cdb973e9b1e0495a8d66e8379_f5d7801a-c963-4324-95df-70f68eb324e7.webp?v=1714840266","width":2000},{"alt":null,"id":23885692239971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c653f27ba4720796350d51c9a26d1353122a29_0009290b-ec19-4a48-a6c2-9d27246f84c6.webp?v=1714840268"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c653f27ba4720796350d51c9a26d1353122a29_0009290b-ec19-4a48-a6c2-9d27246f84c6.webp?v=1714840268","width":2000},{"alt":null,"id":23885692862563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1d3722857dda70539781fb8669589fdce693231_58535b9c-8b9c-4648-a189-190c7e9140ce.webp?v=1714840271"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1d3722857dda70539781fb8669589fdce693231_58535b9c-8b9c-4648-a189-190c7e9140ce.webp?v=1714840271","width":2000},{"alt":null,"id":23885693452387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5698bde92d09b44c166b77861d80355fa83df1e7_0cef4962-db38-456f-9e13-8771763b6b33.webp?v=1714840273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5698bde92d09b44c166b77861d80355fa83df1e7_0cef4962-db38-456f-9e13-8771763b6b33.webp?v=1714840273","width":2000},{"alt":null,"id":23885693943907,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca06a68547d60857ba0ab9254589bc0d2f605d89_cfa68861-de90-4995-9823-940ad3f7ef9c.webp?v=1714840275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca06a68547d60857ba0ab9254589bc0d2f605d89_cfa68861-de90-4995-9823-940ad3f7ef9c.webp?v=1714840275","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898957537379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31480437768291,"product_id":7411443400803,"position":2,"created_at":"2024-05-05T00:30:57+08:00","updated_at":"2024-05-05T00:30:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/468e010272f7d6b03563c9b727691230e1ebbd0f_dc32a036-5397-4e85-b018-ca461ddb970b.webp?v=1714840257","variant_ids":[41898957537379]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB78","featured_media":{"alt":null,"id":23885689454691,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/468e010272f7d6b03563c9b727691230e1ebbd0f_dc32a036-5397-4e85-b018-ca461ddb970b.webp?v=1714840257"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898957668451,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31480441765987,"product_id":7411443400803,"position":9,"created_at":"2024-05-05T00:31:13+08:00","updated_at":"2024-05-05T00:31:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5698bde92d09b44c166b77861d80355fa83df1e7_0cef4962-db38-456f-9e13-8771763b6b33.webp?v=1714840273","variant_ids":[41898957668451]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB78","featured_media":{"alt":null,"id":23885693452387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5698bde92d09b44c166b77861d80355fa83df1e7_0cef4962-db38-456f-9e13-8771763b6b33.webp?v=1714840273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898958291043,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31480437211235,"product_id":7411443400803,"position":1,"created_at":"2024-05-05T00:30:55+08:00","updated_at":"2024-05-05T00:30:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523cd008c05ef508285043ffc81318777cb162c6_8b977aec-8b1a-479f-b42b-33e7cd966680.webp?v=1714840255","variant_ids":[41898958291043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB78","featured_media":{"alt":null,"id":23885688963171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/523cd008c05ef508285043ffc81318777cb162c6_8b977aec-8b1a-479f-b42b-33e7cd966680.webp?v=1714840255"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898957537379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31480437768291,"product_id":7411443400803,"position":2,"created_at":"2024-05-05T00:30:57+08:00","updated_at":"2024-05-05T00:30:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/468e010272f7d6b03563c9b727691230e1ebbd0f_dc32a036-5397-4e85-b018-ca461ddb970b.webp?v=1714840257","variant_ids":[41898957537379]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB78","featured_media":{"alt":null,"id":23885689454691,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/468e010272f7d6b03563c9b727691230e1ebbd0f_dc32a036-5397-4e85-b018-ca461ddb970b.webp?v=1714840257"}},"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: "停產" }