$product = {"id":7599255453795,"title":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合","handle":"iphone-13-mini-solidsuit-classic-om130","description":null,"published_at":"2024-08-09T09:23:59+08:00","created_at":"2024-08-08T14:55:56+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區航海王 One Piece","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-one-piece","device-iPhone 13 Mini","merge","reseller-one-piece"],"price":83000,"price_min":83000,"price_max":83000,"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":42637344014435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-OM130","requires_shipping":true,"taxable":true,"featured_image":{"id":34322614386787,"product_id":7599255453795,"position":11,"created_at":"2025-08-13T14:29:39+08:00","updated_at":"2025-08-13T14:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c099b97a5c886227447d7ff759b611af6f434871.webp?v=1755066581","variant_ids":[42637344014435]},"available":true,"name":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-OM130","featured_media":{"alt":null,"id":25908013072483,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c099b97a5c886227447d7ff759b611af6f434871.webp?v=1755066581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637344145507,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-OM130","requires_shipping":true,"taxable":true,"featured_image":{"id":34322614059107,"product_id":7599255453795,"position":10,"created_at":"2025-08-13T14:29:38+08:00","updated_at":"2025-08-13T14:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d579eb3214e9aafdbea42ff932f68940cbcc1b.webp?v=1755066581","variant_ids":[42637344145507]},"available":true,"name":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-OM130","featured_media":{"alt":null,"id":25908012908643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d579eb3214e9aafdbea42ff932f68940cbcc1b.webp?v=1755066581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637344309347,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-OM130","requires_shipping":true,"taxable":true,"featured_image":{"id":34322611732579,"product_id":7599255453795,"position":3,"created_at":"2025-08-13T14:29:35+08:00","updated_at":"2025-08-13T14:29:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd7586b23cb63246e4e21f55a7b1c0e6a4aec08.webp?v=1755066577","variant_ids":[42637344309347]},"available":true,"name":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-OM130","featured_media":{"alt":null,"id":25908011761763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd7586b23cb63246e4e21f55a7b1c0e6a4aec08.webp?v=1755066577"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637344342115,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-OM130","requires_shipping":true,"taxable":true,"featured_image":{"id":34322612944995,"product_id":7599255453795,"position":7,"created_at":"2025-08-13T14:29:37+08:00","updated_at":"2025-08-13T14:29:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d020318a94c94adeda19f12f4e72fd5f4bfc6723.webp?v=1755066579","variant_ids":[42637344342115]},"available":true,"name":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-OM130","featured_media":{"alt":null,"id":25908012351587,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d020318a94c94adeda19f12f4e72fd5f4bfc6723.webp?v=1755066579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee43207d116244415853f316f7e2fccfaa31712.webp?v=1723100162","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ede09abc1ec63bf9de6616fd1960fb027f7a25d0.webp?v=1755066576","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd7586b23cb63246e4e21f55a7b1c0e6a4aec08.webp?v=1755066577","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1a0ae80f67ba950f907e850fc62d9fb7cb073e8.webp?v=1755066577","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e57bff59e733143a716b686d847743069cd5740.webp?v=1755066578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9345612e3a32481c99f7e21ef4e7cf489d4ff21c.webp?v=1755066578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d020318a94c94adeda19f12f4e72fd5f4bfc6723.webp?v=1755066579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abfa1906aa98b7351ccf7805d523d26cfd4b69cd.webp?v=1755066580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5a04a019c926d9f23d0570ca141d69fed6ddd5.webp?v=1755066580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d579eb3214e9aafdbea42ff932f68940cbcc1b.webp?v=1755066581","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c099b97a5c886227447d7ff759b611af6f434871.webp?v=1755066581"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee43207d116244415853f316f7e2fccfaa31712.webp?v=1723100162","options":["color"],"media":[{"alt":null,"id":24508171812963,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee43207d116244415853f316f7e2fccfaa31712.webp?v=1723100162"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee43207d116244415853f316f7e2fccfaa31712.webp?v=1723100162","width":2000},{"alt":null,"id":25908011663459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ede09abc1ec63bf9de6616fd1960fb027f7a25d0.webp?v=1755066576"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ede09abc1ec63bf9de6616fd1960fb027f7a25d0.webp?v=1755066576","width":2000},{"alt":null,"id":25908011761763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd7586b23cb63246e4e21f55a7b1c0e6a4aec08.webp?v=1755066577"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd7586b23cb63246e4e21f55a7b1c0e6a4aec08.webp?v=1755066577","width":2000},{"alt":null,"id":25908011958371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1a0ae80f67ba950f907e850fc62d9fb7cb073e8.webp?v=1755066577"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1a0ae80f67ba950f907e850fc62d9fb7cb073e8.webp?v=1755066577","width":2000},{"alt":null,"id":25908012154979,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e57bff59e733143a716b686d847743069cd5740.webp?v=1755066578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e57bff59e733143a716b686d847743069cd5740.webp?v=1755066578","width":2000},{"alt":null,"id":25908012286051,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9345612e3a32481c99f7e21ef4e7cf489d4ff21c.webp?v=1755066578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9345612e3a32481c99f7e21ef4e7cf489d4ff21c.webp?v=1755066578","width":2000},{"alt":null,"id":25908012351587,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d020318a94c94adeda19f12f4e72fd5f4bfc6723.webp?v=1755066579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d020318a94c94adeda19f12f4e72fd5f4bfc6723.webp?v=1755066579","width":2000},{"alt":null,"id":25908012417123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abfa1906aa98b7351ccf7805d523d26cfd4b69cd.webp?v=1755066580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abfa1906aa98b7351ccf7805d523d26cfd4b69cd.webp?v=1755066580","width":2000},{"alt":null,"id":25908012646499,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5a04a019c926d9f23d0570ca141d69fed6ddd5.webp?v=1755066580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5a04a019c926d9f23d0570ca141d69fed6ddd5.webp?v=1755066580","width":2000},{"alt":null,"id":25908012908643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d579eb3214e9aafdbea42ff932f68940cbcc1b.webp?v=1755066581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d579eb3214e9aafdbea42ff932f68940cbcc1b.webp?v=1755066581","width":2000},{"alt":null,"id":25908013072483,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c099b97a5c886227447d7ff759b611af6f434871.webp?v=1755066581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c099b97a5c886227447d7ff759b611af6f434871.webp?v=1755066581","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":42637344014435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-OM130","requires_shipping":true,"taxable":true,"featured_image":{"id":34322614386787,"product_id":7599255453795,"position":11,"created_at":"2025-08-13T14:29:39+08:00","updated_at":"2025-08-13T14:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c099b97a5c886227447d7ff759b611af6f434871.webp?v=1755066581","variant_ids":[42637344014435]},"available":true,"name":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-OM130","featured_media":{"alt":null,"id":25908013072483,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c099b97a5c886227447d7ff759b611af6f434871.webp?v=1755066581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637344145507,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-OM130","requires_shipping":true,"taxable":true,"featured_image":{"id":34322614059107,"product_id":7599255453795,"position":10,"created_at":"2025-08-13T14:29:38+08:00","updated_at":"2025-08-13T14:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d579eb3214e9aafdbea42ff932f68940cbcc1b.webp?v=1755066581","variant_ids":[42637344145507]},"available":true,"name":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-OM130","featured_media":{"alt":null,"id":25908012908643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d579eb3214e9aafdbea42ff932f68940cbcc1b.webp?v=1755066581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637344309347,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-OM130","requires_shipping":true,"taxable":true,"featured_image":{"id":34322611732579,"product_id":7599255453795,"position":3,"created_at":"2025-08-13T14:29:35+08:00","updated_at":"2025-08-13T14:29:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd7586b23cb63246e4e21f55a7b1c0e6a4aec08.webp?v=1755066577","variant_ids":[42637344309347]},"available":true,"name":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-OM130","featured_media":{"alt":null,"id":25908011761763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fd7586b23cb63246e4e21f55a7b1c0e6a4aec08.webp?v=1755066577"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637344342115,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-OM130","requires_shipping":true,"taxable":true,"featured_image":{"id":34322612944995,"product_id":7599255453795,"position":7,"created_at":"2025-08-13T14:29:37+08:00","updated_at":"2025-08-13T14:29:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d020318a94c94adeda19f12f4e72fd5f4bfc6723.webp?v=1755066579","variant_ids":[42637344342115]},"available":true,"name":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-OM130","featured_media":{"alt":null,"id":25908012351587,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d020318a94c94adeda19f12f4e72fd5f4bfc6723.webp?v=1755066579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42637344014435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-OM130","requires_shipping":true,"taxable":true,"featured_image":{"id":34322614386787,"product_id":7599255453795,"position":11,"created_at":"2025-08-13T14:29:39+08:00","updated_at":"2025-08-13T14:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c099b97a5c886227447d7ff759b611af6f434871.webp?v=1755066581","variant_ids":[42637344014435]},"available":true,"name":"iPhone 13 mini SolidSuit One Piece 未來島蛋頭篇 - 大集合 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-OM130","featured_media":{"alt":null,"id":25908013072483,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c099b97a5c886227447d7ff759b611af6f434871.webp?v=1755066581"}},"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: "停產" }