$product = {"id":7769475022947,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓","handle":"iphone-13-mini-mod-nx-magsafe-printable-xf48","description":null,"published_at":"2025-07-16T17:32:13+08:00","created_at":"2025-04-15T16:37:33+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Mini","merge","reseller-ilovedoodle"],"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":43302529761379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197731475555,"product_id":7769475022947,"position":2,"created_at":"2025-07-16T15:21:45+08:00","updated_at":"2025-07-16T15:21:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ea436f2c52b259f9040640376adbb2889fbe4_eb95f80b-5d4b-4728-9f48-f739113d632f.webp?v=1752650507","variant_ids":[43302529761379]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-XF48","featured_media":{"alt":null,"id":25830072615011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ea436f2c52b259f9040640376adbb2889fbe4_eb95f80b-5d4b-4728-9f48-f739113d632f.webp?v=1752650507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302533890147,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197733343331,"product_id":7769475022947,"position":4,"created_at":"2025-07-16T15:21:46+08:00","updated_at":"2025-07-16T15:21:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12ed0a0e59dc1bd2206588307b870670aa91af46_38a91da4-5cab-4813-8bbd-bed86ebf050a.webp?v=1752650508","variant_ids":[43302533890147]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-XF48","featured_media":{"alt":null,"id":25830073434211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12ed0a0e59dc1bd2206588307b870670aa91af46_38a91da4-5cab-4813-8bbd-bed86ebf050a.webp?v=1752650508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302534053987,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197737701475,"product_id":7769475022947,"position":10,"created_at":"2025-07-16T15:21:49+08:00","updated_at":"2025-07-16T15:21:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962fc400abffc653bd1312dc695e0fcf794fdab9_a20008de-ad8d-4e01-a4e3-68db522ba521.webp?v=1752650512","variant_ids":[43302534053987]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-XF48","featured_media":{"alt":null,"id":25830076055651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962fc400abffc653bd1312dc695e0fcf794fdab9_a20008de-ad8d-4e01-a4e3-68db522ba521.webp?v=1752650512"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4041c0994b8533873464ace9aae97d8cd22e42_5ef254c0-39fb-401e-a00c-ac4204f675be.webp?v=1744706260","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ea436f2c52b259f9040640376adbb2889fbe4_eb95f80b-5d4b-4728-9f48-f739113d632f.webp?v=1752650507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/006f77207b0c3d4f720f59360e1d3c8a3ee0684c_969881d0-dda5-4a24-8386-0d7e7f32adab.webp?v=1752650507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12ed0a0e59dc1bd2206588307b870670aa91af46_38a91da4-5cab-4813-8bbd-bed86ebf050a.webp?v=1752650508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6c450fd79e5377c15db617e4d21965a19b8ae80_00c39c9b-5c63-40c3-907c-653d6cc92ee3.webp?v=1752650508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a96e7377322efbd2e50f61412d2e19c932027044_d7061f33-8932-41e1-96aa-5433f0aa07a5.webp?v=1752650509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d5c7c2f699e4f5e1279330b845868b5bc381173_9771b635-b39d-4179-aa0c-aa568be24740.webp?v=1752650510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17202ffb48af85937ccc9ad8f4d05b0f735938e6_fe1452a6-1f75-4e00-b610-98abfb2f5d80.webp?v=1752650510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c55c1218112baee23d3c2eff03f06a9b2ee5579_d333e1ef-4b68-48bc-8d1a-50c3187da585.webp?v=1752650511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962fc400abffc653bd1312dc695e0fcf794fdab9_a20008de-ad8d-4e01-a4e3-68db522ba521.webp?v=1752650512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/636412e796750fb71f8d50a1671b05b17d47c05f_59e9dcbb-f438-4487-95dc-5e4dd34c2956.webp?v=1752650513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299158dc697ede12bcec34e0266a789936c6d13a_a687e453-60f1-49ab-8790-464f1e9ccac2.webp?v=1752650514"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4041c0994b8533873464ace9aae97d8cd22e42_5ef254c0-39fb-401e-a00c-ac4204f675be.webp?v=1744706260","options":["color"],"media":[{"alt":null,"id":25495548559459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4041c0994b8533873464ace9aae97d8cd22e42_5ef254c0-39fb-401e-a00c-ac4204f675be.webp?v=1744706260"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4041c0994b8533873464ace9aae97d8cd22e42_5ef254c0-39fb-401e-a00c-ac4204f675be.webp?v=1744706260","width":2000},{"alt":null,"id":25830072615011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ea436f2c52b259f9040640376adbb2889fbe4_eb95f80b-5d4b-4728-9f48-f739113d632f.webp?v=1752650507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ea436f2c52b259f9040640376adbb2889fbe4_eb95f80b-5d4b-4728-9f48-f739113d632f.webp?v=1752650507","width":2000},{"alt":null,"id":25830073040995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/006f77207b0c3d4f720f59360e1d3c8a3ee0684c_969881d0-dda5-4a24-8386-0d7e7f32adab.webp?v=1752650507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/006f77207b0c3d4f720f59360e1d3c8a3ee0684c_969881d0-dda5-4a24-8386-0d7e7f32adab.webp?v=1752650507","width":2000},{"alt":null,"id":25830073434211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12ed0a0e59dc1bd2206588307b870670aa91af46_38a91da4-5cab-4813-8bbd-bed86ebf050a.webp?v=1752650508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12ed0a0e59dc1bd2206588307b870670aa91af46_38a91da4-5cab-4813-8bbd-bed86ebf050a.webp?v=1752650508","width":2000},{"alt":null,"id":25830074024035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6c450fd79e5377c15db617e4d21965a19b8ae80_00c39c9b-5c63-40c3-907c-653d6cc92ee3.webp?v=1752650508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6c450fd79e5377c15db617e4d21965a19b8ae80_00c39c9b-5c63-40c3-907c-653d6cc92ee3.webp?v=1752650508","width":2000},{"alt":null,"id":25830074581091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a96e7377322efbd2e50f61412d2e19c932027044_d7061f33-8932-41e1-96aa-5433f0aa07a5.webp?v=1752650509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a96e7377322efbd2e50f61412d2e19c932027044_d7061f33-8932-41e1-96aa-5433f0aa07a5.webp?v=1752650509","width":2000},{"alt":null,"id":25830075007075,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d5c7c2f699e4f5e1279330b845868b5bc381173_9771b635-b39d-4179-aa0c-aa568be24740.webp?v=1752650510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d5c7c2f699e4f5e1279330b845868b5bc381173_9771b635-b39d-4179-aa0c-aa568be24740.webp?v=1752650510","width":2000},{"alt":null,"id":25830075367523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17202ffb48af85937ccc9ad8f4d05b0f735938e6_fe1452a6-1f75-4e00-b610-98abfb2f5d80.webp?v=1752650510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17202ffb48af85937ccc9ad8f4d05b0f735938e6_fe1452a6-1f75-4e00-b610-98abfb2f5d80.webp?v=1752650510","width":2000},{"alt":null,"id":25830075793507,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c55c1218112baee23d3c2eff03f06a9b2ee5579_d333e1ef-4b68-48bc-8d1a-50c3187da585.webp?v=1752650511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c55c1218112baee23d3c2eff03f06a9b2ee5579_d333e1ef-4b68-48bc-8d1a-50c3187da585.webp?v=1752650511","width":2000},{"alt":null,"id":25830076055651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962fc400abffc653bd1312dc695e0fcf794fdab9_a20008de-ad8d-4e01-a4e3-68db522ba521.webp?v=1752650512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962fc400abffc653bd1312dc695e0fcf794fdab9_a20008de-ad8d-4e01-a4e3-68db522ba521.webp?v=1752650512","width":2000},{"alt":null,"id":25830076743779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/636412e796750fb71f8d50a1671b05b17d47c05f_59e9dcbb-f438-4487-95dc-5e4dd34c2956.webp?v=1752650513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/636412e796750fb71f8d50a1671b05b17d47c05f_59e9dcbb-f438-4487-95dc-5e4dd34c2956.webp?v=1752650513","width":2000},{"alt":null,"id":25830077366371,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299158dc697ede12bcec34e0266a789936c6d13a_a687e453-60f1-49ab-8790-464f1e9ccac2.webp?v=1752650514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299158dc697ede12bcec34e0266a789936c6d13a_a687e453-60f1-49ab-8790-464f1e9ccac2.webp?v=1752650514","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302529761379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197731475555,"product_id":7769475022947,"position":2,"created_at":"2025-07-16T15:21:45+08:00","updated_at":"2025-07-16T15:21:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ea436f2c52b259f9040640376adbb2889fbe4_eb95f80b-5d4b-4728-9f48-f739113d632f.webp?v=1752650507","variant_ids":[43302529761379]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-XF48","featured_media":{"alt":null,"id":25830072615011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ea436f2c52b259f9040640376adbb2889fbe4_eb95f80b-5d4b-4728-9f48-f739113d632f.webp?v=1752650507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302533890147,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197733343331,"product_id":7769475022947,"position":4,"created_at":"2025-07-16T15:21:46+08:00","updated_at":"2025-07-16T15:21:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12ed0a0e59dc1bd2206588307b870670aa91af46_38a91da4-5cab-4813-8bbd-bed86ebf050a.webp?v=1752650508","variant_ids":[43302533890147]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-XF48","featured_media":{"alt":null,"id":25830073434211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12ed0a0e59dc1bd2206588307b870670aa91af46_38a91da4-5cab-4813-8bbd-bed86ebf050a.webp?v=1752650508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302534053987,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197737701475,"product_id":7769475022947,"position":10,"created_at":"2025-07-16T15:21:49+08:00","updated_at":"2025-07-16T15:21:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962fc400abffc653bd1312dc695e0fcf794fdab9_a20008de-ad8d-4e01-a4e3-68db522ba521.webp?v=1752650512","variant_ids":[43302534053987]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-XF48","featured_media":{"alt":null,"id":25830076055651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962fc400abffc653bd1312dc695e0fcf794fdab9_a20008de-ad8d-4e01-a4e3-68db522ba521.webp?v=1752650512"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302529761379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197731475555,"product_id":7769475022947,"position":2,"created_at":"2025-07-16T15:21:45+08:00","updated_at":"2025-07-16T15:21:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ea436f2c52b259f9040640376adbb2889fbe4_eb95f80b-5d4b-4728-9f48-f739113d632f.webp?v=1752650507","variant_ids":[43302529761379]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-XF48","featured_media":{"alt":null,"id":25830072615011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ea436f2c52b259f9040640376adbb2889fbe4_eb95f80b-5d4b-4728-9f48-f739113d632f.webp?v=1752650507"}},"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: "停產" }