$product = {"id":7728422191203,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE","handle":"iphone-13-mini-solidsuit-classic-magsafe-iku01","description":null,"published_at":"2025-02-05T17:12:54+08:00","created_at":"2025-02-05T11:34:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-小高潮色計事務所 ikuiku studio","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ikuiku-studio","device-iPhone 13 Mini","merge","reseller-ikuiku-studio"],"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":43155661455459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515488440419,"product_id":7728422191203,"position":5,"created_at":"2025-09-22T16:37:06+08:00","updated_at":"2025-09-22T16:37:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61c1964563952181578e98dead8f99dfbd728b74.webp?v=1758530228","variant_ids":[43155661455459]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-IKU01","featured_media":{"alt":null,"id":26085926076515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61c1964563952181578e98dead8f99dfbd728b74.webp?v=1758530228"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155661520995,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0122853-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":33337349636195,"product_id":7728422191203,"position":1,"created_at":"2025-02-05T11:34:36+08:00","updated_at":"2025-02-05T11:34:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0e95b684ff99f1072a9f7a5bc3c1aa7cef04308.webp?v=1738726478","variant_ids":[43155661520995]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122853-IKU01","featured_media":{"alt":null,"id":25254945554531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0e95b684ff99f1072a9f7a5bc3c1aa7cef04308.webp?v=1738726478"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155661586531,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515489292387,"product_id":7728422191203,"position":9,"created_at":"2025-09-22T16:37:08+08:00","updated_at":"2025-09-22T16:37:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59db8f4d11e76bcbeb615071fcf8cd1c4893692b.webp?v=1758530230","variant_ids":[43155661586531]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-IKU01","featured_media":{"alt":null,"id":26085927157859,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59db8f4d11e76bcbeb615071fcf8cd1c4893692b.webp?v=1758530230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0e95b684ff99f1072a9f7a5bc3c1aa7cef04308.webp?v=1738726478","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5800bcd0e4d3655c8326efa8ea4ae77932385ac.webp?v=1758530226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6881362e34dd1862966ddecbbce559540fa3c632.webp?v=1758530227","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6f7c77f11fb46c94cad7e8d4efda44fea31498.webp?v=1758530228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61c1964563952181578e98dead8f99dfbd728b74.webp?v=1758530228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6152715537632d82e82aa19e516312846b6a5ac2.webp?v=1758530228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b4a907b024a3645b08446e91a4d2bdf5e65c0f9.webp?v=1758530229","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b2d12774c36e06d6387555a08dd3eed69224363.webp?v=1758530230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59db8f4d11e76bcbeb615071fcf8cd1c4893692b.webp?v=1758530230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3e7fbdd2475b4da87e6ed8aea6d98e9e89ffbde.webp?v=1758530231","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d531be2a5d79484f2e64d773257ba3583e43f7fd.webp?v=1758530231"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0e95b684ff99f1072a9f7a5bc3c1aa7cef04308.webp?v=1738726478","options":["color"],"media":[{"alt":null,"id":25254945554531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0e95b684ff99f1072a9f7a5bc3c1aa7cef04308.webp?v=1738726478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0e95b684ff99f1072a9f7a5bc3c1aa7cef04308.webp?v=1738726478","width":2000},{"alt":null,"id":26085925355619,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5800bcd0e4d3655c8326efa8ea4ae77932385ac.webp?v=1758530226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5800bcd0e4d3655c8326efa8ea4ae77932385ac.webp?v=1758530226","width":2000},{"alt":null,"id":26085925650531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6881362e34dd1862966ddecbbce559540fa3c632.webp?v=1758530227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6881362e34dd1862966ddecbbce559540fa3c632.webp?v=1758530227","width":2000},{"alt":null,"id":26085925879907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6f7c77f11fb46c94cad7e8d4efda44fea31498.webp?v=1758530228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6f7c77f11fb46c94cad7e8d4efda44fea31498.webp?v=1758530228","width":2000},{"alt":null,"id":26085926076515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61c1964563952181578e98dead8f99dfbd728b74.webp?v=1758530228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61c1964563952181578e98dead8f99dfbd728b74.webp?v=1758530228","width":2000},{"alt":null,"id":26085926240355,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6152715537632d82e82aa19e516312846b6a5ac2.webp?v=1758530228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6152715537632d82e82aa19e516312846b6a5ac2.webp?v=1758530228","width":2000},{"alt":null,"id":26085926600803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b4a907b024a3645b08446e91a4d2bdf5e65c0f9.webp?v=1758530229"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b4a907b024a3645b08446e91a4d2bdf5e65c0f9.webp?v=1758530229","width":2000},{"alt":null,"id":26085926862947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b2d12774c36e06d6387555a08dd3eed69224363.webp?v=1758530230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b2d12774c36e06d6387555a08dd3eed69224363.webp?v=1758530230","width":2000},{"alt":null,"id":26085927157859,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59db8f4d11e76bcbeb615071fcf8cd1c4893692b.webp?v=1758530230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59db8f4d11e76bcbeb615071fcf8cd1c4893692b.webp?v=1758530230","width":2000},{"alt":null,"id":26085927256163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3e7fbdd2475b4da87e6ed8aea6d98e9e89ffbde.webp?v=1758530231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3e7fbdd2475b4da87e6ed8aea6d98e9e89ffbde.webp?v=1758530231","width":2000},{"alt":null,"id":26085927420003,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d531be2a5d79484f2e64d773257ba3583e43f7fd.webp?v=1758530231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d531be2a5d79484f2e64d773257ba3583e43f7fd.webp?v=1758530231","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43155661455459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515488440419,"product_id":7728422191203,"position":5,"created_at":"2025-09-22T16:37:06+08:00","updated_at":"2025-09-22T16:37:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61c1964563952181578e98dead8f99dfbd728b74.webp?v=1758530228","variant_ids":[43155661455459]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-IKU01","featured_media":{"alt":null,"id":26085926076515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61c1964563952181578e98dead8f99dfbd728b74.webp?v=1758530228"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155661520995,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0122853-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":33337349636195,"product_id":7728422191203,"position":1,"created_at":"2025-02-05T11:34:36+08:00","updated_at":"2025-02-05T11:34:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0e95b684ff99f1072a9f7a5bc3c1aa7cef04308.webp?v=1738726478","variant_ids":[43155661520995]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122853-IKU01","featured_media":{"alt":null,"id":25254945554531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0e95b684ff99f1072a9f7a5bc3c1aa7cef04308.webp?v=1738726478"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155661586531,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515489292387,"product_id":7728422191203,"position":9,"created_at":"2025-09-22T16:37:08+08:00","updated_at":"2025-09-22T16:37:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59db8f4d11e76bcbeb615071fcf8cd1c4893692b.webp?v=1758530230","variant_ids":[43155661586531]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-IKU01","featured_media":{"alt":null,"id":26085927157859,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59db8f4d11e76bcbeb615071fcf8cd1c4893692b.webp?v=1758530230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43155661455459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515488440419,"product_id":7728422191203,"position":5,"created_at":"2025-09-22T16:37:06+08:00","updated_at":"2025-09-22T16:37:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61c1964563952181578e98dead8f99dfbd728b74.webp?v=1758530228","variant_ids":[43155661455459]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-IKU01","featured_media":{"alt":null,"id":26085926076515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61c1964563952181578e98dead8f99dfbd728b74.webp?v=1758530228"}},"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: "停產" }