$product = {"id":7414008119395,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-日文字系列","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb62","description":null,"published_at":"2024-06-11T17:47:33+08:00","created_at":"2024-05-05T13:59:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41903263940707,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB62","requires_shipping":true,"taxable":true,"featured_image":{"id":31484444082275,"product_id":7414008119395,"position":1,"created_at":"2024-05-05T13:59:58+08:00","updated_at":"2024-05-05T13:59:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798","variant_ids":[41903263940707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-PB62","featured_media":{"alt":null,"id":23889738137699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903264071779,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB62","requires_shipping":true,"taxable":true,"featured_image":{"id":31484446802019,"product_id":7414008119395,"position":6,"created_at":"2024-05-05T14:00:10+08:00","updated_at":"2024-05-05T14:00:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a76778c389240fedaba89d2a600133f5a04337d_0965e233-ea1e-4c6b-a82e-1f29ab8826c6.webp?v=1714888810","variant_ids":[41903264071779]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-日文字系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-PB62","featured_media":{"alt":null,"id":23889740857443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a76778c389240fedaba89d2a600133f5a04337d_0965e233-ea1e-4c6b-a82e-1f29ab8826c6.webp?v=1714888810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903264530531,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB62","requires_shipping":true,"taxable":true,"featured_image":{"id":31484447260771,"product_id":7414008119395,"position":7,"created_at":"2024-05-05T14:00:12+08:00","updated_at":"2024-05-05T14:00:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dafa3d44c0c4196c3a6d11e3a09c788014fa527e_ae7f4e6d-d974-4d7f-a106-384e14c06410.webp?v=1714888812","variant_ids":[41903264530531]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-日文字系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-PB62","featured_media":{"alt":null,"id":23889741348963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dafa3d44c0c4196c3a6d11e3a09c788014fa527e_ae7f4e6d-d974-4d7f-a106-384e14c06410.webp?v=1714888812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efbee6d737065e9933e3ab1eee7e1533ce5a191_e7fbf8e9-9314-4be9-bb28-a59fbb70eec7.webp?v=1714888800","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee30ab7029b05eccf270fa1706a76d91b871011a_c20daed7-f46b-4aa0-bd82-8d48161d14be.webp?v=1714888803","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320c428793fef69ae9395c628c604040c4c28ee0_88185adb-7e12-40c4-9c77-7ce6d7f1a303.webp?v=1714888805","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e79e3cc25db73c964d09e1a1f54b192becc51c4_b981d709-a87d-4f50-b334-d48dda2e7992.webp?v=1714888807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a76778c389240fedaba89d2a600133f5a04337d_0965e233-ea1e-4c6b-a82e-1f29ab8826c6.webp?v=1714888810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dafa3d44c0c4196c3a6d11e3a09c788014fa527e_ae7f4e6d-d974-4d7f-a106-384e14c06410.webp?v=1714888812","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19be39c98344f3348feac17963cee5f056b114e_175a46a6-b7c3-481b-be11-e795cd74cb8c.webp?v=1714888814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5604799097022835587b5b0d99b7dd9e98a0a39_8a969ad8-2ca4-42e5-ab70-41e6141974de.webp?v=1714888816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4c645c9bb538b6675017c8c4d589f1c054d934c_90d566b5-daeb-435e-acb3-6f3400384eeb.webp?v=1714888819"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798","options":["color"],"media":[{"alt":null,"id":23889738137699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798","width":2000},{"alt":null,"id":23889738891363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efbee6d737065e9933e3ab1eee7e1533ce5a191_e7fbf8e9-9314-4be9-bb28-a59fbb70eec7.webp?v=1714888800"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efbee6d737065e9933e3ab1eee7e1533ce5a191_e7fbf8e9-9314-4be9-bb28-a59fbb70eec7.webp?v=1714888800","width":2000},{"alt":null,"id":23889739284579,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee30ab7029b05eccf270fa1706a76d91b871011a_c20daed7-f46b-4aa0-bd82-8d48161d14be.webp?v=1714888803"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee30ab7029b05eccf270fa1706a76d91b871011a_c20daed7-f46b-4aa0-bd82-8d48161d14be.webp?v=1714888803","width":2000},{"alt":null,"id":23889739874403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320c428793fef69ae9395c628c604040c4c28ee0_88185adb-7e12-40c4-9c77-7ce6d7f1a303.webp?v=1714888805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320c428793fef69ae9395c628c604040c4c28ee0_88185adb-7e12-40c4-9c77-7ce6d7f1a303.webp?v=1714888805","width":2000},{"alt":null,"id":23889740398691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e79e3cc25db73c964d09e1a1f54b192becc51c4_b981d709-a87d-4f50-b334-d48dda2e7992.webp?v=1714888807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e79e3cc25db73c964d09e1a1f54b192becc51c4_b981d709-a87d-4f50-b334-d48dda2e7992.webp?v=1714888807","width":2000},{"alt":null,"id":23889740857443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a76778c389240fedaba89d2a600133f5a04337d_0965e233-ea1e-4c6b-a82e-1f29ab8826c6.webp?v=1714888810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a76778c389240fedaba89d2a600133f5a04337d_0965e233-ea1e-4c6b-a82e-1f29ab8826c6.webp?v=1714888810","width":2000},{"alt":null,"id":23889741348963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dafa3d44c0c4196c3a6d11e3a09c788014fa527e_ae7f4e6d-d974-4d7f-a106-384e14c06410.webp?v=1714888812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dafa3d44c0c4196c3a6d11e3a09c788014fa527e_ae7f4e6d-d974-4d7f-a106-384e14c06410.webp?v=1714888812","width":2000},{"alt":null,"id":23889741774947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19be39c98344f3348feac17963cee5f056b114e_175a46a6-b7c3-481b-be11-e795cd74cb8c.webp?v=1714888814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b19be39c98344f3348feac17963cee5f056b114e_175a46a6-b7c3-481b-be11-e795cd74cb8c.webp?v=1714888814","width":2000},{"alt":null,"id":23889742463075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5604799097022835587b5b0d99b7dd9e98a0a39_8a969ad8-2ca4-42e5-ab70-41e6141974de.webp?v=1714888816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5604799097022835587b5b0d99b7dd9e98a0a39_8a969ad8-2ca4-42e5-ab70-41e6141974de.webp?v=1714888816","width":2000},{"alt":null,"id":23889742889059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4c645c9bb538b6675017c8c4d589f1c054d934c_90d566b5-daeb-435e-acb3-6f3400384eeb.webp?v=1714888819"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4c645c9bb538b6675017c8c4d589f1c054d934c_90d566b5-daeb-435e-acb3-6f3400384eeb.webp?v=1714888819","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41903263940707,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB62","requires_shipping":true,"taxable":true,"featured_image":{"id":31484444082275,"product_id":7414008119395,"position":1,"created_at":"2024-05-05T13:59:58+08:00","updated_at":"2024-05-05T13:59:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798","variant_ids":[41903263940707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-PB62","featured_media":{"alt":null,"id":23889738137699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903264071779,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB62","requires_shipping":true,"taxable":true,"featured_image":{"id":31484446802019,"product_id":7414008119395,"position":6,"created_at":"2024-05-05T14:00:10+08:00","updated_at":"2024-05-05T14:00:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a76778c389240fedaba89d2a600133f5a04337d_0965e233-ea1e-4c6b-a82e-1f29ab8826c6.webp?v=1714888810","variant_ids":[41903264071779]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-日文字系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-PB62","featured_media":{"alt":null,"id":23889740857443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a76778c389240fedaba89d2a600133f5a04337d_0965e233-ea1e-4c6b-a82e-1f29ab8826c6.webp?v=1714888810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903264530531,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB62","requires_shipping":true,"taxable":true,"featured_image":{"id":31484447260771,"product_id":7414008119395,"position":7,"created_at":"2024-05-05T14:00:12+08:00","updated_at":"2024-05-05T14:00:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dafa3d44c0c4196c3a6d11e3a09c788014fa527e_ae7f4e6d-d974-4d7f-a106-384e14c06410.webp?v=1714888812","variant_ids":[41903264530531]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-日文字系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-PB62","featured_media":{"alt":null,"id":23889741348963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dafa3d44c0c4196c3a6d11e3a09c788014fa527e_ae7f4e6d-d974-4d7f-a106-384e14c06410.webp?v=1714888812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41903263940707,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB62","requires_shipping":true,"taxable":true,"featured_image":{"id":31484444082275,"product_id":7414008119395,"position":1,"created_at":"2024-05-05T13:59:58+08:00","updated_at":"2024-05-05T13:59:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798","variant_ids":[41903263940707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-PB62","featured_media":{"alt":null,"id":23889738137699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9fcd6ec1b27ef18be045723b843929c96d1c021_2423a4b4-2d58-42db-a28f-67f24ef5f086.webp?v=1714888798"}},"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: "停產" }