$product = {"id":7369169109091,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 溜滑梯","handle":"iphone-14-pro-mod-nx-printable-pl62","description":null,"published_at":"2024-06-11T16:13:42+08:00","created_at":"2024-04-23T15:37:13+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-snoopy","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":41793232797795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL62","requires_shipping":true,"taxable":true,"featured_image":{"id":31386966687843,"product_id":7369169109091,"position":3,"created_at":"2024-04-23T15:37:20+08:00","updated_at":"2024-04-23T15:37:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22e292b498eb37a9c509f6cd2ac24c68aa12f9e3_347551ce-7265-48c1-bdb4-1ebb7429e5b1.webp?v=1713857840","variant_ids":[41793232797795]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 溜滑梯 - 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":"NPB0126224-PL62","featured_media":{"alt":null,"id":23789204963427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22e292b498eb37a9c509f6cd2ac24c68aa12f9e3_347551ce-7265-48c1-bdb4-1ebb7429e5b1.webp?v=1713857840"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793232928867,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PL62","requires_shipping":true,"taxable":true,"featured_image":{"id":31386968621155,"product_id":7369169109091,"position":6,"created_at":"2024-04-23T15:37:27+08:00","updated_at":"2024-04-23T15:37:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1f3fa91124a661bf119f727677390a59f172849_74b27a9c-249e-4a6e-98f9-1973f6e4182a.webp?v=1713857847","variant_ids":[41793232928867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 溜滑梯 - 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":"NPB0126204-PL62","featured_media":{"alt":null,"id":23789206863971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1f3fa91124a661bf119f727677390a59f172849_74b27a9c-249e-4a6e-98f9-1973f6e4182a.webp?v=1713857847"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793233158243,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PL62","requires_shipping":true,"taxable":true,"featured_image":{"id":31386971111523,"product_id":7369169109091,"position":10,"created_at":"2024-04-23T15:37:37+08:00","updated_at":"2024-04-23T15:37:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec6520ff1158fbda283c7187ecdfbb3492300e3_8e453374-e34e-4a65-aba6-e6285bc6055c.webp?v=1713857857","variant_ids":[41793233158243]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 溜滑梯 - 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":"NPB01262J5-PL62","featured_media":{"alt":null,"id":23789209354339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec6520ff1158fbda283c7187ecdfbb3492300e3_8e453374-e34e-4a65-aba6-e6285bc6055c.webp?v=1713857857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc27dd430a33d43b00636e076b0815205414d823_9e10fafc-7ca9-478a-a4d9-ac762e603aa7.webp?v=1713857835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a9bda38d44dc5e85862aafa79ce5991759cc227_23617ab1-205c-4316-a30c-c211ab534097.webp?v=1713857837","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22e292b498eb37a9c509f6cd2ac24c68aa12f9e3_347551ce-7265-48c1-bdb4-1ebb7429e5b1.webp?v=1713857840","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a48aea538de19a31f21a90b3fa05539df3ae01a_4b44ec1a-c0b4-4fdb-abce-ca5ccf6929a9.webp?v=1713857842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45cf5887504b828050be748772ddd6df05c60179_623d719b-61fa-43ee-b7b0-eb1e8fac05a4.webp?v=1713857845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1f3fa91124a661bf119f727677390a59f172849_74b27a9c-249e-4a6e-98f9-1973f6e4182a.webp?v=1713857847","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8e182c52790a20322c00f218e5d5ccc932f4292_a86b4ad3-c588-4f20-9e36-39e53e099d5a.webp?v=1713857849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eff8120026f486ee9bd72e7ea2133e7806f38175_3c36fb50-2c64-43cb-9962-8325ff6e1d4a.webp?v=1713857852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da70402def41ba11c88226b12a9ec64c078c89ea_78e87b45-dbe3-450c-8585-305510c8a69f.webp?v=1713857855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec6520ff1158fbda283c7187ecdfbb3492300e3_8e453374-e34e-4a65-aba6-e6285bc6055c.webp?v=1713857857"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc27dd430a33d43b00636e076b0815205414d823_9e10fafc-7ca9-478a-a4d9-ac762e603aa7.webp?v=1713857835","options":["color"],"media":[{"alt":null,"id":23789203751011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc27dd430a33d43b00636e076b0815205414d823_9e10fafc-7ca9-478a-a4d9-ac762e603aa7.webp?v=1713857835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc27dd430a33d43b00636e076b0815205414d823_9e10fafc-7ca9-478a-a4d9-ac762e603aa7.webp?v=1713857835","width":2000},{"alt":null,"id":23789204340835,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a9bda38d44dc5e85862aafa79ce5991759cc227_23617ab1-205c-4316-a30c-c211ab534097.webp?v=1713857837"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a9bda38d44dc5e85862aafa79ce5991759cc227_23617ab1-205c-4316-a30c-c211ab534097.webp?v=1713857837","width":2000},{"alt":null,"id":23789204963427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22e292b498eb37a9c509f6cd2ac24c68aa12f9e3_347551ce-7265-48c1-bdb4-1ebb7429e5b1.webp?v=1713857840"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22e292b498eb37a9c509f6cd2ac24c68aa12f9e3_347551ce-7265-48c1-bdb4-1ebb7429e5b1.webp?v=1713857840","width":2000},{"alt":null,"id":23789205553251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a48aea538de19a31f21a90b3fa05539df3ae01a_4b44ec1a-c0b4-4fdb-abce-ca5ccf6929a9.webp?v=1713857842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a48aea538de19a31f21a90b3fa05539df3ae01a_4b44ec1a-c0b4-4fdb-abce-ca5ccf6929a9.webp?v=1713857842","width":2000},{"alt":null,"id":23789206143075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45cf5887504b828050be748772ddd6df05c60179_623d719b-61fa-43ee-b7b0-eb1e8fac05a4.webp?v=1713857845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45cf5887504b828050be748772ddd6df05c60179_623d719b-61fa-43ee-b7b0-eb1e8fac05a4.webp?v=1713857845","width":2000},{"alt":null,"id":23789206863971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1f3fa91124a661bf119f727677390a59f172849_74b27a9c-249e-4a6e-98f9-1973f6e4182a.webp?v=1713857847"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1f3fa91124a661bf119f727677390a59f172849_74b27a9c-249e-4a6e-98f9-1973f6e4182a.webp?v=1713857847","width":2000},{"alt":null,"id":23789207453795,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8e182c52790a20322c00f218e5d5ccc932f4292_a86b4ad3-c588-4f20-9e36-39e53e099d5a.webp?v=1713857849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8e182c52790a20322c00f218e5d5ccc932f4292_a86b4ad3-c588-4f20-9e36-39e53e099d5a.webp?v=1713857849","width":2000},{"alt":null,"id":23789208076387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eff8120026f486ee9bd72e7ea2133e7806f38175_3c36fb50-2c64-43cb-9962-8325ff6e1d4a.webp?v=1713857852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eff8120026f486ee9bd72e7ea2133e7806f38175_3c36fb50-2c64-43cb-9962-8325ff6e1d4a.webp?v=1713857852","width":2000},{"alt":null,"id":23789208567907,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da70402def41ba11c88226b12a9ec64c078c89ea_78e87b45-dbe3-450c-8585-305510c8a69f.webp?v=1713857855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da70402def41ba11c88226b12a9ec64c078c89ea_78e87b45-dbe3-450c-8585-305510c8a69f.webp?v=1713857855","width":2000},{"alt":null,"id":23789209354339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec6520ff1158fbda283c7187ecdfbb3492300e3_8e453374-e34e-4a65-aba6-e6285bc6055c.webp?v=1713857857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec6520ff1158fbda283c7187ecdfbb3492300e3_8e453374-e34e-4a65-aba6-e6285bc6055c.webp?v=1713857857","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41793232797795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL62","requires_shipping":true,"taxable":true,"featured_image":{"id":31386966687843,"product_id":7369169109091,"position":3,"created_at":"2024-04-23T15:37:20+08:00","updated_at":"2024-04-23T15:37:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22e292b498eb37a9c509f6cd2ac24c68aa12f9e3_347551ce-7265-48c1-bdb4-1ebb7429e5b1.webp?v=1713857840","variant_ids":[41793232797795]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 溜滑梯 - 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":"NPB0126224-PL62","featured_media":{"alt":null,"id":23789204963427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22e292b498eb37a9c509f6cd2ac24c68aa12f9e3_347551ce-7265-48c1-bdb4-1ebb7429e5b1.webp?v=1713857840"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793232928867,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PL62","requires_shipping":true,"taxable":true,"featured_image":{"id":31386968621155,"product_id":7369169109091,"position":6,"created_at":"2024-04-23T15:37:27+08:00","updated_at":"2024-04-23T15:37:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1f3fa91124a661bf119f727677390a59f172849_74b27a9c-249e-4a6e-98f9-1973f6e4182a.webp?v=1713857847","variant_ids":[41793232928867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 溜滑梯 - 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":"NPB0126204-PL62","featured_media":{"alt":null,"id":23789206863971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1f3fa91124a661bf119f727677390a59f172849_74b27a9c-249e-4a6e-98f9-1973f6e4182a.webp?v=1713857847"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793233158243,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PL62","requires_shipping":true,"taxable":true,"featured_image":{"id":31386971111523,"product_id":7369169109091,"position":10,"created_at":"2024-04-23T15:37:37+08:00","updated_at":"2024-04-23T15:37:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec6520ff1158fbda283c7187ecdfbb3492300e3_8e453374-e34e-4a65-aba6-e6285bc6055c.webp?v=1713857857","variant_ids":[41793233158243]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 溜滑梯 - 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":"NPB01262J5-PL62","featured_media":{"alt":null,"id":23789209354339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec6520ff1158fbda283c7187ecdfbb3492300e3_8e453374-e34e-4a65-aba6-e6285bc6055c.webp?v=1713857857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41793232797795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL62","requires_shipping":true,"taxable":true,"featured_image":{"id":31386966687843,"product_id":7369169109091,"position":3,"created_at":"2024-04-23T15:37:20+08:00","updated_at":"2024-04-23T15:37:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22e292b498eb37a9c509f6cd2ac24c68aa12f9e3_347551ce-7265-48c1-bdb4-1ebb7429e5b1.webp?v=1713857840","variant_ids":[41793232797795]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 溜滑梯 - 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":"NPB0126224-PL62","featured_media":{"alt":null,"id":23789204963427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22e292b498eb37a9c509f6cd2ac24c68aa12f9e3_347551ce-7265-48c1-bdb4-1ebb7429e5b1.webp?v=1713857840"}},"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: "停產" }