$product = {"id":7920355311715,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos States of Mind","handle":"iphone-14-plus-mod-nx-magsafe-ltc06","description":null,"published_at":"2025-11-11T09:25:56+08:00","created_at":"2025-11-10T11:07:34+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":43828322041955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-LTC06","requires_shipping":true,"taxable":true,"featured_image":{"id":34780743762019,"product_id":7920355311715,"position":6,"created_at":"2025-11-10T11:07:41+08:00","updated_at":"2025-11-10T11:07:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01640f4c386619fdf5d09a2127fc2c454ced661b.webp?v=1762744063","variant_ids":[43828322041955]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos States of Mind - 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-LTC06","featured_media":{"alt":null,"id":26346880106595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01640f4c386619fdf5d09a2127fc2c454ced661b.webp?v=1762744063"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a11d20ab0d40e72229fc51bdd22237263234d96d.webp?v=1762744059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2f602dac6481a3757f39cd1e8453ab9ecb20170.webp?v=1762744060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b298677008d108917231b1a6dfde1840699bddf.webp?v=1762744061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00a2a74261267cbf5db493bae1776fdf3f642729.webp?v=1762744062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c631554fea2501882e0aa2917d4ab90497adfb5b.webp?v=1762744063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01640f4c386619fdf5d09a2127fc2c454ced661b.webp?v=1762744063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8169c821a8bb3f8548ca84e260c6debf47a1b7db.webp?v=1762744064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/812122e0b962eaa0f73a24183785e463a23b1b2c.webp?v=1762744065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b401d1e4b6a00374fe899e0e6678e16830eb082.webp?v=1762744065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a406659c301ccb92f32619de810ada3a26c16665.webp?v=1762744066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d919064bec59dba26e51f076800ff164b3ae530.webp?v=1762744066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/809631ca484ce8c2e3b033fa632f970962e836e3.webp?v=1762744067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e288b93c3cc564b680a2e1837fbd26178e13cbc.webp?v=1762744068"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a11d20ab0d40e72229fc51bdd22237263234d96d.webp?v=1762744059","options":["color"],"media":[{"alt":null,"id":26346878730339,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a11d20ab0d40e72229fc51bdd22237263234d96d.webp?v=1762744059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a11d20ab0d40e72229fc51bdd22237263234d96d.webp?v=1762744059","width":2000},{"alt":null,"id":26346879025251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2f602dac6481a3757f39cd1e8453ab9ecb20170.webp?v=1762744060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2f602dac6481a3757f39cd1e8453ab9ecb20170.webp?v=1762744060","width":2000},{"alt":null,"id":26346879418467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b298677008d108917231b1a6dfde1840699bddf.webp?v=1762744061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b298677008d108917231b1a6dfde1840699bddf.webp?v=1762744061","width":2000},{"alt":null,"id":26346879647843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00a2a74261267cbf5db493bae1776fdf3f642729.webp?v=1762744062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00a2a74261267cbf5db493bae1776fdf3f642729.webp?v=1762744062","width":2000},{"alt":null,"id":26346879844451,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c631554fea2501882e0aa2917d4ab90497adfb5b.webp?v=1762744063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c631554fea2501882e0aa2917d4ab90497adfb5b.webp?v=1762744063","width":2000},{"alt":null,"id":26346880106595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01640f4c386619fdf5d09a2127fc2c454ced661b.webp?v=1762744063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01640f4c386619fdf5d09a2127fc2c454ced661b.webp?v=1762744063","width":2000},{"alt":null,"id":26346880401507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8169c821a8bb3f8548ca84e260c6debf47a1b7db.webp?v=1762744064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8169c821a8bb3f8548ca84e260c6debf47a1b7db.webp?v=1762744064","width":2000},{"alt":null,"id":26346880565347,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/812122e0b962eaa0f73a24183785e463a23b1b2c.webp?v=1762744065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/812122e0b962eaa0f73a24183785e463a23b1b2c.webp?v=1762744065","width":2000},{"alt":null,"id":26346880761955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b401d1e4b6a00374fe899e0e6678e16830eb082.webp?v=1762744065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b401d1e4b6a00374fe899e0e6678e16830eb082.webp?v=1762744065","width":2000},{"alt":null,"id":26346880991331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a406659c301ccb92f32619de810ada3a26c16665.webp?v=1762744066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a406659c301ccb92f32619de810ada3a26c16665.webp?v=1762744066","width":2000},{"alt":null,"id":26346881187939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d919064bec59dba26e51f076800ff164b3ae530.webp?v=1762744066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d919064bec59dba26e51f076800ff164b3ae530.webp?v=1762744066","width":2000},{"alt":null,"id":26346881351779,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/809631ca484ce8c2e3b033fa632f970962e836e3.webp?v=1762744067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/809631ca484ce8c2e3b033fa632f970962e836e3.webp?v=1762744067","width":2000},{"alt":null,"id":26346881482851,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e288b93c3cc564b680a2e1837fbd26178e13cbc.webp?v=1762744068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e288b93c3cc564b680a2e1837fbd26178e13cbc.webp?v=1762744068","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828322041955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-LTC06","requires_shipping":true,"taxable":true,"featured_image":{"id":34780743762019,"product_id":7920355311715,"position":6,"created_at":"2025-11-10T11:07:41+08:00","updated_at":"2025-11-10T11:07:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01640f4c386619fdf5d09a2127fc2c454ced661b.webp?v=1762744063","variant_ids":[43828322041955]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos States of Mind - 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-LTC06","featured_media":{"alt":null,"id":26346880106595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01640f4c386619fdf5d09a2127fc2c454ced661b.webp?v=1762744063"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828322041955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-LTC06","requires_shipping":true,"taxable":true,"featured_image":{"id":34780743762019,"product_id":7920355311715,"position":6,"created_at":"2025-11-10T11:07:41+08:00","updated_at":"2025-11-10T11:07:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01640f4c386619fdf5d09a2127fc2c454ced661b.webp?v=1762744063","variant_ids":[43828322041955]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos States of Mind - 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-LTC06","featured_media":{"alt":null,"id":26346880106595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01640f4c386619fdf5d09a2127fc2c454ced661b.webp?v=1762744063"}},"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: "停產" }