$product = {"id":7884255625315,"title":"iPhone 15 Plus SolidX 坂本日常 坂本商店 - 殺手最愛補給","handle":"iphone-15-plus-solidx-ifc18","description":null,"published_at":"2025-09-19T09:46:39+08:00","created_at":"2025-09-16T12:32:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-sakamoto-days","device-iPhone 15 Plus","merge","reseller-sakamoto-days"],"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":43697530830947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-IFC18","requires_shipping":true,"taxable":true,"featured_image":{"id":34475195891811,"product_id":7884255625315,"position":4,"created_at":"2025-09-16T12:32:25+08:00","updated_at":"2025-09-16T12:32:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871d944adef2e9fcf243047661cd08a11d10f5d6.webp?v=1757997147","variant_ids":[43697530830947]},"available":true,"name":"iPhone 15 Plus 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":"NST0129652-IFC18","featured_media":{"alt":null,"id":26046801477731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871d944adef2e9fcf243047661cd08a11d10f5d6.webp?v=1757997147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697530962019,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-IFC18","requires_shipping":true,"taxable":true,"featured_image":{"id":34475196317795,"product_id":7884255625315,"position":6,"created_at":"2025-09-16T12:32:26+08:00","updated_at":"2025-09-16T12:32:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e48c8f6f38b6fa57374054b7c24a38bfbf9779ae.webp?v=1757997148","variant_ids":[43697530962019]},"available":true,"name":"iPhone 15 Plus SolidX 坂本日常 坂本商店 - 殺手最愛補給 - 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-IFC18","featured_media":{"alt":null,"id":26046801903715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e48c8f6f38b6fa57374054b7c24a38bfbf9779ae.webp?v=1757997148"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697530994787,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-IFC18","requires_shipping":true,"taxable":true,"featured_image":{"id":34475196153955,"product_id":7884255625315,"position":5,"created_at":"2025-09-16T12:32:25+08:00","updated_at":"2025-09-16T12:32:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c8207762a573720c4759eeeb5b9f1fed0a3856.webp?v=1757997147","variant_ids":[43697530994787]},"available":true,"name":"iPhone 15 Plus SolidX 坂本日常 坂本商店 - 殺手最愛補給 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01296O8-IFC18","featured_media":{"alt":null,"id":26046801739875,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c8207762a573720c4759eeeb5b9f1fed0a3856.webp?v=1757997147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e71fa69983e0d93fa9782fc2b4a6b1c7ed80aff5.webp?v=1757997145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f562eed4d36ff90c4d0cb08e077f705d8a84c66.webp?v=1757997146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0488c6e520c57ea9163cb03c6c0b8ddf263baa40.webp?v=1757997146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871d944adef2e9fcf243047661cd08a11d10f5d6.webp?v=1757997147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c8207762a573720c4759eeeb5b9f1fed0a3856.webp?v=1757997147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e48c8f6f38b6fa57374054b7c24a38bfbf9779ae.webp?v=1757997148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53cb33f35d035962367b5ecbf096c43e9b401280.webp?v=1757997148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdca388aae8ea349c3dcb0cdb17bbe7875b16d1a.webp?v=1757997149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06e118283f993071e12a4e0977f637808cdc8741.webp?v=1757997150","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24df5d92a95b18fed56bb0e20781b310684ddb7c.webp?v=1757997150"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e71fa69983e0d93fa9782fc2b4a6b1c7ed80aff5.webp?v=1757997145","options":["color"],"media":[{"alt":null,"id":26046800756835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e71fa69983e0d93fa9782fc2b4a6b1c7ed80aff5.webp?v=1757997145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e71fa69983e0d93fa9782fc2b4a6b1c7ed80aff5.webp?v=1757997145","width":2000},{"alt":null,"id":26046800887907,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f562eed4d36ff90c4d0cb08e077f705d8a84c66.webp?v=1757997146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f562eed4d36ff90c4d0cb08e077f705d8a84c66.webp?v=1757997146","width":2000},{"alt":null,"id":26046801018979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0488c6e520c57ea9163cb03c6c0b8ddf263baa40.webp?v=1757997146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0488c6e520c57ea9163cb03c6c0b8ddf263baa40.webp?v=1757997146","width":2000},{"alt":null,"id":26046801477731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871d944adef2e9fcf243047661cd08a11d10f5d6.webp?v=1757997147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871d944adef2e9fcf243047661cd08a11d10f5d6.webp?v=1757997147","width":2000},{"alt":null,"id":26046801739875,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c8207762a573720c4759eeeb5b9f1fed0a3856.webp?v=1757997147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c8207762a573720c4759eeeb5b9f1fed0a3856.webp?v=1757997147","width":2000},{"alt":null,"id":26046801903715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e48c8f6f38b6fa57374054b7c24a38bfbf9779ae.webp?v=1757997148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e48c8f6f38b6fa57374054b7c24a38bfbf9779ae.webp?v=1757997148","width":2000},{"alt":null,"id":26046802067555,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53cb33f35d035962367b5ecbf096c43e9b401280.webp?v=1757997148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53cb33f35d035962367b5ecbf096c43e9b401280.webp?v=1757997148","width":2000},{"alt":null,"id":26046802329699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdca388aae8ea349c3dcb0cdb17bbe7875b16d1a.webp?v=1757997149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdca388aae8ea349c3dcb0cdb17bbe7875b16d1a.webp?v=1757997149","width":2000},{"alt":null,"id":26046802493539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06e118283f993071e12a4e0977f637808cdc8741.webp?v=1757997150"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06e118283f993071e12a4e0977f637808cdc8741.webp?v=1757997150","width":2000},{"alt":null,"id":26046802690147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24df5d92a95b18fed56bb0e20781b310684ddb7c.webp?v=1757997150"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24df5d92a95b18fed56bb0e20781b310684ddb7c.webp?v=1757997150","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43697530830947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-IFC18","requires_shipping":true,"taxable":true,"featured_image":{"id":34475195891811,"product_id":7884255625315,"position":4,"created_at":"2025-09-16T12:32:25+08:00","updated_at":"2025-09-16T12:32:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871d944adef2e9fcf243047661cd08a11d10f5d6.webp?v=1757997147","variant_ids":[43697530830947]},"available":true,"name":"iPhone 15 Plus 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":"NST0129652-IFC18","featured_media":{"alt":null,"id":26046801477731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871d944adef2e9fcf243047661cd08a11d10f5d6.webp?v=1757997147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697530962019,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-IFC18","requires_shipping":true,"taxable":true,"featured_image":{"id":34475196317795,"product_id":7884255625315,"position":6,"created_at":"2025-09-16T12:32:26+08:00","updated_at":"2025-09-16T12:32:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e48c8f6f38b6fa57374054b7c24a38bfbf9779ae.webp?v=1757997148","variant_ids":[43697530962019]},"available":true,"name":"iPhone 15 Plus SolidX 坂本日常 坂本商店 - 殺手最愛補給 - 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-IFC18","featured_media":{"alt":null,"id":26046801903715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e48c8f6f38b6fa57374054b7c24a38bfbf9779ae.webp?v=1757997148"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697530994787,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-IFC18","requires_shipping":true,"taxable":true,"featured_image":{"id":34475196153955,"product_id":7884255625315,"position":5,"created_at":"2025-09-16T12:32:25+08:00","updated_at":"2025-09-16T12:32:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c8207762a573720c4759eeeb5b9f1fed0a3856.webp?v=1757997147","variant_ids":[43697530994787]},"available":true,"name":"iPhone 15 Plus SolidX 坂本日常 坂本商店 - 殺手最愛補給 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01296O8-IFC18","featured_media":{"alt":null,"id":26046801739875,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c8207762a573720c4759eeeb5b9f1fed0a3856.webp?v=1757997147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43697530830947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-IFC18","requires_shipping":true,"taxable":true,"featured_image":{"id":34475195891811,"product_id":7884255625315,"position":4,"created_at":"2025-09-16T12:32:25+08:00","updated_at":"2025-09-16T12:32:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871d944adef2e9fcf243047661cd08a11d10f5d6.webp?v=1757997147","variant_ids":[43697530830947]},"available":true,"name":"iPhone 15 Plus 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":"NST0129652-IFC18","featured_media":{"alt":null,"id":26046801477731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871d944adef2e9fcf243047661cd08a11d10f5d6.webp?v=1757997147"}},"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: "停產" }