$product = {"id":7920501882979,"title":"iPhone 15 Pro Max Clear 咒術迴戰 澀谷事變戰鬥系列-五條悟","handle":"iphone-15-pro-max-jellytint-ptt12","description":null,"published_at":"2025-11-10T16:38:46+08:00","created_at":"2025-11-10T14:58:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jujutsu-kaisen","device-iPhone 15 Pro Max","merge","reseller-jujutsu-kaisen"],"price":128000,"price_min":128000,"price_max":128000,"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":43828793278563,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-PTT12","requires_shipping":true,"taxable":true,"featured_image":{"id":36125181870179,"product_id":7920501882979,"position":13,"created_at":"2026-06-29T15:44:26+08:00","updated_at":"2026-06-29T15:44:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_0998ed92-39de-4a94-9427-fffef779b638.webp?v=1782719069","variant_ids":[43828793278563]},"available":true,"name":"iPhone 15 Pro Max Clear 咒術迴戰 澀谷事變戰鬥系列-五條悟 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-PTT12","featured_media":{"alt":null,"id":27630424653923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_0998ed92-39de-4a94-9427-fffef779b638.webp?v=1782719069"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828795244643,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-PTT12","requires_shipping":true,"taxable":true,"featured_image":{"id":36125181345891,"product_id":7920501882979,"position":11,"created_at":"2026-06-29T15:44:25+08:00","updated_at":"2026-06-29T15:44:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_834804e1-23f2-451e-a88b-c7a9366a8a45.webp?v=1782719067","variant_ids":[43828795244643]},"available":true,"name":"iPhone 15 Pro Max Clear 咒術迴戰 澀谷事變戰鬥系列-五條悟 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-PTT12","featured_media":{"alt":null,"id":27630424129635,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_834804e1-23f2-451e-a88b-c7a9366a8a45.webp?v=1782719067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828795277411,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-PTT12","requires_shipping":true,"taxable":true,"featured_image":{"id":36125181673571,"product_id":7920501882979,"position":12,"created_at":"2026-06-29T15:44:26+08:00","updated_at":"2026-06-29T15:44:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_5297307b-36e3-4062-95f1-67aebd689d57.webp?v=1782719068","variant_ids":[43828795277411]},"available":true,"name":"iPhone 15 Pro Max Clear 咒術迴戰 澀谷事變戰鬥系列-五條悟 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-PTT12","featured_media":{"alt":null,"id":27630424457315,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_5297307b-36e3-4062-95f1-67aebd689d57.webp?v=1782719068"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b.webp?v=1762757890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e392d2dc10e289178749db87d8d4d5ad8cc752.webp?v=1762757890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635.webp?v=1762757891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7.webp?v=1762757892","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_2ac53d32-888a-497c-af77-98d68ec531e8.webp?v=1782266240","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_fcbd7862-adaa-497a-9f42-1588b2a90122.webp?v=1782266241","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_d1d13122-0241-475b-ba81-20c271b3df18.webp?v=1782266241","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_d50b780f-1f1f-4b72-8c21-753fe0db7e71.webp?v=1782291784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_f608d07d-e428-4242-9539-98ad406721b0.webp?v=1782291784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_9336af04-8abc-4a68-90aa-78e32792af23.webp?v=1782291785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_834804e1-23f2-451e-a88b-c7a9366a8a45.webp?v=1782719067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_5297307b-36e3-4062-95f1-67aebd689d57.webp?v=1782719068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_0998ed92-39de-4a94-9427-fffef779b638.webp?v=1782719069"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b.webp?v=1762757890","options":["color"],"media":[{"alt":null,"id":26347708711011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b.webp?v=1762757890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b.webp?v=1762757890","width":2000},{"alt":null,"id":26347708874851,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e392d2dc10e289178749db87d8d4d5ad8cc752.webp?v=1762757890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e392d2dc10e289178749db87d8d4d5ad8cc752.webp?v=1762757890","width":2000},{"alt":null,"id":26347708973155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635.webp?v=1762757891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635.webp?v=1762757891","width":2000},{"alt":null,"id":26347709071459,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7.webp?v=1762757892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7.webp?v=1762757892","width":2000},{"alt":null,"id":27587452436579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_2ac53d32-888a-497c-af77-98d68ec531e8.webp?v=1782266240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_2ac53d32-888a-497c-af77-98d68ec531e8.webp?v=1782266240","width":2000},{"alt":null,"id":27587452895331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_fcbd7862-adaa-497a-9f42-1588b2a90122.webp?v=1782266241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_fcbd7862-adaa-497a-9f42-1588b2a90122.webp?v=1782266241","width":2000},{"alt":null,"id":27587453091939,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_d1d13122-0241-475b-ba81-20c271b3df18.webp?v=1782266241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_d1d13122-0241-475b-ba81-20c271b3df18.webp?v=1782266241","width":2000},{"alt":null,"id":27594729488483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_d50b780f-1f1f-4b72-8c21-753fe0db7e71.webp?v=1782291784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_d50b780f-1f1f-4b72-8c21-753fe0db7e71.webp?v=1782291784","width":2000},{"alt":null,"id":27594729914467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_f608d07d-e428-4242-9539-98ad406721b0.webp?v=1782291784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_f608d07d-e428-4242-9539-98ad406721b0.webp?v=1782291784","width":2000},{"alt":null,"id":27594730274915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_9336af04-8abc-4a68-90aa-78e32792af23.webp?v=1782291785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_9336af04-8abc-4a68-90aa-78e32792af23.webp?v=1782291785","width":2000},{"alt":null,"id":27630424129635,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_834804e1-23f2-451e-a88b-c7a9366a8a45.webp?v=1782719067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_834804e1-23f2-451e-a88b-c7a9366a8a45.webp?v=1782719067","width":2000},{"alt":null,"id":27630424457315,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_5297307b-36e3-4062-95f1-67aebd689d57.webp?v=1782719068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_5297307b-36e3-4062-95f1-67aebd689d57.webp?v=1782719068","width":2000},{"alt":null,"id":27630424653923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_0998ed92-39de-4a94-9427-fffef779b638.webp?v=1782719069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_0998ed92-39de-4a94-9427-fffef779b638.webp?v=1782719069","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828793278563,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-PTT12","requires_shipping":true,"taxable":true,"featured_image":{"id":36125181870179,"product_id":7920501882979,"position":13,"created_at":"2026-06-29T15:44:26+08:00","updated_at":"2026-06-29T15:44:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_0998ed92-39de-4a94-9427-fffef779b638.webp?v=1782719069","variant_ids":[43828793278563]},"available":true,"name":"iPhone 15 Pro Max Clear 咒術迴戰 澀谷事變戰鬥系列-五條悟 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-PTT12","featured_media":{"alt":null,"id":27630424653923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_0998ed92-39de-4a94-9427-fffef779b638.webp?v=1782719069"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828795244643,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-PTT12","requires_shipping":true,"taxable":true,"featured_image":{"id":36125181345891,"product_id":7920501882979,"position":11,"created_at":"2026-06-29T15:44:25+08:00","updated_at":"2026-06-29T15:44:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_834804e1-23f2-451e-a88b-c7a9366a8a45.webp?v=1782719067","variant_ids":[43828795244643]},"available":true,"name":"iPhone 15 Pro Max Clear 咒術迴戰 澀谷事變戰鬥系列-五條悟 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-PTT12","featured_media":{"alt":null,"id":27630424129635,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1fad779e6025bf4f619b6b2a342f2a9d53ae635_834804e1-23f2-451e-a88b-c7a9366a8a45.webp?v=1782719067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828795277411,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-PTT12","requires_shipping":true,"taxable":true,"featured_image":{"id":36125181673571,"product_id":7920501882979,"position":12,"created_at":"2026-06-29T15:44:26+08:00","updated_at":"2026-06-29T15:44:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_5297307b-36e3-4062-95f1-67aebd689d57.webp?v=1782719068","variant_ids":[43828795277411]},"available":true,"name":"iPhone 15 Pro Max Clear 咒術迴戰 澀谷事變戰鬥系列-五條悟 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-PTT12","featured_media":{"alt":null,"id":27630424457315,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231158444ff1decc90227573e30fcdb64184149b_5297307b-36e3-4062-95f1-67aebd689d57.webp?v=1782719068"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828793278563,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-PTT12","requires_shipping":true,"taxable":true,"featured_image":{"id":36125181870179,"product_id":7920501882979,"position":13,"created_at":"2026-06-29T15:44:26+08:00","updated_at":"2026-06-29T15:44:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_0998ed92-39de-4a94-9427-fffef779b638.webp?v=1782719069","variant_ids":[43828793278563]},"available":true,"name":"iPhone 15 Pro Max Clear 咒術迴戰 澀谷事變戰鬥系列-五條悟 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-PTT12","featured_media":{"alt":null,"id":27630424653923,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d500c9edee28361711fd2d4920b2107f4869ea7_0998ed92-39de-4a94-9427-fffef779b638.webp?v=1782719069"}},"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: "停產" }