How to cut ".00" from class ".woocommerce-Price-amount" using javascript. There must be a space at the end of the amount.
<div class="elementor-shortcode">
Free shipping from
<span class="woocommerce-Price-amount amount">
<bdi>100,00
<span class="woocommerce-Price-currencySymbol">USD</span> </bdi>
</span>.
</div>
2
Answers
You can use split for this try this one,
Do you want something like that?