$product = {"id":7942269599843,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile","handle":"iphone-13-mini-solidsuit-classic-magsafe-seu05","description":null,"published_at":"2025-12-23T09:33:04+08:00","created_at":"2025-12-22T17:44:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-seungyounkim","device-iPhone 13 Mini","merge","reseller-seungyounkim"],"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":43904446955619,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012280E-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987621941347,"product_id":7942269599843,"position":1,"created_at":"2025-12-22T17:45:03+08:00","updated_at":"2025-12-22T17:45:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705","variant_ids":[43904446955619]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012280E-SEU05","featured_media":{"alt":null,"id":26548638842979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904447086691,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012280B-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987623120995,"product_id":7942269599843,"position":8,"created_at":"2025-12-22T17:45:07+08:00","updated_at":"2025-12-22T17:45:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238b0e687bc34a688f6ebd7dec992fc3037c39a9.webp?v=1766396709","variant_ids":[43904447086691]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - 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":"MST012280B-SEU05","featured_media":{"alt":null,"id":26548639957091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238b0e687bc34a688f6ebd7dec992fc3037c39a9.webp?v=1766396709"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904447414371,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987622760547,"product_id":7942269599843,"position":6,"created_at":"2025-12-22T17:45:06+08:00","updated_at":"2025-12-22T17:45:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c61e5fcfcdcfee0c718e2132c943e36af49eeb0.webp?v=1766396708","variant_ids":[43904447414371]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-SEU05","featured_media":{"alt":null,"id":26548639662179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c61e5fcfcdcfee0c718e2132c943e36af49eeb0.webp?v=1766396708"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904447610979,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987622039651,"product_id":7942269599843,"position":2,"created_at":"2025-12-22T17:45:04+08:00","updated_at":"2025-12-22T17:45:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57160f536748543c88270da46e425b9a2e0a794c.webp?v=1766396706","variant_ids":[43904447610979]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - 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-SEU05","featured_media":{"alt":null,"id":26548638908515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57160f536748543c88270da46e425b9a2e0a794c.webp?v=1766396706"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904448004195,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987622531171,"product_id":7942269599843,"position":5,"created_at":"2025-12-22T17:45:06+08:00","updated_at":"2025-12-22T17:45:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010c0c62dd45a5da23140f98f7e4bb3a9fc2ed2f.webp?v=1766396708","variant_ids":[43904448004195]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - 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-SEU05","featured_media":{"alt":null,"id":26548639432803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010c0c62dd45a5da23140f98f7e4bb3a9fc2ed2f.webp?v=1766396708"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57160f536748543c88270da46e425b9a2e0a794c.webp?v=1766396706","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da997f3895eaf3735125a20773c067a74b495c3.webp?v=1766396706","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b0a43eaa7116bb94fd70051fe05e006dd0e09a2.webp?v=1766396707","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010c0c62dd45a5da23140f98f7e4bb3a9fc2ed2f.webp?v=1766396708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c61e5fcfcdcfee0c718e2132c943e36af49eeb0.webp?v=1766396708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45b7a6e7c95969947200f9433b8824d4cdee0708.webp?v=1766396709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238b0e687bc34a688f6ebd7dec992fc3037c39a9.webp?v=1766396709"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705","options":["color"],"media":[{"alt":null,"id":26548638842979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705","width":2000},{"alt":null,"id":26548638908515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57160f536748543c88270da46e425b9a2e0a794c.webp?v=1766396706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57160f536748543c88270da46e425b9a2e0a794c.webp?v=1766396706","width":2000},{"alt":null,"id":26548639039587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da997f3895eaf3735125a20773c067a74b495c3.webp?v=1766396706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da997f3895eaf3735125a20773c067a74b495c3.webp?v=1766396706","width":2000},{"alt":null,"id":26548639170659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b0a43eaa7116bb94fd70051fe05e006dd0e09a2.webp?v=1766396707"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b0a43eaa7116bb94fd70051fe05e006dd0e09a2.webp?v=1766396707","width":2000},{"alt":null,"id":26548639432803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010c0c62dd45a5da23140f98f7e4bb3a9fc2ed2f.webp?v=1766396708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010c0c62dd45a5da23140f98f7e4bb3a9fc2ed2f.webp?v=1766396708","width":2000},{"alt":null,"id":26548639662179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c61e5fcfcdcfee0c718e2132c943e36af49eeb0.webp?v=1766396708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c61e5fcfcdcfee0c718e2132c943e36af49eeb0.webp?v=1766396708","width":2000},{"alt":null,"id":26548639826019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45b7a6e7c95969947200f9433b8824d4cdee0708.webp?v=1766396709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45b7a6e7c95969947200f9433b8824d4cdee0708.webp?v=1766396709","width":2000},{"alt":null,"id":26548639957091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238b0e687bc34a688f6ebd7dec992fc3037c39a9.webp?v=1766396709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238b0e687bc34a688f6ebd7dec992fc3037c39a9.webp?v=1766396709","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43904446955619,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012280E-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987621941347,"product_id":7942269599843,"position":1,"created_at":"2025-12-22T17:45:03+08:00","updated_at":"2025-12-22T17:45:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705","variant_ids":[43904446955619]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012280E-SEU05","featured_media":{"alt":null,"id":26548638842979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904447086691,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012280B-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987623120995,"product_id":7942269599843,"position":8,"created_at":"2025-12-22T17:45:07+08:00","updated_at":"2025-12-22T17:45:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238b0e687bc34a688f6ebd7dec992fc3037c39a9.webp?v=1766396709","variant_ids":[43904447086691]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - 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":"MST012280B-SEU05","featured_media":{"alt":null,"id":26548639957091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238b0e687bc34a688f6ebd7dec992fc3037c39a9.webp?v=1766396709"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904447414371,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987622760547,"product_id":7942269599843,"position":6,"created_at":"2025-12-22T17:45:06+08:00","updated_at":"2025-12-22T17:45:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c61e5fcfcdcfee0c718e2132c943e36af49eeb0.webp?v=1766396708","variant_ids":[43904447414371]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-SEU05","featured_media":{"alt":null,"id":26548639662179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c61e5fcfcdcfee0c718e2132c943e36af49eeb0.webp?v=1766396708"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904447610979,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987622039651,"product_id":7942269599843,"position":2,"created_at":"2025-12-22T17:45:04+08:00","updated_at":"2025-12-22T17:45:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57160f536748543c88270da46e425b9a2e0a794c.webp?v=1766396706","variant_ids":[43904447610979]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - 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-SEU05","featured_media":{"alt":null,"id":26548638908515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57160f536748543c88270da46e425b9a2e0a794c.webp?v=1766396706"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904448004195,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987622531171,"product_id":7942269599843,"position":5,"created_at":"2025-12-22T17:45:06+08:00","updated_at":"2025-12-22T17:45:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010c0c62dd45a5da23140f98f7e4bb3a9fc2ed2f.webp?v=1766396708","variant_ids":[43904448004195]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - 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-SEU05","featured_media":{"alt":null,"id":26548639432803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010c0c62dd45a5da23140f98f7e4bb3a9fc2ed2f.webp?v=1766396708"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43904446955619,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012280E-SEU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34987621941347,"product_id":7942269599843,"position":1,"created_at":"2025-12-22T17:45:03+08:00","updated_at":"2025-12-22T17:45:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705","variant_ids":[43904446955619]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Seungyoun Kim 紅綠狗狗朋友 Chamo \u0026 Mile - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012280E-SEU05","featured_media":{"alt":null,"id":26548638842979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3df00aee9c201250733bba8ce082017b8124a62d.webp?v=1766396705"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }