$product = {"id":7920298852451,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Just Don't","handle":"iphone-14-plus-mod-nx-magsafe-ltc05","description":null,"published_at":"2025-11-11T09:36:01+08:00","created_at":"2025-11-10T10:53:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlecattos","device-iPhone 14 Plus","merge","reseller-littlecattos"],"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":43828111966307,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-LTC05","requires_shipping":true,"taxable":true,"featured_image":{"id":34780519006307,"product_id":7920298852451,"position":8,"created_at":"2025-11-10T10:53:48+08:00","updated_at":"2025-11-10T10:53:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a045846e0096a00da6ced2e6efcdaa672f4d1fe.webp?v=1762743230","variant_ids":[43828111966307]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Just Don't - 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-LTC05","featured_media":{"alt":null,"id":26346655383651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a045846e0096a00da6ced2e6efcdaa672f4d1fe.webp?v=1762743230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d180e527313800c3eb1af02b0654ca2bb31a48.webp?v=1762743225","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f12fc75abb92b54f1c18d3a23f75a348429b51e.webp?v=1762743226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca8f1a633319cd69499f4fb1913060611d157ad.webp?v=1762743226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e03bcfc3fd18d4176b9dba229773ad4be548183.webp?v=1762743227","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f57ed7a12803e024f8b666836058873c8563bd.webp?v=1762743228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dde155a4e6253900d0e8afbb106943ee581956ff.webp?v=1762743228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89b1ec9fa6ab508876290e3dc05770f232afc9b9.webp?v=1762743229","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a045846e0096a00da6ced2e6efcdaa672f4d1fe.webp?v=1762743230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e80f336ff063a489a0ddc6679e69b12c96f279.webp?v=1762743230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eca90cf5a91a26932c64ef2aedffa8709690341.webp?v=1762743232","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68fb1d4b13b3e0d43a50d61e579b25ce55bb5a66.webp?v=1762743232","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f374c327ed28f47b440028458b94bb094845269e.webp?v=1762743233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4368acf56e95556f8c513102f75d93a72874cdb9.webp?v=1762743234"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d180e527313800c3eb1af02b0654ca2bb31a48.webp?v=1762743225","options":["color"],"media":[{"alt":null,"id":26346653843555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d180e527313800c3eb1af02b0654ca2bb31a48.webp?v=1762743225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d180e527313800c3eb1af02b0654ca2bb31a48.webp?v=1762743225","width":2000},{"alt":null,"id":26346654433379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f12fc75abb92b54f1c18d3a23f75a348429b51e.webp?v=1762743226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f12fc75abb92b54f1c18d3a23f75a348429b51e.webp?v=1762743226","width":2000},{"alt":null,"id":26346654695523,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca8f1a633319cd69499f4fb1913060611d157ad.webp?v=1762743226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca8f1a633319cd69499f4fb1913060611d157ad.webp?v=1762743226","width":2000},{"alt":null,"id":26346654859363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e03bcfc3fd18d4176b9dba229773ad4be548183.webp?v=1762743227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e03bcfc3fd18d4176b9dba229773ad4be548183.webp?v=1762743227","width":2000},{"alt":null,"id":26346654924899,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f57ed7a12803e024f8b666836058873c8563bd.webp?v=1762743228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f57ed7a12803e024f8b666836058873c8563bd.webp?v=1762743228","width":2000},{"alt":null,"id":26346655023203,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dde155a4e6253900d0e8afbb106943ee581956ff.webp?v=1762743228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dde155a4e6253900d0e8afbb106943ee581956ff.webp?v=1762743228","width":2000},{"alt":null,"id":26346655154275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89b1ec9fa6ab508876290e3dc05770f232afc9b9.webp?v=1762743229"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89b1ec9fa6ab508876290e3dc05770f232afc9b9.webp?v=1762743229","width":2000},{"alt":null,"id":26346655383651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a045846e0096a00da6ced2e6efcdaa672f4d1fe.webp?v=1762743230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a045846e0096a00da6ced2e6efcdaa672f4d1fe.webp?v=1762743230","width":2000},{"alt":null,"id":26346655481955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e80f336ff063a489a0ddc6679e69b12c96f279.webp?v=1762743230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e80f336ff063a489a0ddc6679e69b12c96f279.webp?v=1762743230","width":2000},{"alt":null,"id":26346655645795,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eca90cf5a91a26932c64ef2aedffa8709690341.webp?v=1762743232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eca90cf5a91a26932c64ef2aedffa8709690341.webp?v=1762743232","width":2000},{"alt":null,"id":26346655842403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68fb1d4b13b3e0d43a50d61e579b25ce55bb5a66.webp?v=1762743232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68fb1d4b13b3e0d43a50d61e579b25ce55bb5a66.webp?v=1762743232","width":2000},{"alt":null,"id":26346656006243,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f374c327ed28f47b440028458b94bb094845269e.webp?v=1762743233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f374c327ed28f47b440028458b94bb094845269e.webp?v=1762743233","width":2000},{"alt":null,"id":26346656301155,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4368acf56e95556f8c513102f75d93a72874cdb9.webp?v=1762743234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4368acf56e95556f8c513102f75d93a72874cdb9.webp?v=1762743234","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828111966307,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-LTC05","requires_shipping":true,"taxable":true,"featured_image":{"id":34780519006307,"product_id":7920298852451,"position":8,"created_at":"2025-11-10T10:53:48+08:00","updated_at":"2025-11-10T10:53:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a045846e0096a00da6ced2e6efcdaa672f4d1fe.webp?v=1762743230","variant_ids":[43828111966307]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Just Don't - 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-LTC05","featured_media":{"alt":null,"id":26346655383651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a045846e0096a00da6ced2e6efcdaa672f4d1fe.webp?v=1762743230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828111966307,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-LTC05","requires_shipping":true,"taxable":true,"featured_image":{"id":34780519006307,"product_id":7920298852451,"position":8,"created_at":"2025-11-10T10:53:48+08:00","updated_at":"2025-11-10T10:53:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a045846e0096a00da6ced2e6efcdaa672f4d1fe.webp?v=1762743230","variant_ids":[43828111966307]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Just Don't - 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-LTC05","featured_media":{"alt":null,"id":26346655383651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a045846e0096a00da6ced2e6efcdaa672f4d1fe.webp?v=1762743230"}},"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: "停產" }