$product = {"id":7911305478243,"title":"iPhone 15 Plus SolidX PosterLad 郊區","handle":"iphone-15-plus-solidx-pos08","description":null,"published_at":"2025-11-05T10:31:26+08:00","created_at":"2025-11-04T10:54:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-posterlad","device-iPhone 15 Plus","merge","reseller-posterlad"],"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":43812264575075,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729377398883,"product_id":7911305478243,"position":1,"created_at":"2025-11-04T10:54:22+08:00","updated_at":"2025-11-04T10:54:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864","variant_ids":[43812264575075]},"available":true,"name":"iPhone 15 Plus SolidX PosterLad 郊區 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-POS08","featured_media":{"alt":null,"id":26297244942435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812267819107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729378185315,"product_id":7911305478243,"position":4,"created_at":"2025-11-04T10:54:24+08:00","updated_at":"2025-11-04T10:54:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f607e14e67a43f0faab695ee70714b399ece0a.webp?v=1762224866","variant_ids":[43812267819107]},"available":true,"name":"iPhone 15 Plus SolidX PosterLad 郊區 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-POS08","featured_media":{"alt":null,"id":26297245761635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f607e14e67a43f0faab695ee70714b399ece0a.webp?v=1762224866"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13520654a140a5c678313dc92d19e60389546b7c.webp?v=1762224864","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2967b5dd4e0000cd8293fab0c6a246966e9dc99b.webp?v=1762224865","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f607e14e67a43f0faab695ee70714b399ece0a.webp?v=1762224866","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9fa5513dfb1a8aa4abbb5e112db6d96ff2f664d.webp?v=1762224867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65dfda554f887d136c49c31b7885a7673e5ca66e.webp?v=1762224867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6383a08fee40bc755bc8d79e595aa7cde5eef414.webp?v=1762224868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fede99e13e71d52eae662b3b0dd0ded18c3a9637.webp?v=1762224869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/111cb1d663ef7ada3335857818bf5a229f70cb45.webp?v=1762224870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a9c0e0b2d7de7fe7737ccdbcdea4a2ee424a96.webp?v=1762224871"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864","options":["color"],"media":[{"alt":null,"id":26297244942435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864","width":2000},{"alt":null,"id":26297245204579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13520654a140a5c678313dc92d19e60389546b7c.webp?v=1762224864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13520654a140a5c678313dc92d19e60389546b7c.webp?v=1762224864","width":2000},{"alt":null,"id":26297245532259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2967b5dd4e0000cd8293fab0c6a246966e9dc99b.webp?v=1762224865"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2967b5dd4e0000cd8293fab0c6a246966e9dc99b.webp?v=1762224865","width":2000},{"alt":null,"id":26297245761635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f607e14e67a43f0faab695ee70714b399ece0a.webp?v=1762224866"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f607e14e67a43f0faab695ee70714b399ece0a.webp?v=1762224866","width":2000},{"alt":null,"id":26297246023779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9fa5513dfb1a8aa4abbb5e112db6d96ff2f664d.webp?v=1762224867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9fa5513dfb1a8aa4abbb5e112db6d96ff2f664d.webp?v=1762224867","width":2000},{"alt":null,"id":26297246220387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65dfda554f887d136c49c31b7885a7673e5ca66e.webp?v=1762224867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65dfda554f887d136c49c31b7885a7673e5ca66e.webp?v=1762224867","width":2000},{"alt":null,"id":26297246416995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6383a08fee40bc755bc8d79e595aa7cde5eef414.webp?v=1762224868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6383a08fee40bc755bc8d79e595aa7cde5eef414.webp?v=1762224868","width":2000},{"alt":null,"id":26297246679139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fede99e13e71d52eae662b3b0dd0ded18c3a9637.webp?v=1762224869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fede99e13e71d52eae662b3b0dd0ded18c3a9637.webp?v=1762224869","width":2000},{"alt":null,"id":26297246941283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/111cb1d663ef7ada3335857818bf5a229f70cb45.webp?v=1762224870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/111cb1d663ef7ada3335857818bf5a229f70cb45.webp?v=1762224870","width":2000},{"alt":null,"id":26297247268963,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a9c0e0b2d7de7fe7737ccdbcdea4a2ee424a96.webp?v=1762224871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a9c0e0b2d7de7fe7737ccdbcdea4a2ee424a96.webp?v=1762224871","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43812264575075,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729377398883,"product_id":7911305478243,"position":1,"created_at":"2025-11-04T10:54:22+08:00","updated_at":"2025-11-04T10:54:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864","variant_ids":[43812264575075]},"available":true,"name":"iPhone 15 Plus SolidX PosterLad 郊區 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-POS08","featured_media":{"alt":null,"id":26297244942435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812267819107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729378185315,"product_id":7911305478243,"position":4,"created_at":"2025-11-04T10:54:24+08:00","updated_at":"2025-11-04T10:54:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f607e14e67a43f0faab695ee70714b399ece0a.webp?v=1762224866","variant_ids":[43812267819107]},"available":true,"name":"iPhone 15 Plus SolidX PosterLad 郊區 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-POS08","featured_media":{"alt":null,"id":26297245761635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f607e14e67a43f0faab695ee70714b399ece0a.webp?v=1762224866"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43812264575075,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729377398883,"product_id":7911305478243,"position":1,"created_at":"2025-11-04T10:54:22+08:00","updated_at":"2025-11-04T10:54:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864","variant_ids":[43812264575075]},"available":true,"name":"iPhone 15 Plus SolidX PosterLad 郊區 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-POS08","featured_media":{"alt":null,"id":26297244942435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e11507724042c1348e7b15a02a0ef5fb469e3b2.webp?v=1762224864"}},"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: "停產" }