How to fix duplicated price display after disabling multicurrency addons?

After trying some multicurrency addons (currently disabled) my price display is duplicated and show an {{amount}} text:

Here is my product_price.liquid

{%- liquid
assign variant_unit = product.variants.first
assign pid = product.id
assign hd_up = 'group-' |append:pid
assign nav_up = linklists[hd_up].links | where:'type','product_link'
assign nav_up_size = nav_up.size -%}

{%- if nav_up_size == 0 and variant_unit.unit_price_measurement -%}
   {%- if variant_unit.compare_at_price > variant_unit.price -%}<del>{{ variant_unit.compare_at_price  | money }}</del><ins>{{ variant_unit.price | money }}</ins>{%- else -%}{{ variant_unit.price | money }}{%- endif -%}
   {%- capture unit_price_base_unit -%}
    
      {%- if variant_unit.unit_price_measurement -%}
        {%- if variant_unit.unit_price_measurement.reference_value != 1 -%}
          {{- variant_unit.unit_price_measurement.reference_value -}}
        {%- endif -%}
        {{ variant_unit.unit_price_measurement.reference_unit }}
      {%- endif -%}
    
   {%- endcapture -%}
   
{{ variant_unit.unit_price | money }}/{{- unit_price_base_unit -}}

{%- elsif inc_price == '1' -%}
  {%- if nav_up_size > 0 -%}{{ product.price | money }}{%- if product.compare_at_price != blank -%} – {{ product.compare_at_price | money }}{%- endif -%}
  {%- else -%}
    {%- if product.price_varies -%}{{ product.price_min | money }} – {{ product.price_max | money }}
    {%- elsif product.compare_at_price > product.price -%}<del>{{ product.compare_at_price  | money }}</del><ins>{{ product.price | money }}</ins>
    {%- else -%}{{ product.price | money }}
    {%- endif -%}
  {%- endif -%}

{%- else -%}

  {%- if nav_up_size > 0 -%}{{ 'products.product.from' | t }} {{ product.price | money }}
  {%- else -%}
    {%- if product.price_varies -%}{{ 'products.product.from' | t }} {{ product.price_min | money }}
    {%- elsif product.compare_at_price > product.price -%}<del>{{ product.compare_at_price  | money }}</del><ins>{{ product.price | money }}</ins>
    {%- else -%}{{ product.price | money }}
    {%- endif -%}
  {%- endif -%}
{%- endif -%}

an example:

https://techlifestyle.pe/products/skin-carbon-black-para-iphone-14-pro-max

1 Like

Hi @Techlife

I do not see the responsible code in the code you provided. It looks like it was done with javascript code.

You can find the code and just delete it, or you can follow the instructions below to hide it.

  1. From your Admin Page, click Online Store > Themes >Actions > Edit code
  2. In the Asset folder, open the theme.scss.css
  3. Paste the code below at the very bottom of the file.
.nt_cart_form.variations_form span.price.price_varies {
    display: none;
}
1 Like

Thanks!

I didn’t found ‘theme.scss.css’ only ‘theme.scss.liquid’. I’ve pasted the provided code at the very bottom of theme.scss.liquid but it didn’t fixed it.

I’m using the gecko theme at the moment.

Here are others files named ‘theme’ I found using the search function.

Is there a way I could find where is the culprit javascript code?