$product = {"id":7408094150755,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Spaceship Logo-經典","handle":"iphone-13-mini-mod-nx-printable-pb76","description":null,"published_at":"2024-06-11T16:31:14+08:00","created_at":"2024-05-03T11:58:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41882612334691,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB76","requires_shipping":true,"taxable":true,"featured_image":{"id":31471178448995,"product_id":7408094150755,"position":2,"created_at":"2024-05-03T11:58:52+08:00","updated_at":"2024-05-03T11:58:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c948ec7ea756ab05058be7bc74f472f16f8c49_a19f2c17-4c29-4e36-a9bd-bb5c8fbc24bd.webp?v=1714708732","variant_ids":[41882612334691]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Spaceship Logo-經典 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB76","featured_media":{"alt":null,"id":23876083777635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c948ec7ea756ab05058be7bc74f472f16f8c49_a19f2c17-4c29-4e36-a9bd-bb5c8fbc24bd.webp?v=1714708732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882612400227,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB76","requires_shipping":true,"taxable":true,"featured_image":{"id":31471182250083,"product_id":7408094150755,"position":10,"created_at":"2024-05-03T11:59:11+08:00","updated_at":"2024-05-03T11:59:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367723c10b785a7fd8feaa11755ad816e8678d01_7aea380b-a047-4b91-8212-814d39ae369f.webp?v=1714708751","variant_ids":[41882612400227]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Spaceship Logo-經典 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB76","featured_media":{"alt":null,"id":23876087480419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367723c10b785a7fd8feaa11755ad816e8678d01_7aea380b-a047-4b91-8212-814d39ae369f.webp?v=1714708751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882612629603,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB76","requires_shipping":true,"taxable":true,"featured_image":{"id":31471179661411,"product_id":7408094150755,"position":5,"created_at":"2024-05-03T11:58:59+08:00","updated_at":"2024-05-03T11:58:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee24ddde3dafa98958fed9fe3defbb49b088ddd_70974e0e-ffaa-4e37-b27d-9fb43371f7bc.webp?v=1714708739","variant_ids":[41882612629603]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Spaceship Logo-經典 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB76","featured_media":{"alt":null,"id":23876084990051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee24ddde3dafa98958fed9fe3defbb49b088ddd_70974e0e-ffaa-4e37-b27d-9fb43371f7bc.webp?v=1714708739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62caef7f8ecd286f16c6915443a4ebd592bfed5_ca005808-cbc1-4980-a1c9-7e899b128eb9.webp?v=1714708729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c948ec7ea756ab05058be7bc74f472f16f8c49_a19f2c17-4c29-4e36-a9bd-bb5c8fbc24bd.webp?v=1714708732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eb04ad0bfea652c3766156e98d55ff8c78e2bf8_a6ce1e2b-aaf0-4805-a47f-b7d7194cacb6.webp?v=1714708734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a408934b2f56d94753c33a9729097b7cc0f672_bd9584c4-90ef-46f3-b56c-294468974c3c.webp?v=1714708736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee24ddde3dafa98958fed9fe3defbb49b088ddd_70974e0e-ffaa-4e37-b27d-9fb43371f7bc.webp?v=1714708739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f0ac749c825d09c1e5847b1f8718b7b9b141ea_3c42a087-654b-4d0f-b3b5-1c57bb2e04a0.webp?v=1714708741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a270ab38f9fb2850836cc4cdb383f7a5333a37dd_0a6a5d6b-ad82-44ff-97b4-2982ec66ae19.webp?v=1714708744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9db4279c645aee6875192b9d6332623c3b0db8e_29bcf80a-c4a5-4833-8390-4ab51ce88db3.webp?v=1714708746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d1a6fe156963a7049ca3c575e5eea5517868bab_a06f1d1d-20fd-44af-8488-84c4a523a8d6.webp?v=1714708748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367723c10b785a7fd8feaa11755ad816e8678d01_7aea380b-a047-4b91-8212-814d39ae369f.webp?v=1714708751"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62caef7f8ecd286f16c6915443a4ebd592bfed5_ca005808-cbc1-4980-a1c9-7e899b128eb9.webp?v=1714708729","options":["color"],"media":[{"alt":null,"id":23876083155043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62caef7f8ecd286f16c6915443a4ebd592bfed5_ca005808-cbc1-4980-a1c9-7e899b128eb9.webp?v=1714708729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c62caef7f8ecd286f16c6915443a4ebd592bfed5_ca005808-cbc1-4980-a1c9-7e899b128eb9.webp?v=1714708729","width":2000},{"alt":null,"id":23876083777635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c948ec7ea756ab05058be7bc74f472f16f8c49_a19f2c17-4c29-4e36-a9bd-bb5c8fbc24bd.webp?v=1714708732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c948ec7ea756ab05058be7bc74f472f16f8c49_a19f2c17-4c29-4e36-a9bd-bb5c8fbc24bd.webp?v=1714708732","width":2000},{"alt":null,"id":23876084170851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eb04ad0bfea652c3766156e98d55ff8c78e2bf8_a6ce1e2b-aaf0-4805-a47f-b7d7194cacb6.webp?v=1714708734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eb04ad0bfea652c3766156e98d55ff8c78e2bf8_a6ce1e2b-aaf0-4805-a47f-b7d7194cacb6.webp?v=1714708734","width":2000},{"alt":null,"id":23876084531299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a408934b2f56d94753c33a9729097b7cc0f672_bd9584c4-90ef-46f3-b56c-294468974c3c.webp?v=1714708736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a408934b2f56d94753c33a9729097b7cc0f672_bd9584c4-90ef-46f3-b56c-294468974c3c.webp?v=1714708736","width":2000},{"alt":null,"id":23876084990051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee24ddde3dafa98958fed9fe3defbb49b088ddd_70974e0e-ffaa-4e37-b27d-9fb43371f7bc.webp?v=1714708739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee24ddde3dafa98958fed9fe3defbb49b088ddd_70974e0e-ffaa-4e37-b27d-9fb43371f7bc.webp?v=1714708739","width":2000},{"alt":null,"id":23876085743715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f0ac749c825d09c1e5847b1f8718b7b9b141ea_3c42a087-654b-4d0f-b3b5-1c57bb2e04a0.webp?v=1714708741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f0ac749c825d09c1e5847b1f8718b7b9b141ea_3c42a087-654b-4d0f-b3b5-1c57bb2e04a0.webp?v=1714708741","width":2000},{"alt":null,"id":23876086235235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a270ab38f9fb2850836cc4cdb383f7a5333a37dd_0a6a5d6b-ad82-44ff-97b4-2982ec66ae19.webp?v=1714708744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a270ab38f9fb2850836cc4cdb383f7a5333a37dd_0a6a5d6b-ad82-44ff-97b4-2982ec66ae19.webp?v=1714708744","width":2000},{"alt":null,"id":23876086562915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9db4279c645aee6875192b9d6332623c3b0db8e_29bcf80a-c4a5-4833-8390-4ab51ce88db3.webp?v=1714708746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9db4279c645aee6875192b9d6332623c3b0db8e_29bcf80a-c4a5-4833-8390-4ab51ce88db3.webp?v=1714708746","width":2000},{"alt":null,"id":23876087119971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d1a6fe156963a7049ca3c575e5eea5517868bab_a06f1d1d-20fd-44af-8488-84c4a523a8d6.webp?v=1714708748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d1a6fe156963a7049ca3c575e5eea5517868bab_a06f1d1d-20fd-44af-8488-84c4a523a8d6.webp?v=1714708748","width":2000},{"alt":null,"id":23876087480419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367723c10b785a7fd8feaa11755ad816e8678d01_7aea380b-a047-4b91-8212-814d39ae369f.webp?v=1714708751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367723c10b785a7fd8feaa11755ad816e8678d01_7aea380b-a047-4b91-8212-814d39ae369f.webp?v=1714708751","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882612334691,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB76","requires_shipping":true,"taxable":true,"featured_image":{"id":31471178448995,"product_id":7408094150755,"position":2,"created_at":"2024-05-03T11:58:52+08:00","updated_at":"2024-05-03T11:58:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c948ec7ea756ab05058be7bc74f472f16f8c49_a19f2c17-4c29-4e36-a9bd-bb5c8fbc24bd.webp?v=1714708732","variant_ids":[41882612334691]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Spaceship Logo-經典 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB76","featured_media":{"alt":null,"id":23876083777635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c948ec7ea756ab05058be7bc74f472f16f8c49_a19f2c17-4c29-4e36-a9bd-bb5c8fbc24bd.webp?v=1714708732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882612400227,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB76","requires_shipping":true,"taxable":true,"featured_image":{"id":31471182250083,"product_id":7408094150755,"position":10,"created_at":"2024-05-03T11:59:11+08:00","updated_at":"2024-05-03T11:59:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367723c10b785a7fd8feaa11755ad816e8678d01_7aea380b-a047-4b91-8212-814d39ae369f.webp?v=1714708751","variant_ids":[41882612400227]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Spaceship Logo-經典 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB76","featured_media":{"alt":null,"id":23876087480419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367723c10b785a7fd8feaa11755ad816e8678d01_7aea380b-a047-4b91-8212-814d39ae369f.webp?v=1714708751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882612629603,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB76","requires_shipping":true,"taxable":true,"featured_image":{"id":31471179661411,"product_id":7408094150755,"position":5,"created_at":"2024-05-03T11:58:59+08:00","updated_at":"2024-05-03T11:58:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee24ddde3dafa98958fed9fe3defbb49b088ddd_70974e0e-ffaa-4e37-b27d-9fb43371f7bc.webp?v=1714708739","variant_ids":[41882612629603]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Spaceship Logo-經典 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB76","featured_media":{"alt":null,"id":23876084990051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee24ddde3dafa98958fed9fe3defbb49b088ddd_70974e0e-ffaa-4e37-b27d-9fb43371f7bc.webp?v=1714708739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882612334691,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB76","requires_shipping":true,"taxable":true,"featured_image":{"id":31471178448995,"product_id":7408094150755,"position":2,"created_at":"2024-05-03T11:58:52+08:00","updated_at":"2024-05-03T11:58:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c948ec7ea756ab05058be7bc74f472f16f8c49_a19f2c17-4c29-4e36-a9bd-bb5c8fbc24bd.webp?v=1714708732","variant_ids":[41882612334691]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Spaceship Logo-經典 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB76","featured_media":{"alt":null,"id":23876083777635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c948ec7ea756ab05058be7bc74f472f16f8c49_a19f2c17-4c29-4e36-a9bd-bb5c8fbc24bd.webp?v=1714708732"}},"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: "停產" }