$product = {"id":7414565109859,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb45","description":null,"published_at":"2024-06-11T17:52:05+08:00","created_at":"2024-05-05T14:30:43+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 13 mini","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":41907402899555,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31485779214435,"product_id":7414565109859,"position":9,"created_at":"2024-05-05T14:31:03+08:00","updated_at":"2024-05-05T14:31:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdc9b2b05969a61e30eae47fbbbc187c059665e9_d5793201-f38d-4685-95aa-5ad700468ff4.webp?v=1714890663","variant_ids":[41907402899555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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":"MPB0122824-PB45","featured_media":{"alt":null,"id":23891109380195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdc9b2b05969a61e30eae47fbbbc187c059665e9_d5793201-f38d-4685-95aa-5ad700468ff4.webp?v=1714890663"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907403030627,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31485768007779,"product_id":7414565109859,"position":3,"created_at":"2024-05-05T14:30:50+08:00","updated_at":"2024-05-05T14:30:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a0c3c983541b9842214b409bece134f0716447_78bef609-2156-4e00-a787-53dc29582d0a.webp?v=1714890650","variant_ids":[41907403030627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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":"MPB0122804-PB45","featured_media":{"alt":null,"id":23891098075235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a0c3c983541b9842214b409bece134f0716447_78bef609-2156-4e00-a787-53dc29582d0a.webp?v=1714890650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907403456611,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31485773840483,"product_id":7414565109859,"position":6,"created_at":"2024-05-05T14:30:57+08:00","updated_at":"2024-05-05T14:30:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa982d8be00566fcf5844973fcb1da9dbcdd50b8_c6a550bf-06d7-4d4b-8cbd-83de6c941161.webp?v=1714890657","variant_ids":[41907403456611]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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":"MPB01228J5-PB45","featured_media":{"alt":null,"id":23891104071779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa982d8be00566fcf5844973fcb1da9dbcdd50b8_c6a550bf-06d7-4d4b-8cbd-83de6c941161.webp?v=1714890657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76be9952d7d37cbb179df9e3a2345f48efa65288_d17d57ae-6348-497a-96d4-645f7cc6d8bd.webp?v=1714890645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa59e72174e20367add736357ccfa9165c6d95d4_e25575d0-332a-42b4-a32b-1b697aa4a47b.webp?v=1714890647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a0c3c983541b9842214b409bece134f0716447_78bef609-2156-4e00-a787-53dc29582d0a.webp?v=1714890650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffe7278691bd6d27bcba400154f25e09dff2809_2c94d552-be20-4b69-9bd4-21c402356732.webp?v=1714890652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da222459292e9d2e2b5692113aee33f09b7b084_c81e20ba-8adc-46a9-9651-050cdc4abcd7.webp?v=1714890654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa982d8be00566fcf5844973fcb1da9dbcdd50b8_c6a550bf-06d7-4d4b-8cbd-83de6c941161.webp?v=1714890657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3609b451a94e0348e5654f8709052059513e7f22_9f6a42db-5685-41cc-94a3-6c2b7a34154d.webp?v=1714890659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a6b4f353decd105dabecc4696fc324cf64088ef_d1a578ea-ffb1-4e72-bdfe-0ebe84aff757.webp?v=1714890661","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdc9b2b05969a61e30eae47fbbbc187c059665e9_d5793201-f38d-4685-95aa-5ad700468ff4.webp?v=1714890663","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c510dab003d44361cba7499b4754e87572cb3aa9_69d7aa91-c503-440f-8842-c5a4555c3361.webp?v=1714890665"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76be9952d7d37cbb179df9e3a2345f48efa65288_d17d57ae-6348-497a-96d4-645f7cc6d8bd.webp?v=1714890645","options":["color"],"media":[{"alt":null,"id":23891094208611,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76be9952d7d37cbb179df9e3a2345f48efa65288_d17d57ae-6348-497a-96d4-645f7cc6d8bd.webp?v=1714890645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76be9952d7d37cbb179df9e3a2345f48efa65288_d17d57ae-6348-497a-96d4-645f7cc6d8bd.webp?v=1714890645","width":2000},{"alt":null,"id":23891095879779,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa59e72174e20367add736357ccfa9165c6d95d4_e25575d0-332a-42b4-a32b-1b697aa4a47b.webp?v=1714890647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa59e72174e20367add736357ccfa9165c6d95d4_e25575d0-332a-42b4-a32b-1b697aa4a47b.webp?v=1714890647","width":2000},{"alt":null,"id":23891098075235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a0c3c983541b9842214b409bece134f0716447_78bef609-2156-4e00-a787-53dc29582d0a.webp?v=1714890650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a0c3c983541b9842214b409bece134f0716447_78bef609-2156-4e00-a787-53dc29582d0a.webp?v=1714890650","width":2000},{"alt":null,"id":23891099943011,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffe7278691bd6d27bcba400154f25e09dff2809_2c94d552-be20-4b69-9bd4-21c402356732.webp?v=1714890652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffe7278691bd6d27bcba400154f25e09dff2809_2c94d552-be20-4b69-9bd4-21c402356732.webp?v=1714890652","width":2000},{"alt":null,"id":23891102072931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da222459292e9d2e2b5692113aee33f09b7b084_c81e20ba-8adc-46a9-9651-050cdc4abcd7.webp?v=1714890654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da222459292e9d2e2b5692113aee33f09b7b084_c81e20ba-8adc-46a9-9651-050cdc4abcd7.webp?v=1714890654","width":2000},{"alt":null,"id":23891104071779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa982d8be00566fcf5844973fcb1da9dbcdd50b8_c6a550bf-06d7-4d4b-8cbd-83de6c941161.webp?v=1714890657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa982d8be00566fcf5844973fcb1da9dbcdd50b8_c6a550bf-06d7-4d4b-8cbd-83de6c941161.webp?v=1714890657","width":2000},{"alt":null,"id":23891106201699,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3609b451a94e0348e5654f8709052059513e7f22_9f6a42db-5685-41cc-94a3-6c2b7a34154d.webp?v=1714890659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3609b451a94e0348e5654f8709052059513e7f22_9f6a42db-5685-41cc-94a3-6c2b7a34154d.webp?v=1714890659","width":2000},{"alt":null,"id":23891107807331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a6b4f353decd105dabecc4696fc324cf64088ef_d1a578ea-ffb1-4e72-bdfe-0ebe84aff757.webp?v=1714890661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a6b4f353decd105dabecc4696fc324cf64088ef_d1a578ea-ffb1-4e72-bdfe-0ebe84aff757.webp?v=1714890661","width":2000},{"alt":null,"id":23891109380195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdc9b2b05969a61e30eae47fbbbc187c059665e9_d5793201-f38d-4685-95aa-5ad700468ff4.webp?v=1714890663"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdc9b2b05969a61e30eae47fbbbc187c059665e9_d5793201-f38d-4685-95aa-5ad700468ff4.webp?v=1714890663","width":2000},{"alt":null,"id":23891110658147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c510dab003d44361cba7499b4754e87572cb3aa9_69d7aa91-c503-440f-8842-c5a4555c3361.webp?v=1714890665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c510dab003d44361cba7499b4754e87572cb3aa9_69d7aa91-c503-440f-8842-c5a4555c3361.webp?v=1714890665","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41907402899555,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31485779214435,"product_id":7414565109859,"position":9,"created_at":"2024-05-05T14:31:03+08:00","updated_at":"2024-05-05T14:31:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdc9b2b05969a61e30eae47fbbbc187c059665e9_d5793201-f38d-4685-95aa-5ad700468ff4.webp?v=1714890663","variant_ids":[41907402899555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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":"MPB0122824-PB45","featured_media":{"alt":null,"id":23891109380195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdc9b2b05969a61e30eae47fbbbc187c059665e9_d5793201-f38d-4685-95aa-5ad700468ff4.webp?v=1714890663"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907403030627,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31485768007779,"product_id":7414565109859,"position":3,"created_at":"2024-05-05T14:30:50+08:00","updated_at":"2024-05-05T14:30:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a0c3c983541b9842214b409bece134f0716447_78bef609-2156-4e00-a787-53dc29582d0a.webp?v=1714890650","variant_ids":[41907403030627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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":"MPB0122804-PB45","featured_media":{"alt":null,"id":23891098075235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a0c3c983541b9842214b409bece134f0716447_78bef609-2156-4e00-a787-53dc29582d0a.webp?v=1714890650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907403456611,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31485773840483,"product_id":7414565109859,"position":6,"created_at":"2024-05-05T14:30:57+08:00","updated_at":"2024-05-05T14:30:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa982d8be00566fcf5844973fcb1da9dbcdd50b8_c6a550bf-06d7-4d4b-8cbd-83de6c941161.webp?v=1714890657","variant_ids":[41907403456611]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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":"MPB01228J5-PB45","featured_media":{"alt":null,"id":23891104071779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa982d8be00566fcf5844973fcb1da9dbcdd50b8_c6a550bf-06d7-4d4b-8cbd-83de6c941161.webp?v=1714890657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41907402899555,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31485779214435,"product_id":7414565109859,"position":9,"created_at":"2024-05-05T14:31:03+08:00","updated_at":"2024-05-05T14:31:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdc9b2b05969a61e30eae47fbbbc187c059665e9_d5793201-f38d-4685-95aa-5ad700468ff4.webp?v=1714890663","variant_ids":[41907402899555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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":"MPB0122824-PB45","featured_media":{"alt":null,"id":23891109380195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdc9b2b05969a61e30eae47fbbbc187c059665e9_d5793201-f38d-4685-95aa-5ad700468ff4.webp?v=1714890663"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }