Essentially I am trying to figure out where variation data is calculated and displayed into the html when a user makes her selection. This is my shop link.
The specific Price I am refering to:
Basically I want to find out where this data is plugged in and where I can modify it.
That the data is imported by some JS in the template single-product/add-to-cart/variation.php
:
<div class="woocommerce-variation-price">
{{{ data.variation.price_html }}}
</div>
My end goal is to simply modify how the sale & price are displayed, maybe prefix them with something like Price:
and Sale:
.
WP Version: 4.9.1
WC Version: 3.2.6
Theme: Flatsome3 v3.3.9