$product = {"id":7944317894755,"title":"iPhone 15 Pro Max SolidX 右手超人 企鵝朋友","handle":"iphone-15-pro-max-solidx-yoh05","description":null,"published_at":"2025-12-24T10:15:29+08:00","created_at":"2025-12-23T16:57:11+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-yohand","device-iPhone 15 Pro Max","merge","reseller-yohand"],"price":125000,"price_min":125000,"price_max":125000,"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":43908146921571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YOH05","requires_shipping":true,"taxable":true,"featured_image":{"id":36271882076259,"product_id":7944317894755,"position":13,"created_at":"2026-07-15T14:54:12+08:00","updated_at":"2026-07-15T14:54:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509_a8ff2315-b41b-429f-9e32-0aa6f5473f72.webp?v=1784098454","variant_ids":[43908146921571]},"available":true,"name":"iPhone 15 Pro Max SolidX 右手超人 企鵝朋友 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YOH05","featured_media":{"alt":null,"id":27775937151075,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509_a8ff2315-b41b-429f-9e32-0aa6f5473f72.webp?v=1784098454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43908152688739,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-YOH05","requires_shipping":true,"taxable":true,"featured_image":{"id":36271883157603,"product_id":7944317894755,"position":14,"created_at":"2026-07-15T14:54:14+08:00","updated_at":"2026-07-15T14:54:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951_4aa768cb-ea61-4d1e-9cfb-07599b9e497b.webp?v=1784098455","variant_ids":[43908152688739]},"available":true,"name":"iPhone 15 Pro Max SolidX 右手超人 企鵝朋友 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-YOH05","featured_media":{"alt":null,"id":27775938232419,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951_4aa768cb-ea61-4d1e-9cfb-07599b9e497b.webp?v=1784098455"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6950ed2719d1ef8e40b1a77aec0a1ab60b063.webp?v=1766480261","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1401b0944e78ac23012edae2896188d5e60c01.webp?v=1766480262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951.webp?v=1766480262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f065bc81e6ba778ea3f2ebf014c24e6321e53.webp?v=1766480263","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76aaabf96e96e806b24c76b310537f128dc02e2c.webp?v=1766480263","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69a56943bddfdab4adcb32dd6d8a61d762d790c2.webp?v=1766480264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509.webp?v=1766480264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a31b068d62cbe73b464bdb468fd236054be5b4e.webp?v=1766480264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ef5294760b1f86d6353a9a31b9caf9828f4af91.webp?v=1766480265","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2701185b0848c8afecdcc4fd15520451a139dcc.webp?v=1766480266","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69a56943bddfdab4adcb32dd6d8a61d762d790c2_02a2f89f-df28-4acd-a777-7bb734141380.webp?v=1784098451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1401b0944e78ac23012edae2896188d5e60c01_aa304d99-5e5c-4671-b9e5-4dbdc9326b7c.webp?v=1784098452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509_a8ff2315-b41b-429f-9e32-0aa6f5473f72.webp?v=1784098454","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951_4aa768cb-ea61-4d1e-9cfb-07599b9e497b.webp?v=1784098455","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6950ed2719d1ef8e40b1a77aec0a1ab60b063_55b23295-95f8-4f8b-8174-92d6a488a819.webp?v=1784098456"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6950ed2719d1ef8e40b1a77aec0a1ab60b063.webp?v=1766480261","options":["color"],"media":[{"alt":null,"id":26563344236643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6950ed2719d1ef8e40b1a77aec0a1ab60b063.webp?v=1766480261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6950ed2719d1ef8e40b1a77aec0a1ab60b063.webp?v=1766480261","width":2000},{"alt":null,"id":26563344629859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1401b0944e78ac23012edae2896188d5e60c01.webp?v=1766480262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1401b0944e78ac23012edae2896188d5e60c01.webp?v=1766480262","width":2000},{"alt":null,"id":26563345219683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951.webp?v=1766480262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951.webp?v=1766480262","width":2000},{"alt":null,"id":26563345580131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f065bc81e6ba778ea3f2ebf014c24e6321e53.webp?v=1766480263"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f065bc81e6ba778ea3f2ebf014c24e6321e53.webp?v=1766480263","width":2000},{"alt":null,"id":26563346006115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76aaabf96e96e806b24c76b310537f128dc02e2c.webp?v=1766480263"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76aaabf96e96e806b24c76b310537f128dc02e2c.webp?v=1766480263","width":2000},{"alt":null,"id":26563346366563,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69a56943bddfdab4adcb32dd6d8a61d762d790c2.webp?v=1766480264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69a56943bddfdab4adcb32dd6d8a61d762d790c2.webp?v=1766480264","width":2000},{"alt":null,"id":26563346792547,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509.webp?v=1766480264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509.webp?v=1766480264","width":2000},{"alt":null,"id":26563347546211,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a31b068d62cbe73b464bdb468fd236054be5b4e.webp?v=1766480264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a31b068d62cbe73b464bdb468fd236054be5b4e.webp?v=1766480264","width":2000},{"alt":null,"id":26563347873891,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ef5294760b1f86d6353a9a31b9caf9828f4af91.webp?v=1766480265"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ef5294760b1f86d6353a9a31b9caf9828f4af91.webp?v=1766480265","width":2000},{"alt":null,"id":26563348562019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2701185b0848c8afecdcc4fd15520451a139dcc.webp?v=1766480266"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2701185b0848c8afecdcc4fd15520451a139dcc.webp?v=1766480266","width":2000},{"alt":null,"id":27775935414371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69a56943bddfdab4adcb32dd6d8a61d762d790c2_02a2f89f-df28-4acd-a777-7bb734141380.webp?v=1784098451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69a56943bddfdab4adcb32dd6d8a61d762d790c2_02a2f89f-df28-4acd-a777-7bb734141380.webp?v=1784098451","width":2000},{"alt":null,"id":27775936135267,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1401b0944e78ac23012edae2896188d5e60c01_aa304d99-5e5c-4671-b9e5-4dbdc9326b7c.webp?v=1784098452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1401b0944e78ac23012edae2896188d5e60c01_aa304d99-5e5c-4671-b9e5-4dbdc9326b7c.webp?v=1784098452","width":2000},{"alt":null,"id":27775937151075,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509_a8ff2315-b41b-429f-9e32-0aa6f5473f72.webp?v=1784098454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509_a8ff2315-b41b-429f-9e32-0aa6f5473f72.webp?v=1784098454","width":2000},{"alt":null,"id":27775938232419,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951_4aa768cb-ea61-4d1e-9cfb-07599b9e497b.webp?v=1784098455"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951_4aa768cb-ea61-4d1e-9cfb-07599b9e497b.webp?v=1784098455","width":2000},{"alt":null,"id":27775939117155,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6950ed2719d1ef8e40b1a77aec0a1ab60b063_55b23295-95f8-4f8b-8174-92d6a488a819.webp?v=1784098456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6950ed2719d1ef8e40b1a77aec0a1ab60b063_55b23295-95f8-4f8b-8174-92d6a488a819.webp?v=1784098456","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43908146921571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YOH05","requires_shipping":true,"taxable":true,"featured_image":{"id":36271882076259,"product_id":7944317894755,"position":13,"created_at":"2026-07-15T14:54:12+08:00","updated_at":"2026-07-15T14:54:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509_a8ff2315-b41b-429f-9e32-0aa6f5473f72.webp?v=1784098454","variant_ids":[43908146921571]},"available":true,"name":"iPhone 15 Pro Max SolidX 右手超人 企鵝朋友 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YOH05","featured_media":{"alt":null,"id":27775937151075,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509_a8ff2315-b41b-429f-9e32-0aa6f5473f72.webp?v=1784098454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43908152688739,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-YOH05","requires_shipping":true,"taxable":true,"featured_image":{"id":36271883157603,"product_id":7944317894755,"position":14,"created_at":"2026-07-15T14:54:14+08:00","updated_at":"2026-07-15T14:54:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951_4aa768cb-ea61-4d1e-9cfb-07599b9e497b.webp?v=1784098455","variant_ids":[43908152688739]},"available":true,"name":"iPhone 15 Pro Max SolidX 右手超人 企鵝朋友 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-YOH05","featured_media":{"alt":null,"id":27775938232419,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aab8c5350891ab020eb0b616a6feca32145a8951_4aa768cb-ea61-4d1e-9cfb-07599b9e497b.webp?v=1784098455"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43908146921571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YOH05","requires_shipping":true,"taxable":true,"featured_image":{"id":36271882076259,"product_id":7944317894755,"position":13,"created_at":"2026-07-15T14:54:12+08:00","updated_at":"2026-07-15T14:54:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509_a8ff2315-b41b-429f-9e32-0aa6f5473f72.webp?v=1784098454","variant_ids":[43908146921571]},"available":true,"name":"iPhone 15 Pro Max SolidX 右手超人 企鵝朋友 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YOH05","featured_media":{"alt":null,"id":27775937151075,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dde5f61f4938bf690afaabb73183cd3743b3509_a8ff2315-b41b-429f-9e32-0aa6f5473f72.webp?v=1784098454"}},"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: "停產" }