$product = {"id":7893807530083,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) Chubbynida 游魚之伴","handle":"iphone-14-plus-mod-nx-magsafe-printable-chu04","description":null,"published_at":"2025-10-09T09:33:57+08:00","created_at":"2025-10-07T10:16:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone 14 Plus","merge","reseller-chubbynida"],"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":43763343196259,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CHU04","requires_shipping":true,"taxable":true,"featured_image":{"id":34553072091235,"product_id":7893807530083,"position":1,"created_at":"2025-10-07T10:16:04+08:00","updated_at":"2025-10-07T10:16:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366","variant_ids":[43763343196259]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) Chubbynida 游魚之伴 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-CHU04","featured_media":{"alt":null,"id":26122719789155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe255a1c3e49b70bb2b5838e501b8c19eb80acb7.webp?v=1759803367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9db4e38ae0e3ad60ab045dd49e3f6387879c2190.webp?v=1759803368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/955d8ae9d03f683a8defa5b2fa68963c018ca654.webp?v=1759803369","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4799503e3b8ffdd3647b29636a23b13661275b0.webp?v=1759803369","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695a8ef3044797af8acf2475e1547bc0d2300fc7.webp?v=1759803370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fe8f8c8561869e4d212aa1c2aec8a93f2457d2b.webp?v=1759803371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72dee07aa8a8488bcaa0609e6544681b328e032b.webp?v=1759803371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40cab9ecdba8c3e3ff44570add96a3a7bc57636a.webp?v=1759803373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68982ca4ad28edef301063b953774a89980c8512.webp?v=1759803374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f5bb8e535c4d1bb793bf8fbb070d53c15185b5f.webp?v=1759803374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e630c443f6846a04939be1c08c91a84850e0d62d.webp?v=1759803375","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d694571e2817bb1af1fd22d438100ffe9fbda581.webp?v=1759803376"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366","options":["color"],"media":[{"alt":null,"id":26122719789155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366","width":2000},{"alt":null,"id":26122719952995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe255a1c3e49b70bb2b5838e501b8c19eb80acb7.webp?v=1759803367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe255a1c3e49b70bb2b5838e501b8c19eb80acb7.webp?v=1759803367","width":2000},{"alt":null,"id":26122720149603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9db4e38ae0e3ad60ab045dd49e3f6387879c2190.webp?v=1759803368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9db4e38ae0e3ad60ab045dd49e3f6387879c2190.webp?v=1759803368","width":2000},{"alt":null,"id":26122720247907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/955d8ae9d03f683a8defa5b2fa68963c018ca654.webp?v=1759803369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/955d8ae9d03f683a8defa5b2fa68963c018ca654.webp?v=1759803369","width":2000},{"alt":null,"id":26122720346211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4799503e3b8ffdd3647b29636a23b13661275b0.webp?v=1759803369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4799503e3b8ffdd3647b29636a23b13661275b0.webp?v=1759803369","width":2000},{"alt":null,"id":26122720444515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695a8ef3044797af8acf2475e1547bc0d2300fc7.webp?v=1759803370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695a8ef3044797af8acf2475e1547bc0d2300fc7.webp?v=1759803370","width":2000},{"alt":null,"id":26122720510051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fe8f8c8561869e4d212aa1c2aec8a93f2457d2b.webp?v=1759803371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fe8f8c8561869e4d212aa1c2aec8a93f2457d2b.webp?v=1759803371","width":2000},{"alt":null,"id":26122720608355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72dee07aa8a8488bcaa0609e6544681b328e032b.webp?v=1759803371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72dee07aa8a8488bcaa0609e6544681b328e032b.webp?v=1759803371","width":2000},{"alt":null,"id":26122720870499,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40cab9ecdba8c3e3ff44570add96a3a7bc57636a.webp?v=1759803373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40cab9ecdba8c3e3ff44570add96a3a7bc57636a.webp?v=1759803373","width":2000},{"alt":null,"id":26122720968803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68982ca4ad28edef301063b953774a89980c8512.webp?v=1759803374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68982ca4ad28edef301063b953774a89980c8512.webp?v=1759803374","width":2000},{"alt":null,"id":26122721034339,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f5bb8e535c4d1bb793bf8fbb070d53c15185b5f.webp?v=1759803374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f5bb8e535c4d1bb793bf8fbb070d53c15185b5f.webp?v=1759803374","width":2000},{"alt":null,"id":26122721165411,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e630c443f6846a04939be1c08c91a84850e0d62d.webp?v=1759803375"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e630c443f6846a04939be1c08c91a84850e0d62d.webp?v=1759803375","width":2000},{"alt":null,"id":26122721394787,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d694571e2817bb1af1fd22d438100ffe9fbda581.webp?v=1759803376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d694571e2817bb1af1fd22d438100ffe9fbda581.webp?v=1759803376","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43763343196259,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CHU04","requires_shipping":true,"taxable":true,"featured_image":{"id":34553072091235,"product_id":7893807530083,"position":1,"created_at":"2025-10-07T10:16:04+08:00","updated_at":"2025-10-07T10:16:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366","variant_ids":[43763343196259]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) Chubbynida 游魚之伴 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-CHU04","featured_media":{"alt":null,"id":26122719789155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43763343196259,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CHU04","requires_shipping":true,"taxable":true,"featured_image":{"id":34553072091235,"product_id":7893807530083,"position":1,"created_at":"2025-10-07T10:16:04+08:00","updated_at":"2025-10-07T10:16:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366","variant_ids":[43763343196259]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) Chubbynida 游魚之伴 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-CHU04","featured_media":{"alt":null,"id":26122719789155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd9714a3a25c4ced1f8d11e4dfe2399474c2d6b5.webp?v=1759803366"}},"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: "停產" }