$product = {"id":7920489168995,"title":"iPhone 17 Pro Clear (相機按鈕) 咒術迴戰 澀谷事變戰鬥系列-伏黑惠","handle":"iphone-17-pro-jellytint-with-capture-button-ptt13","description":null,"published_at":"2025-11-10T16:40:14+08:00","created_at":"2025-11-10T14:55:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jujutsu-kaisen","device-iPhone 17 Pro","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":43828757626979,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-PTT13","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583573091,"product_id":7920489168995,"position":10,"created_at":"2026-06-29T16:06:58+08:00","updated_at":"2026-06-29T16:07:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_9cd28e33-c3ad-4ed8-98be-17df01550d73.webp?v=1782720421","variant_ids":[43828757626979]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 咒術迴戰 澀谷事變戰鬥系列-伏黑惠 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-PTT13","featured_media":{"alt":null,"id":27630825177187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_9cd28e33-c3ad-4ed8-98be-17df01550d73.webp?v=1782720421"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828759363683,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-PTT13","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583835235,"product_id":7920489168995,"position":11,"created_at":"2026-06-29T16:06:59+08:00","updated_at":"2026-06-29T16:07:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_eec0fb2c-2ae7-4ce8-a93c-dea7d287c922.webp?v=1782720421","variant_ids":[43828759363683]},"available":true,"name":"iPhone 17 Pro 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":"JTB013520G-PTT13","featured_media":{"alt":null,"id":27630825373795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_eec0fb2c-2ae7-4ce8-a93c-dea7d287c922.webp?v=1782720421"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828759396451,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-PTT13","requires_shipping":true,"taxable":true,"featured_image":{"id":36125584490595,"product_id":7920489168995,"position":12,"created_at":"2026-06-29T16:07:01+08:00","updated_at":"2026-06-29T16:07:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_e94216f9-a5bd-4dc4-a768-6615eabf2487.webp?v=1782720423","variant_ids":[43828759396451]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 咒術迴戰 澀谷事變戰鬥系列-伏黑惠 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524L-PTT13","featured_media":{"alt":null,"id":27630826127459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_e94216f9-a5bd-4dc4-a768-6615eabf2487.webp?v=1782720423"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092.webp?v=1762757747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba.webp?v=1762757747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec.webp?v=1762757748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_0cd65407-8827-4fa4-9ce1-89db87384431.webp?v=1782267438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_eb87174b-527a-4809-909d-1bc1db07bf8a.webp?v=1782267440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_f22f8e68-7301-4c6d-97fc-ec7b1cc4a4a7.webp?v=1782267441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_0a6deb37-c371-471f-8b49-19a4ccf8f154.webp?v=1782292325","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_53674423-2fe1-48b4-bee9-cb92d21a1996.webp?v=1782292326","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_b7141279-d194-4024-ad1b-e6611e5d410c.webp?v=1782292327","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_9cd28e33-c3ad-4ed8-98be-17df01550d73.webp?v=1782720421","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_eec0fb2c-2ae7-4ce8-a93c-dea7d287c922.webp?v=1782720421","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_e94216f9-a5bd-4dc4-a768-6615eabf2487.webp?v=1782720423"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092.webp?v=1762757747","options":["color"],"media":[{"alt":null,"id":26347675484259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092.webp?v=1762757747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092.webp?v=1762757747","width":2000},{"alt":null,"id":26347675680867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba.webp?v=1762757747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba.webp?v=1762757747","width":2000},{"alt":null,"id":26347675844707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec.webp?v=1762757748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec.webp?v=1762757748","width":2000},{"alt":null,"id":27587972923491,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_0cd65407-8827-4fa4-9ce1-89db87384431.webp?v=1782267438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_0cd65407-8827-4fa4-9ce1-89db87384431.webp?v=1782267438","width":2000},{"alt":null,"id":27587973316707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_eb87174b-527a-4809-909d-1bc1db07bf8a.webp?v=1782267440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_eb87174b-527a-4809-909d-1bc1db07bf8a.webp?v=1782267440","width":2000},{"alt":null,"id":27587973742691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_f22f8e68-7301-4c6d-97fc-ec7b1cc4a4a7.webp?v=1782267441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_f22f8e68-7301-4c6d-97fc-ec7b1cc4a4a7.webp?v=1782267441","width":2000},{"alt":null,"id":27594876059747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_0a6deb37-c371-471f-8b49-19a4ccf8f154.webp?v=1782292325"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_0a6deb37-c371-471f-8b49-19a4ccf8f154.webp?v=1782292325","width":2000},{"alt":null,"id":27594876911715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_53674423-2fe1-48b4-bee9-cb92d21a1996.webp?v=1782292326"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_53674423-2fe1-48b4-bee9-cb92d21a1996.webp?v=1782292326","width":2000},{"alt":null,"id":27594877534307,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_b7141279-d194-4024-ad1b-e6611e5d410c.webp?v=1782292327"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_b7141279-d194-4024-ad1b-e6611e5d410c.webp?v=1782292327","width":2000},{"alt":null,"id":27630825177187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_9cd28e33-c3ad-4ed8-98be-17df01550d73.webp?v=1782720421"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_9cd28e33-c3ad-4ed8-98be-17df01550d73.webp?v=1782720421","width":2000},{"alt":null,"id":27630825373795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_eec0fb2c-2ae7-4ce8-a93c-dea7d287c922.webp?v=1782720421"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_eec0fb2c-2ae7-4ce8-a93c-dea7d287c922.webp?v=1782720421","width":2000},{"alt":null,"id":27630826127459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_e94216f9-a5bd-4dc4-a768-6615eabf2487.webp?v=1782720423"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_e94216f9-a5bd-4dc4-a768-6615eabf2487.webp?v=1782720423","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828757626979,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-PTT13","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583573091,"product_id":7920489168995,"position":10,"created_at":"2026-06-29T16:06:58+08:00","updated_at":"2026-06-29T16:07:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_9cd28e33-c3ad-4ed8-98be-17df01550d73.webp?v=1782720421","variant_ids":[43828757626979]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 咒術迴戰 澀谷事變戰鬥系列-伏黑惠 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-PTT13","featured_media":{"alt":null,"id":27630825177187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_9cd28e33-c3ad-4ed8-98be-17df01550d73.webp?v=1782720421"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828759363683,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-PTT13","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583835235,"product_id":7920489168995,"position":11,"created_at":"2026-06-29T16:06:59+08:00","updated_at":"2026-06-29T16:07:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_eec0fb2c-2ae7-4ce8-a93c-dea7d287c922.webp?v=1782720421","variant_ids":[43828759363683]},"available":true,"name":"iPhone 17 Pro 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":"JTB013520G-PTT13","featured_media":{"alt":null,"id":27630825373795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5c5b815d62981134c2c3f03f67495c1c1b67ba_eec0fb2c-2ae7-4ce8-a93c-dea7d287c922.webp?v=1782720421"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828759396451,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-PTT13","requires_shipping":true,"taxable":true,"featured_image":{"id":36125584490595,"product_id":7920489168995,"position":12,"created_at":"2026-06-29T16:07:01+08:00","updated_at":"2026-06-29T16:07:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_e94216f9-a5bd-4dc4-a768-6615eabf2487.webp?v=1782720423","variant_ids":[43828759396451]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 咒術迴戰 澀谷事變戰鬥系列-伏黑惠 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524L-PTT13","featured_media":{"alt":null,"id":27630826127459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4fa670b1cbbf3132d75f266292e684326032ec_e94216f9-a5bd-4dc4-a768-6615eabf2487.webp?v=1782720423"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828757626979,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-PTT13","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583573091,"product_id":7920489168995,"position":10,"created_at":"2026-06-29T16:06:58+08:00","updated_at":"2026-06-29T16:07:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_9cd28e33-c3ad-4ed8-98be-17df01550d73.webp?v=1782720421","variant_ids":[43828757626979]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 咒術迴戰 澀谷事變戰鬥系列-伏黑惠 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-PTT13","featured_media":{"alt":null,"id":27630825177187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c81859390128cb7c23d18c4aabb5dd101ec092_9cd28e33-c3ad-4ed8-98be-17df01550d73.webp?v=1782720421"}},"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: "停產" }