Hi @thesilverforge,
In looking more into it, I think the following would be best:
<script type="text/javascript">
jQuery(".mp_product_price").contents().filter(function(){ return this.nodeType != 1; }).remove();
</script>
Now, there are at least 2 ways to add this, but I’m only going to mention what I think is the simplest.
You can add the following as a code snippet:
add_action('wp_footer', 'mp_hide_price_text');
function mp_hide_price_text() {
wp_enqueue_script( 'jquery' );
?>
<script type="text/javascript">
jQuery(".mp_product_price").contents().filter(function(){ return this.nodeType != 1; }).remove();
</script>
<?php }
Esiest done using this:
https://www.ads-software.com/plugins/code-snippets/
You basically just:
1. Go to Snippets > Add New.
2. Give it a name and copy-paste in the above.
3. Save and Activate it!
How’s that work for ya?
Cheers,
David