$product = {"id":7815628128355,"title":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 花花禮服","handle":"iphone-15-pro-jellytint-magsafe-bumper-crossover-design-eg08","description":null,"published_at":"2025-06-11T15:26:21+08:00","created_at":"2025-06-11T14:26:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlepopcorn","device-iPhone 15 Pro","merge","reseller-littlepopcorn"],"price":148000,"price_min":148000,"price_max":148000,"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":43444859404387,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012970G-EG08","requires_shipping":true,"taxable":true,"featured_image":{"id":34012105080931,"product_id":7815628128355,"position":13,"created_at":"2025-06-12T10:06:33+08:00","updated_at":"2025-06-12T10:06:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_cea188b2-ddc5-4532-80f6-11df1cbccc30.webp?v=1749693995","variant_ids":[43444859404387]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 花花禮服 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970G-EG08","featured_media":{"alt":null,"id":25692773220451,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_cea188b2-ddc5-4532-80f6-11df1cbccc30.webp?v=1749693995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444862255203,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"MCN012970I-EG08","requires_shipping":true,"taxable":true,"featured_image":{"id":34012106784867,"product_id":7815628128355,"position":15,"created_at":"2025-06-12T10:06:34+08:00","updated_at":"2025-06-12T10:06:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_aeb3958a-2ccb-43ac-89f1-15fc3a8e067a.webp?v=1749693996","variant_ids":[43444862255203]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 花花禮服 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970I-EG08","featured_media":{"alt":null,"id":25692773777507,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_aeb3958a-2ccb-43ac-89f1-15fc3a8e067a.webp?v=1749693996"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf.webp?v=1749623197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008.webp?v=1749623197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b.webp?v=1749623198","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd.webp?v=1749623198","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf_3638c967-61a7-4362-89eb-5832748f72d1.webp?v=1749624468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_4a965bfc-92df-447b-95cf-4e38c3694d7b.webp?v=1749624468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_4e2795bd-9dec-4ab2-adff-6afe83c800be.webp?v=1749624469","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd_8df6f733-41be-4e17-b805-7876ffc6d959.webp?v=1749624469","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd_4033cdf9-edcb-4e0c-bddc-dda5648e9dc1.webp?v=1749625234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_6a1380f4-069d-4910-827c-00c423cee9c7.webp?v=1749625234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_c87f74a1-04fd-445d-b3f7-3970757a35e2.webp?v=1749625235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf_100565af-6060-4633-bc63-31131a9237bc.webp?v=1749625236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_cea188b2-ddc5-4532-80f6-11df1cbccc30.webp?v=1749693995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf_c4a65be4-93f6-4cf3-bc34-72d126f1f49b.webp?v=1749693995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_aeb3958a-2ccb-43ac-89f1-15fc3a8e067a.webp?v=1749693996","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd_4faba8af-5cc6-4987-87bd-2baf27b32b50.webp?v=1749693996"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf.webp?v=1749623197","options":["color"],"media":[{"alt":null,"id":25689521324131,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf.webp?v=1749623197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf.webp?v=1749623197","width":2000},{"alt":null,"id":25689521553507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008.webp?v=1749623197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008.webp?v=1749623197","width":2000},{"alt":null,"id":25689521750115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b.webp?v=1749623198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b.webp?v=1749623198","width":2000},{"alt":null,"id":25689521979491,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd.webp?v=1749623198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd.webp?v=1749623198","width":2000},{"alt":null,"id":25689732907107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf_3638c967-61a7-4362-89eb-5832748f72d1.webp?v=1749624468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf_3638c967-61a7-4362-89eb-5832748f72d1.webp?v=1749624468","width":2000},{"alt":null,"id":25689733300323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_4a965bfc-92df-447b-95cf-4e38c3694d7b.webp?v=1749624468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_4a965bfc-92df-447b-95cf-4e38c3694d7b.webp?v=1749624468","width":2000},{"alt":null,"id":25689733693539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_4e2795bd-9dec-4ab2-adff-6afe83c800be.webp?v=1749624469"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_4e2795bd-9dec-4ab2-adff-6afe83c800be.webp?v=1749624469","width":2000},{"alt":null,"id":25689733890147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd_8df6f733-41be-4e17-b805-7876ffc6d959.webp?v=1749624469"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd_8df6f733-41be-4e17-b805-7876ffc6d959.webp?v=1749624469","width":2000},{"alt":null,"id":25689903661155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd_4033cdf9-edcb-4e0c-bddc-dda5648e9dc1.webp?v=1749625234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd_4033cdf9-edcb-4e0c-bddc-dda5648e9dc1.webp?v=1749625234","width":2000},{"alt":null,"id":25689903890531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_6a1380f4-069d-4910-827c-00c423cee9c7.webp?v=1749625234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_6a1380f4-069d-4910-827c-00c423cee9c7.webp?v=1749625234","width":2000},{"alt":null,"id":25689904119907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_c87f74a1-04fd-445d-b3f7-3970757a35e2.webp?v=1749625235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_c87f74a1-04fd-445d-b3f7-3970757a35e2.webp?v=1749625235","width":2000},{"alt":null,"id":25689904382051,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf_100565af-6060-4633-bc63-31131a9237bc.webp?v=1749625236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf_100565af-6060-4633-bc63-31131a9237bc.webp?v=1749625236","width":2000},{"alt":null,"id":25692773220451,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_cea188b2-ddc5-4532-80f6-11df1cbccc30.webp?v=1749693995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_cea188b2-ddc5-4532-80f6-11df1cbccc30.webp?v=1749693995","width":2000},{"alt":null,"id":25692773482595,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf_c4a65be4-93f6-4cf3-bc34-72d126f1f49b.webp?v=1749693995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/393e09d972020f55e2d65759a95f569823e7edbf_c4a65be4-93f6-4cf3-bc34-72d126f1f49b.webp?v=1749693995","width":2000},{"alt":null,"id":25692773777507,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_aeb3958a-2ccb-43ac-89f1-15fc3a8e067a.webp?v=1749693996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_aeb3958a-2ccb-43ac-89f1-15fc3a8e067a.webp?v=1749693996","width":2000},{"alt":null,"id":25692774170723,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd_4faba8af-5cc6-4987-87bd-2baf27b32b50.webp?v=1749693996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1d407fbe343f1ecc6b32c9e41a3eb280ce5acd_4faba8af-5cc6-4987-87bd-2baf27b32b50.webp?v=1749693996","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43444859404387,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012970G-EG08","requires_shipping":true,"taxable":true,"featured_image":{"id":34012105080931,"product_id":7815628128355,"position":13,"created_at":"2025-06-12T10:06:33+08:00","updated_at":"2025-06-12T10:06:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_cea188b2-ddc5-4532-80f6-11df1cbccc30.webp?v=1749693995","variant_ids":[43444859404387]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 花花禮服 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970G-EG08","featured_media":{"alt":null,"id":25692773220451,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_cea188b2-ddc5-4532-80f6-11df1cbccc30.webp?v=1749693995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444862255203,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"MCN012970I-EG08","requires_shipping":true,"taxable":true,"featured_image":{"id":34012106784867,"product_id":7815628128355,"position":15,"created_at":"2025-06-12T10:06:34+08:00","updated_at":"2025-06-12T10:06:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_aeb3958a-2ccb-43ac-89f1-15fc3a8e067a.webp?v=1749693996","variant_ids":[43444862255203]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 花花禮服 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970I-EG08","featured_media":{"alt":null,"id":25692773777507,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00f1777c714f382e2ff4a2c3bdfe71ffc15008_aeb3958a-2ccb-43ac-89f1-15fc3a8e067a.webp?v=1749693996"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43444859404387,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012970G-EG08","requires_shipping":true,"taxable":true,"featured_image":{"id":34012105080931,"product_id":7815628128355,"position":13,"created_at":"2025-06-12T10:06:33+08:00","updated_at":"2025-06-12T10:06:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_cea188b2-ddc5-4532-80f6-11df1cbccc30.webp?v=1749693995","variant_ids":[43444859404387]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 花花禮服 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970G-EG08","featured_media":{"alt":null,"id":25692773220451,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89317032096d5797a1862aaf4601b993c18a734b_cea188b2-ddc5-4532-80f6-11df1cbccc30.webp?v=1749693995"}},"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: "停產" }