A4 template – Real price and discount price displaying
-
Hello,
i need modify this piece of code to display regular price and discount price:
{%- if not OPTIONS.wcTicketDontDisplayPrice -%}
{{ OPTIONS.wcTicketTransPrice|escape(‘wp_kses_post’) }}
{{ wc_price(ORDER_ITEM.get_subtotal + ORDER_ITEM.get_subtotal_tax) }}
{% if PRODUCT.get_price != ORDER_ITEM.get_subtotal %}
{{ OPTIONS.wcTicketTransProductPrice|escape(‘wp_kses_post’) }} {{ wc_price(PRODUCT.get_price) }}
{% endif %}
{% endif %}I need help on what extra code do I need to add so, the first Price is regular one – Price with discount is with discount.
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘A4 template – Real price and discount price displaying’ is closed to new replies.