

Color swatch preview on product page
TPure Variation Swatches for WooCommerce replaces the default product attribute dropdown selects with visually appealing color swatches, image swatches, and label/button swatches. It works on both single product pages and shop/archive pages.
[tpwvs_swatches] inside the shop loop.Use [tpwvs_swatches] inside the WooCommerce shop loop to manually output swatches.
The full uncompiled source code (JavaScript, CSS, and build configuration) is included in the plugin inside the src/ directory. The compiled assets in build/ are generated from these source files.
To build the plugin assets from source:
npm installnpm run buildThe build tool used is @wordpress/scripts (webpack-based). The compiled assets are output to the build/ directory.