Last active
May 4, 2023 17:46
-
-
Save UraraReika/fa80a674ef37d13e51f64672e79bb1c7 to your computer and use it in GitHub Desktop.
Add variation swatches template inside archive template price widget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'jet-woo-builder/template-functions/product-price', 'get_wvs_pro_archive_variation_template', 999, 1 ); | |
function get_wvs_pro_archive_variation_template( $html ) { | |
$wvs_archive_variation_template = wvs_pro_archive_variation_template(); | |
$html .= $wvs_archive_variation_template; | |
return '<div class="price">' . $html . '</div>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment