$product = {"id":7809148682339,"title":"iPhone 15 Plus Clear StarWars 星際大戰 星際大戰 – 達斯·維達","handle":"iphone-15-plus-jellytint-pb147","description":null,"published_at":"2025-06-06T19:14:14+08:00","created_at":"2025-06-03T15:37:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-迪士尼-星際大戰 Star Wars","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-star-wars","device-iPhone 15 Plus","merge","reseller-star-wars"],"price":118000,"price_min":118000,"price_max":118000,"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":43419879145571,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012960I-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082914693219,"product_id":7809148682339,"position":15,"created_at":"2026-01-09T10:16:02+08:00","updated_at":"2026-01-09T10:16:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_d3bbf4ad-48b8-44bf-907a-92b0f4366896.webp?v=1767924964","variant_ids":[43419879145571]},"available":true,"name":"iPhone 15 Plus Clear StarWars 星際大戰 星際大戰 – 達斯·維達 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960I-PB147","featured_media":{"alt":null,"id":26639853682787,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_d3bbf4ad-48b8-44bf-907a-92b0f4366896.webp?v=1767924964"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43419879211107,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082914463843,"product_id":7809148682339,"position":14,"created_at":"2026-01-09T10:16:01+08:00","updated_at":"2026-01-09T10:16:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_4896c50c-4b74-486c-8bc0-e78fad45f572.webp?v=1767924963","variant_ids":[43419879211107]},"available":true,"name":"iPhone 15 Plus Clear StarWars 星際大戰 星際大戰 – 達斯·維達 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960J-PB147","featured_media":{"alt":null,"id":26639853453411,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_4896c50c-4b74-486c-8bc0-e78fad45f572.webp?v=1767924963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b92f5eb9b8a9729951d3ea0f9d09c3c4f40bc97.webp?v=1748936241","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869.webp?v=1767858201","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b.webp?v=1767858202","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402.webp?v=1767858202","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_cbffc1d3-e952-4ec6-b3a3-5ffa035b07b9.webp?v=1767860484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_c0dfacdb-e3ec-41ff-9b1f-4f7592c4e80a.webp?v=1767860484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_f8323dfb-97d6-4456-abf1-773e2c2ba96d.webp?v=1767860485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_882c95c0-39df-4210-8195-0836280fa2ce.webp?v=1767861072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_3b4b0af6-6649-4bc3-850f-cba5f610a744.webp?v=1767861072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_4c6aee1a-8de4-4d36-8f82-80293ac8e32a.webp?v=1767861073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_b8d1e86a-833c-4f8d-934c-78ed4d88ef57.webp?v=1767861369","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_54135196-4fdd-4d13-b962-5c80d573be71.webp?v=1767861369","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_a676b78f-9075-4210-860e-d26856129294.webp?v=1767861370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_4896c50c-4b74-486c-8bc0-e78fad45f572.webp?v=1767924963","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_d3bbf4ad-48b8-44bf-907a-92b0f4366896.webp?v=1767924964","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_121d1150-b9f9-4966-aac5-e05d4a4af0f1.webp?v=1767924965"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b92f5eb9b8a9729951d3ea0f9d09c3c4f40bc97.webp?v=1748936241","options":["color"],"media":[{"alt":null,"id":25661761421411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b92f5eb9b8a9729951d3ea0f9d09c3c4f40bc97.webp?v=1748936241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b92f5eb9b8a9729951d3ea0f9d09c3c4f40bc97.webp?v=1748936241","width":2000},{"alt":null,"id":26636202999907,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869.webp?v=1767858201"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869.webp?v=1767858201","width":2000},{"alt":null,"id":26636203196515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b.webp?v=1767858202"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b.webp?v=1767858202","width":2000},{"alt":null,"id":26636203393123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402.webp?v=1767858202"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402.webp?v=1767858202","width":2000},{"alt":null,"id":26636270239843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_cbffc1d3-e952-4ec6-b3a3-5ffa035b07b9.webp?v=1767860484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_cbffc1d3-e952-4ec6-b3a3-5ffa035b07b9.webp?v=1767860484","width":2000},{"alt":null,"id":26636270436451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_c0dfacdb-e3ec-41ff-9b1f-4f7592c4e80a.webp?v=1767860484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_c0dfacdb-e3ec-41ff-9b1f-4f7592c4e80a.webp?v=1767860484","width":2000},{"alt":null,"id":26636270633059,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_f8323dfb-97d6-4456-abf1-773e2c2ba96d.webp?v=1767860485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_f8323dfb-97d6-4456-abf1-773e2c2ba96d.webp?v=1767860485","width":2000},{"alt":null,"id":26636313002083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_882c95c0-39df-4210-8195-0836280fa2ce.webp?v=1767861072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_882c95c0-39df-4210-8195-0836280fa2ce.webp?v=1767861072","width":2000},{"alt":null,"id":26636313165923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_3b4b0af6-6649-4bc3-850f-cba5f610a744.webp?v=1767861072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_3b4b0af6-6649-4bc3-850f-cba5f610a744.webp?v=1767861072","width":2000},{"alt":null,"id":26636313264227,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_4c6aee1a-8de4-4d36-8f82-80293ac8e32a.webp?v=1767861073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_4c6aee1a-8de4-4d36-8f82-80293ac8e32a.webp?v=1767861073","width":2000},{"alt":null,"id":26636352979043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_b8d1e86a-833c-4f8d-934c-78ed4d88ef57.webp?v=1767861369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_b8d1e86a-833c-4f8d-934c-78ed4d88ef57.webp?v=1767861369","width":2000},{"alt":null,"id":26636353175651,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_54135196-4fdd-4d13-b962-5c80d573be71.webp?v=1767861369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_54135196-4fdd-4d13-b962-5c80d573be71.webp?v=1767861369","width":2000},{"alt":null,"id":26636353339491,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_a676b78f-9075-4210-860e-d26856129294.webp?v=1767861370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_a676b78f-9075-4210-860e-d26856129294.webp?v=1767861370","width":2000},{"alt":null,"id":26639853453411,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_4896c50c-4b74-486c-8bc0-e78fad45f572.webp?v=1767924963"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_4896c50c-4b74-486c-8bc0-e78fad45f572.webp?v=1767924963","width":2000},{"alt":null,"id":26639853682787,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_d3bbf4ad-48b8-44bf-907a-92b0f4366896.webp?v=1767924964"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_d3bbf4ad-48b8-44bf-907a-92b0f4366896.webp?v=1767924964","width":2000},{"alt":null,"id":26639853977699,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_121d1150-b9f9-4966-aac5-e05d4a4af0f1.webp?v=1767924965"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/359c3939399aafa4e3ab232114b6a770a5be2402_121d1150-b9f9-4966-aac5-e05d4a4af0f1.webp?v=1767924965","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43419879145571,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012960I-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082914693219,"product_id":7809148682339,"position":15,"created_at":"2026-01-09T10:16:02+08:00","updated_at":"2026-01-09T10:16:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_d3bbf4ad-48b8-44bf-907a-92b0f4366896.webp?v=1767924964","variant_ids":[43419879145571]},"available":true,"name":"iPhone 15 Plus Clear StarWars 星際大戰 星際大戰 – 達斯·維達 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960I-PB147","featured_media":{"alt":null,"id":26639853682787,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_d3bbf4ad-48b8-44bf-907a-92b0f4366896.webp?v=1767924964"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43419879211107,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082914463843,"product_id":7809148682339,"position":14,"created_at":"2026-01-09T10:16:01+08:00","updated_at":"2026-01-09T10:16:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_4896c50c-4b74-486c-8bc0-e78fad45f572.webp?v=1767924963","variant_ids":[43419879211107]},"available":true,"name":"iPhone 15 Plus Clear StarWars 星際大戰 星際大戰 – 達斯·維達 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960J-PB147","featured_media":{"alt":null,"id":26639853453411,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4e508527d7c406381be99705059663e0ae90869_4896c50c-4b74-486c-8bc0-e78fad45f572.webp?v=1767924963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43419879145571,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012960I-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082914693219,"product_id":7809148682339,"position":15,"created_at":"2026-01-09T10:16:02+08:00","updated_at":"2026-01-09T10:16:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_d3bbf4ad-48b8-44bf-907a-92b0f4366896.webp?v=1767924964","variant_ids":[43419879145571]},"available":true,"name":"iPhone 15 Plus Clear StarWars 星際大戰 星際大戰 – 達斯·維達 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012960I-PB147","featured_media":{"alt":null,"id":26639853682787,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fec5cdf4955d88696c4ab9ad212a17e83ca4090b_d3bbf4ad-48b8-44bf-907a-92b0f4366896.webp?v=1767924964"}},"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: "停產" }