Hello all,
i try to add 19% to prices. Im currently at product.price.liquid
##
{% if product.selected_or_first_available_variant.price > 0 %}{% if settings.currency_enable %}{{ product.selected_or_first_available_variant.price | money_with_currency }}{% else %}{{ product.selected_or_first_available_variant.price | money }}{% endif %}{% else %}{{ 'products.product.free' | t }}{% endif %}{% if product.selected_or_first_available_variant.compare_at_price > product.selected_or_first_available_variant.price %} <del>{% if settings.currency_enable %}{{ product.selected_or_first_available_variant.compare_at_price | money_with_currency }}{% else %}{{ product.selected_or_first_available_variant.compare_at_price | money }}{% endif %}</del>{% endif %}
{{ 'products.product.savings' | t }} {% if settings.currency_enable %}{{ product.selected_or_first_available_variant.compare_at_price | minus: product.selected_or_first_available_variant.price | money_with_currency }}{% else %}{{ product.selected_or_first_available_variant.compare_at_price | minus: product.selected_or_first_available_variant.price | money_without_trailing_zeros }}{% endif %}
{%- liquid
if shop.taxes_included or shop.shipping_policy.body != blank
echo '
<small><strong>'
if shop.taxes_included
echo 'products.product.include_taxes' | t
endif
if shop.taxes_included and shop.shipping_policy.body != blank
echo ''
endif
if shop.shipping_policy.body != blank
echo 'products.product.shipping_policy_html' | t: link: shop.shipping_policy.url
endif
echo '</strong></small>
'
endif
assign variant = product.selected_or_first_available_variant
-%}
{%- render 'product.unitPrice', variant: product.selected_or_first_available_variant -%}
I first used a metafield with " {{ product.price | times: 1.19 | money_without_trailing_zeros }} " and that worked well, so i thought i could use " | times: 1.19 " at " {% else %}{{ product.selected_or_first_available_variant.price | times: 1.19 | money }} " to show the correct price directly. But nothing works and the price dosent change at all. Anyone could tell me my mistake? ![]()