$product = {"id":7407787999331,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - yaya款","handle":"iphone-14-pro-mod-nx-printable-iv09","description":null,"published_at":"2024-06-11T16:23:11+08:00","created_at":"2024-05-03T10:51:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-1chun","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":41878843752547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470387331171,"product_id":7407787999331,"position":9,"created_at":"2024-05-03T10:52:04+08:00","updated_at":"2024-05-03T10:52:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9aedd74dba2e8018b17e9af2da8c6b7dae21ed4_756eaa62-5299-46a9-9d29-f608558fc0cd.webp?v=1714704724","variant_ids":[41878843752547]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - yaya款 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-IV09","featured_media":{"alt":null,"id":23875290529891,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9aedd74dba2e8018b17e9af2da8c6b7dae21ed4_756eaa62-5299-46a9-9d29-f608558fc0cd.webp?v=1714704724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878843916387,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470386643043,"product_id":7407787999331,"position":8,"created_at":"2024-05-03T10:52:02+08:00","updated_at":"2024-05-03T10:52:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0dd4a8765556e5a497b00583d4e3b14eb1d8ab_9ca148be-d8c5-43b5-a68d-93e80ac53e0f.webp?v=1714704722","variant_ids":[41878843916387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - yaya款 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-IV09","featured_media":{"alt":null,"id":23875289972835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0dd4a8765556e5a497b00583d4e3b14eb1d8ab_9ca148be-d8c5-43b5-a68d-93e80ac53e0f.webp?v=1714704722"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878844440675,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470383693923,"product_id":7407787999331,"position":3,"created_at":"2024-05-03T10:51:50+08:00","updated_at":"2024-05-03T10:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e36c88aac967888ea3c6ff434ce3538fde8b11b_3488080a-9f8e-4020-a200-170970066fb7.webp?v=1714704710","variant_ids":[41878844440675]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - yaya款 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-IV09","featured_media":{"alt":null,"id":23875286892643,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e36c88aac967888ea3c6ff434ce3538fde8b11b_3488080a-9f8e-4020-a200-170970066fb7.webp?v=1714704710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/351e48fcb60545028169815fcf46720c4f4a161d_e6b5ba76-e908-4643-ad67-c05224b559c2.webp?v=1714704705","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdb16f0bfc337ff7c8653c05b6bd271e9ac0981_7388affa-f87e-4f0d-a834-e3309bb61d91.webp?v=1714704707","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e36c88aac967888ea3c6ff434ce3538fde8b11b_3488080a-9f8e-4020-a200-170970066fb7.webp?v=1714704710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6d24a5e0cc72b84087892f5ac401109435193a_a5c09495-9ee6-4a9f-a226-6b2da2ae6575.webp?v=1714704712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a869fb6c1a0cb6ad127eba3c8d9e98665871d099_1c32d47f-eaa5-42fb-a87d-bb466628eede.webp?v=1714704715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b29c8a717b42e54c90c9806d7331477ea1c6580_86afda94-d081-472c-a91d-6d64295d6b19.webp?v=1714704717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/244b2604bb136e2fd215fed48009dfc883306738_8df469d1-fc45-4b00-b97b-4575f9e86211.webp?v=1714704719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0dd4a8765556e5a497b00583d4e3b14eb1d8ab_9ca148be-d8c5-43b5-a68d-93e80ac53e0f.webp?v=1714704722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9aedd74dba2e8018b17e9af2da8c6b7dae21ed4_756eaa62-5299-46a9-9d29-f608558fc0cd.webp?v=1714704724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fb1697bc8e5378c086affdc986e68b4aa9cf89d_f27071b3-f066-4fcf-83c8-d86698779c0d.webp?v=1714704726"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/351e48fcb60545028169815fcf46720c4f4a161d_e6b5ba76-e908-4643-ad67-c05224b559c2.webp?v=1714704705","options":["color"],"media":[{"alt":null,"id":23875285811299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/351e48fcb60545028169815fcf46720c4f4a161d_e6b5ba76-e908-4643-ad67-c05224b559c2.webp?v=1714704705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/351e48fcb60545028169815fcf46720c4f4a161d_e6b5ba76-e908-4643-ad67-c05224b559c2.webp?v=1714704705","width":2000},{"alt":null,"id":23875286270051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdb16f0bfc337ff7c8653c05b6bd271e9ac0981_7388affa-f87e-4f0d-a834-e3309bb61d91.webp?v=1714704707"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdb16f0bfc337ff7c8653c05b6bd271e9ac0981_7388affa-f87e-4f0d-a834-e3309bb61d91.webp?v=1714704707","width":2000},{"alt":null,"id":23875286892643,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e36c88aac967888ea3c6ff434ce3538fde8b11b_3488080a-9f8e-4020-a200-170970066fb7.webp?v=1714704710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e36c88aac967888ea3c6ff434ce3538fde8b11b_3488080a-9f8e-4020-a200-170970066fb7.webp?v=1714704710","width":2000},{"alt":null,"id":23875287482467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6d24a5e0cc72b84087892f5ac401109435193a_a5c09495-9ee6-4a9f-a226-6b2da2ae6575.webp?v=1714704712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6d24a5e0cc72b84087892f5ac401109435193a_a5c09495-9ee6-4a9f-a226-6b2da2ae6575.webp?v=1714704712","width":2000},{"alt":null,"id":23875288039523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a869fb6c1a0cb6ad127eba3c8d9e98665871d099_1c32d47f-eaa5-42fb-a87d-bb466628eede.webp?v=1714704715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a869fb6c1a0cb6ad127eba3c8d9e98665871d099_1c32d47f-eaa5-42fb-a87d-bb466628eede.webp?v=1714704715","width":2000},{"alt":null,"id":23875288531043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b29c8a717b42e54c90c9806d7331477ea1c6580_86afda94-d081-472c-a91d-6d64295d6b19.webp?v=1714704717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b29c8a717b42e54c90c9806d7331477ea1c6580_86afda94-d081-472c-a91d-6d64295d6b19.webp?v=1714704717","width":2000},{"alt":null,"id":23875289284707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/244b2604bb136e2fd215fed48009dfc883306738_8df469d1-fc45-4b00-b97b-4575f9e86211.webp?v=1714704719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/244b2604bb136e2fd215fed48009dfc883306738_8df469d1-fc45-4b00-b97b-4575f9e86211.webp?v=1714704719","width":2000},{"alt":null,"id":23875289972835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0dd4a8765556e5a497b00583d4e3b14eb1d8ab_9ca148be-d8c5-43b5-a68d-93e80ac53e0f.webp?v=1714704722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0dd4a8765556e5a497b00583d4e3b14eb1d8ab_9ca148be-d8c5-43b5-a68d-93e80ac53e0f.webp?v=1714704722","width":2000},{"alt":null,"id":23875290529891,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9aedd74dba2e8018b17e9af2da8c6b7dae21ed4_756eaa62-5299-46a9-9d29-f608558fc0cd.webp?v=1714704724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9aedd74dba2e8018b17e9af2da8c6b7dae21ed4_756eaa62-5299-46a9-9d29-f608558fc0cd.webp?v=1714704724","width":2000},{"alt":null,"id":23875291185251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fb1697bc8e5378c086affdc986e68b4aa9cf89d_f27071b3-f066-4fcf-83c8-d86698779c0d.webp?v=1714704726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fb1697bc8e5378c086affdc986e68b4aa9cf89d_f27071b3-f066-4fcf-83c8-d86698779c0d.webp?v=1714704726","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41878843752547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470387331171,"product_id":7407787999331,"position":9,"created_at":"2024-05-03T10:52:04+08:00","updated_at":"2024-05-03T10:52:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9aedd74dba2e8018b17e9af2da8c6b7dae21ed4_756eaa62-5299-46a9-9d29-f608558fc0cd.webp?v=1714704724","variant_ids":[41878843752547]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - yaya款 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-IV09","featured_media":{"alt":null,"id":23875290529891,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9aedd74dba2e8018b17e9af2da8c6b7dae21ed4_756eaa62-5299-46a9-9d29-f608558fc0cd.webp?v=1714704724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878843916387,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470386643043,"product_id":7407787999331,"position":8,"created_at":"2024-05-03T10:52:02+08:00","updated_at":"2024-05-03T10:52:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0dd4a8765556e5a497b00583d4e3b14eb1d8ab_9ca148be-d8c5-43b5-a68d-93e80ac53e0f.webp?v=1714704722","variant_ids":[41878843916387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - yaya款 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-IV09","featured_media":{"alt":null,"id":23875289972835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0dd4a8765556e5a497b00583d4e3b14eb1d8ab_9ca148be-d8c5-43b5-a68d-93e80ac53e0f.webp?v=1714704722"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878844440675,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470383693923,"product_id":7407787999331,"position":3,"created_at":"2024-05-03T10:51:50+08:00","updated_at":"2024-05-03T10:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e36c88aac967888ea3c6ff434ce3538fde8b11b_3488080a-9f8e-4020-a200-170970066fb7.webp?v=1714704710","variant_ids":[41878844440675]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - yaya款 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-IV09","featured_media":{"alt":null,"id":23875286892643,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e36c88aac967888ea3c6ff434ce3538fde8b11b_3488080a-9f8e-4020-a200-170970066fb7.webp?v=1714704710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41878843752547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470387331171,"product_id":7407787999331,"position":9,"created_at":"2024-05-03T10:52:04+08:00","updated_at":"2024-05-03T10:52:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9aedd74dba2e8018b17e9af2da8c6b7dae21ed4_756eaa62-5299-46a9-9d29-f608558fc0cd.webp?v=1714704724","variant_ids":[41878843752547]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - yaya款 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-IV09","featured_media":{"alt":null,"id":23875290529891,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9aedd74dba2e8018b17e9af2da8c6b7dae21ed4_756eaa62-5299-46a9-9d29-f608558fc0cd.webp?v=1714704724"}},"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: "停產" }