$product = {"id":7369163472995,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 開心小花","handle":"iphone-14-pro-mod-nx-printable-pl65","description":null,"published_at":"2024-06-11T16:13:35+08:00","created_at":"2024-04-23T15:36:19+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":41793184825443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386952761443,"product_id":7369163472995,"position":2,"created_at":"2024-04-23T15:36:24+08:00","updated_at":"2024-04-23T15:36:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caeb40ede1d7381eedae2c700c268e84c8920c78_8513ba69-f1f4-4b62-8aca-59f8e5e278ae.webp?v=1713857784","variant_ids":[41793184825443]},"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-PL65","featured_media":{"alt":null,"id":23789190873187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caeb40ede1d7381eedae2c700c268e84c8920c78_8513ba69-f1f4-4b62-8aca-59f8e5e278ae.webp?v=1713857784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793184890979,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386955907171,"product_id":7369163472995,"position":7,"created_at":"2024-04-23T15:36:37+08:00","updated_at":"2024-04-23T15:36:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793c0fa75eea3214a3ad9dc26525a393de94a50_36267df0-6ff2-47eb-97d1-02536abd9ad6.webp?v=1713857797","variant_ids":[41793184890979]},"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-PL65","featured_media":{"alt":null,"id":23789194084451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793c0fa75eea3214a3ad9dc26525a393de94a50_36267df0-6ff2-47eb-97d1-02536abd9ad6.webp?v=1713857797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793185185891,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386952073315,"product_id":7369163472995,"position":1,"created_at":"2024-04-23T15:36:21+08:00","updated_at":"2024-04-23T15:36:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67332a49aa6aa560fad87c3ce8176d3a58f50263_fe665720-be80-4588-8515-28d746f81374.webp?v=1713857781","variant_ids":[41793185185891]},"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-PL65","featured_media":{"alt":null,"id":23789190250595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67332a49aa6aa560fad87c3ce8176d3a58f50263_fe665720-be80-4588-8515-28d746f81374.webp?v=1713857781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67332a49aa6aa560fad87c3ce8176d3a58f50263_fe665720-be80-4588-8515-28d746f81374.webp?v=1713857781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caeb40ede1d7381eedae2c700c268e84c8920c78_8513ba69-f1f4-4b62-8aca-59f8e5e278ae.webp?v=1713857784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e99d09eb4aa796a07645c9e70afd1804a9cf709_3718061e-2bda-4bb7-b1b5-31e3f445ccac.webp?v=1713857787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62a11cfe5d3f827cd83ab213aa7b83b68c3e6f0d_07ef3914-b20c-48ed-adef-9156b5456d49.webp?v=1713857790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d26db97e1849ce189459b4e09f1647c74a62a9f_d5f38b97-8c9a-4cf6-9f7f-aefe94e2575f.webp?v=1713857792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93f4afa796d3bb02db81350833acd6354a6a72c0_804d7afa-fcbc-4f51-af81-3eac995d00ef.webp?v=1713857794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793c0fa75eea3214a3ad9dc26525a393de94a50_36267df0-6ff2-47eb-97d1-02536abd9ad6.webp?v=1713857797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6bfbede28621e0930ede10f73b726b9da540060_8e667141-e8e9-441a-a33d-b43648f8ddfe.webp?v=1713857799","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e11c17522aca27454d30407ed35dd07f3855d3f_6b9522ea-0ce0-4605-8ac8-bd016cb9d418.webp?v=1713857802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b3a2a89445848064957f23afcbc8fe19318fa_0ae45f80-f915-4213-8538-38ff4b9baad8.webp?v=1713857804"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67332a49aa6aa560fad87c3ce8176d3a58f50263_fe665720-be80-4588-8515-28d746f81374.webp?v=1713857781","options":["color"],"media":[{"alt":null,"id":23789190250595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67332a49aa6aa560fad87c3ce8176d3a58f50263_fe665720-be80-4588-8515-28d746f81374.webp?v=1713857781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67332a49aa6aa560fad87c3ce8176d3a58f50263_fe665720-be80-4588-8515-28d746f81374.webp?v=1713857781","width":2000},{"alt":null,"id":23789190873187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caeb40ede1d7381eedae2c700c268e84c8920c78_8513ba69-f1f4-4b62-8aca-59f8e5e278ae.webp?v=1713857784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caeb40ede1d7381eedae2c700c268e84c8920c78_8513ba69-f1f4-4b62-8aca-59f8e5e278ae.webp?v=1713857784","width":2000},{"alt":null,"id":23789191856227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e99d09eb4aa796a07645c9e70afd1804a9cf709_3718061e-2bda-4bb7-b1b5-31e3f445ccac.webp?v=1713857787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e99d09eb4aa796a07645c9e70afd1804a9cf709_3718061e-2bda-4bb7-b1b5-31e3f445ccac.webp?v=1713857787","width":2000},{"alt":null,"id":23789192347747,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62a11cfe5d3f827cd83ab213aa7b83b68c3e6f0d_07ef3914-b20c-48ed-adef-9156b5456d49.webp?v=1713857790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62a11cfe5d3f827cd83ab213aa7b83b68c3e6f0d_07ef3914-b20c-48ed-adef-9156b5456d49.webp?v=1713857790","width":2000},{"alt":null,"id":23789192970339,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d26db97e1849ce189459b4e09f1647c74a62a9f_d5f38b97-8c9a-4cf6-9f7f-aefe94e2575f.webp?v=1713857792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d26db97e1849ce189459b4e09f1647c74a62a9f_d5f38b97-8c9a-4cf6-9f7f-aefe94e2575f.webp?v=1713857792","width":2000},{"alt":null,"id":23789193527395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93f4afa796d3bb02db81350833acd6354a6a72c0_804d7afa-fcbc-4f51-af81-3eac995d00ef.webp?v=1713857794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93f4afa796d3bb02db81350833acd6354a6a72c0_804d7afa-fcbc-4f51-af81-3eac995d00ef.webp?v=1713857794","width":2000},{"alt":null,"id":23789194084451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793c0fa75eea3214a3ad9dc26525a393de94a50_36267df0-6ff2-47eb-97d1-02536abd9ad6.webp?v=1713857797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793c0fa75eea3214a3ad9dc26525a393de94a50_36267df0-6ff2-47eb-97d1-02536abd9ad6.webp?v=1713857797","width":2000},{"alt":null,"id":23789194543203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6bfbede28621e0930ede10f73b726b9da540060_8e667141-e8e9-441a-a33d-b43648f8ddfe.webp?v=1713857799"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6bfbede28621e0930ede10f73b726b9da540060_8e667141-e8e9-441a-a33d-b43648f8ddfe.webp?v=1713857799","width":2000},{"alt":null,"id":23789195329635,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e11c17522aca27454d30407ed35dd07f3855d3f_6b9522ea-0ce0-4605-8ac8-bd016cb9d418.webp?v=1713857802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e11c17522aca27454d30407ed35dd07f3855d3f_6b9522ea-0ce0-4605-8ac8-bd016cb9d418.webp?v=1713857802","width":2000},{"alt":null,"id":23789195984995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b3a2a89445848064957f23afcbc8fe19318fa_0ae45f80-f915-4213-8538-38ff4b9baad8.webp?v=1713857804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b3a2a89445848064957f23afcbc8fe19318fa_0ae45f80-f915-4213-8538-38ff4b9baad8.webp?v=1713857804","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41793184825443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386952761443,"product_id":7369163472995,"position":2,"created_at":"2024-04-23T15:36:24+08:00","updated_at":"2024-04-23T15:36:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caeb40ede1d7381eedae2c700c268e84c8920c78_8513ba69-f1f4-4b62-8aca-59f8e5e278ae.webp?v=1713857784","variant_ids":[41793184825443]},"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-PL65","featured_media":{"alt":null,"id":23789190873187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caeb40ede1d7381eedae2c700c268e84c8920c78_8513ba69-f1f4-4b62-8aca-59f8e5e278ae.webp?v=1713857784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793184890979,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386955907171,"product_id":7369163472995,"position":7,"created_at":"2024-04-23T15:36:37+08:00","updated_at":"2024-04-23T15:36:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793c0fa75eea3214a3ad9dc26525a393de94a50_36267df0-6ff2-47eb-97d1-02536abd9ad6.webp?v=1713857797","variant_ids":[41793184890979]},"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-PL65","featured_media":{"alt":null,"id":23789194084451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793c0fa75eea3214a3ad9dc26525a393de94a50_36267df0-6ff2-47eb-97d1-02536abd9ad6.webp?v=1713857797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793185185891,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386952073315,"product_id":7369163472995,"position":1,"created_at":"2024-04-23T15:36:21+08:00","updated_at":"2024-04-23T15:36:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67332a49aa6aa560fad87c3ce8176d3a58f50263_fe665720-be80-4588-8515-28d746f81374.webp?v=1713857781","variant_ids":[41793185185891]},"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-PL65","featured_media":{"alt":null,"id":23789190250595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67332a49aa6aa560fad87c3ce8176d3a58f50263_fe665720-be80-4588-8515-28d746f81374.webp?v=1713857781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41793184825443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386952761443,"product_id":7369163472995,"position":2,"created_at":"2024-04-23T15:36:24+08:00","updated_at":"2024-04-23T15:36:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caeb40ede1d7381eedae2c700c268e84c8920c78_8513ba69-f1f4-4b62-8aca-59f8e5e278ae.webp?v=1713857784","variant_ids":[41793184825443]},"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-PL65","featured_media":{"alt":null,"id":23789190873187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caeb40ede1d7381eedae2c700c268e84c8920c78_8513ba69-f1f4-4b62-8aca-59f8e5e278ae.webp?v=1713857784"}},"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: "停產" }