$product = {"id":7407493939299,"title":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - Weiweiboy - 可愛大龍王","handle":"iphone-15-plus-mod-nx-printable-eo06","description":null,"published_at":"2024-06-11T16:17:23+08:00","created_at":"2024-05-03T09:58:25+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone 15 Plus","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-weiweiboy","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":41875660210275,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0129624-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31469727187043,"product_id":7407493939299,"position":8,"created_at":"2024-05-03T09:58:47+08:00","updated_at":"2024-05-03T09:58:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fac8dc1dd47ffa198bfb7c634924503a7a34c638_a379fe4f-150b-4a68-a268-66c30f6d6220.webp?v=1714701527","variant_ids":[41875660210275]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - Weiweiboy - 可愛大龍王 - 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":"NPB0129624-EO06","featured_media":{"alt":null,"id":23874628452451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fac8dc1dd47ffa198bfb7c634924503a7a34c638_a379fe4f-150b-4a68-a268-66c30f6d6220.webp?v=1714701527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41875660341347,"title":"Mod NX-櫻花粉邊框","option1":"Mod NX-櫻花粉邊框","option2":null,"option3":null,"sku":"NPB0129657-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31469726138467,"product_id":7407493939299,"position":7,"created_at":"2024-05-03T09:58:45+08:00","updated_at":"2024-05-03T09:58:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd713bff00ce269ec6bd8a7741fa65259aef05f_47ecfe74-9cca-4ef5-87ef-0bb69a78a2f8.webp?v=1714701525","variant_ids":[41875660341347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - Weiweiboy - 可愛大龍王 - 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":"NPB0129657-EO06","featured_media":{"alt":null,"id":23874627469411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd713bff00ce269ec6bd8a7741fa65259aef05f_47ecfe74-9cca-4ef5-87ef-0bb69a78a2f8.webp?v=1714701525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/357661ccc2bf711103a07439f3361859de5f0ec6_3c2b956e-8321-4cf4-b82b-2c14e5d2c156.webp?v=1714701508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eda76d1f4762017c3fccc667c2acafca0a3c596_b09d0e13-e244-4b55-b8e8-c70bd8fbba1c.webp?v=1714701510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87dcf49e39ada08de51e8cf414513a567b7fc4dc_1b7fa972-a80e-4d81-b02a-d66335206a0f.webp?v=1714701513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3f59da76edd52d71f6b6a72d69526d58165914a_424bb9e8-e342-4015-9f63-d149efba2d55.webp?v=1714701515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c0ab90724cbd4db6943c71526d76e3ea1aef0f5_6708bec4-394a-43c8-a8ea-4018ba943342.webp?v=1714701518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c471aa55becc4e7c0c6d12ba5ab20dbc3207da65_e646937d-825e-45ad-b1ef-e28b7349f59e.webp?v=1714701522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd713bff00ce269ec6bd8a7741fa65259aef05f_47ecfe74-9cca-4ef5-87ef-0bb69a78a2f8.webp?v=1714701525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fac8dc1dd47ffa198bfb7c634924503a7a34c638_a379fe4f-150b-4a68-a268-66c30f6d6220.webp?v=1714701527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7455ff69b0acf20f858118b35a919bdbacb1b33e_02d8f29c-642f-449e-90b2-246414c3d5a9.webp?v=1714701530"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/357661ccc2bf711103a07439f3361859de5f0ec6_3c2b956e-8321-4cf4-b82b-2c14e5d2c156.webp?v=1714701508","options":["color"],"media":[{"alt":null,"id":23874622685283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/357661ccc2bf711103a07439f3361859de5f0ec6_3c2b956e-8321-4cf4-b82b-2c14e5d2c156.webp?v=1714701508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/357661ccc2bf711103a07439f3361859de5f0ec6_3c2b956e-8321-4cf4-b82b-2c14e5d2c156.webp?v=1714701508","width":2000},{"alt":null,"id":23874624225379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eda76d1f4762017c3fccc667c2acafca0a3c596_b09d0e13-e244-4b55-b8e8-c70bd8fbba1c.webp?v=1714701510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eda76d1f4762017c3fccc667c2acafca0a3c596_b09d0e13-e244-4b55-b8e8-c70bd8fbba1c.webp?v=1714701510","width":2000},{"alt":null,"id":23874624684131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87dcf49e39ada08de51e8cf414513a567b7fc4dc_1b7fa972-a80e-4d81-b02a-d66335206a0f.webp?v=1714701513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87dcf49e39ada08de51e8cf414513a567b7fc4dc_1b7fa972-a80e-4d81-b02a-d66335206a0f.webp?v=1714701513","width":2000},{"alt":null,"id":23874625241187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3f59da76edd52d71f6b6a72d69526d58165914a_424bb9e8-e342-4015-9f63-d149efba2d55.webp?v=1714701515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3f59da76edd52d71f6b6a72d69526d58165914a_424bb9e8-e342-4015-9f63-d149efba2d55.webp?v=1714701515","width":2000},{"alt":null,"id":23874626060387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c0ab90724cbd4db6943c71526d76e3ea1aef0f5_6708bec4-394a-43c8-a8ea-4018ba943342.webp?v=1714701518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c0ab90724cbd4db6943c71526d76e3ea1aef0f5_6708bec4-394a-43c8-a8ea-4018ba943342.webp?v=1714701518","width":2000},{"alt":null,"id":23874626977891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c471aa55becc4e7c0c6d12ba5ab20dbc3207da65_e646937d-825e-45ad-b1ef-e28b7349f59e.webp?v=1714701522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c471aa55becc4e7c0c6d12ba5ab20dbc3207da65_e646937d-825e-45ad-b1ef-e28b7349f59e.webp?v=1714701522","width":2000},{"alt":null,"id":23874627469411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd713bff00ce269ec6bd8a7741fa65259aef05f_47ecfe74-9cca-4ef5-87ef-0bb69a78a2f8.webp?v=1714701525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd713bff00ce269ec6bd8a7741fa65259aef05f_47ecfe74-9cca-4ef5-87ef-0bb69a78a2f8.webp?v=1714701525","width":2000},{"alt":null,"id":23874628452451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fac8dc1dd47ffa198bfb7c634924503a7a34c638_a379fe4f-150b-4a68-a268-66c30f6d6220.webp?v=1714701527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fac8dc1dd47ffa198bfb7c634924503a7a34c638_a379fe4f-150b-4a68-a268-66c30f6d6220.webp?v=1714701527","width":2000},{"alt":null,"id":23874629075043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7455ff69b0acf20f858118b35a919bdbacb1b33e_02d8f29c-642f-449e-90b2-246414c3d5a9.webp?v=1714701530"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7455ff69b0acf20f858118b35a919bdbacb1b33e_02d8f29c-642f-449e-90b2-246414c3d5a9.webp?v=1714701530","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41875660210275,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0129624-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31469727187043,"product_id":7407493939299,"position":8,"created_at":"2024-05-03T09:58:47+08:00","updated_at":"2024-05-03T09:58:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fac8dc1dd47ffa198bfb7c634924503a7a34c638_a379fe4f-150b-4a68-a268-66c30f6d6220.webp?v=1714701527","variant_ids":[41875660210275]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - Weiweiboy - 可愛大龍王 - 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":"NPB0129624-EO06","featured_media":{"alt":null,"id":23874628452451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fac8dc1dd47ffa198bfb7c634924503a7a34c638_a379fe4f-150b-4a68-a268-66c30f6d6220.webp?v=1714701527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41875660341347,"title":"Mod NX-櫻花粉邊框","option1":"Mod NX-櫻花粉邊框","option2":null,"option3":null,"sku":"NPB0129657-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31469726138467,"product_id":7407493939299,"position":7,"created_at":"2024-05-03T09:58:45+08:00","updated_at":"2024-05-03T09:58:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd713bff00ce269ec6bd8a7741fa65259aef05f_47ecfe74-9cca-4ef5-87ef-0bb69a78a2f8.webp?v=1714701525","variant_ids":[41875660341347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - Weiweiboy - 可愛大龍王 - 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":"NPB0129657-EO06","featured_media":{"alt":null,"id":23874627469411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd713bff00ce269ec6bd8a7741fa65259aef05f_47ecfe74-9cca-4ef5-87ef-0bb69a78a2f8.webp?v=1714701525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41875660210275,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0129624-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31469727187043,"product_id":7407493939299,"position":8,"created_at":"2024-05-03T09:58:47+08:00","updated_at":"2024-05-03T09:58:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fac8dc1dd47ffa198bfb7c634924503a7a34c638_a379fe4f-150b-4a68-a268-66c30f6d6220.webp?v=1714701527","variant_ids":[41875660210275]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - Weiweiboy - 可愛大龍王 - 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":"NPB0129624-EO06","featured_media":{"alt":null,"id":23874628452451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fac8dc1dd47ffa198bfb7c634924503a7a34c638_a379fe4f-150b-4a68-a268-66c30f6d6220.webp?v=1714701527"}},"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: "停產" }