Suddenly there was a badge "Sold Out" for all items in the store

Hi guys (sorry in advance for my english)

I am using debut theme. I have connected the application to printify (print on demand). That is, I do not have a warehouse / inventory.
After receiving the order, it is automatically printed at the printify. In the properties of the product, in the inventory selected - Inventory managed by (Printify) and unchecked Track quantity.

Everything was OK. )
But I decided to replace the “Sale” badge with “You Save…”. And I started looking at the code - product-price.liquid & product-price-listing.liquid

I don’t remember what I could have done, but then a “Sold Out” badge appeared on all the discounted items. -
Best In Black T-Shirt  My Legendary Tee 2021-01-13 15-11-48.png

All products without discounts now have both “Sold Out” and "You Save" -
Black is My Happy Colour T-Shirt  My Legendary Tee 2021-01-13 15-10-53.png

Now I don’t know how to fix it. I would be grateful for your help!

My files product-price.liquid:

{% comment %}
    Renders a list of product's price (regular, sale, unit)
    Accompanies product forms and meant to be updated dynamically
    Accepts:
    - variant: {Object} Variant Liquid object (optional)
    - product: {Object} Product Liquid object (optional)
    - show_vendor: {Boolean} Show the product's vendor depending on the section setting (optional)

    Usage:
    {% include 'product-price', variant: current_variant, product: product %}
{% endcomment %}
{%- liquid
  if variant.title
    assign compare_at_price = variant.compare_at_price
    assign price = variant.price
    assign available = variant.available
  else
    assign compare_at_price = 1999
    assign price = 1999
    assign available = true
  endif

  assign money_price = price | money
-%}

<dl>

  {% if show_vendor and product %}
    

      <dt>
        {{ 'products.product.vendor' | t }}
      </dt>
      <dd>
        {{ product.vendor }}
      </dd>
    

  {% endif %}

  {%- comment -%}
    Explanation of description list:
      - div.price__regular: Displayed when there are no variants on sale
      - div.price__sale: Displayed when a variant is a sale
      - div.price__unit: Displayed when the first variant has a unit price
      - div.price__availability: Displayed when the product is sold out
  {%- endcomment -%}
  
    

      <dt>
        {{ 'products.product.regular_price' | t }}
      </dt>
      <dd>
        
          {{ money_price }}
        
      </dd>
    

    
      <dt>
        {{ 'products.product.sale_price' | t }}
      </dt>
      <dd>
        
          {{ money_price }}
        
      </dd>
      <dt>
        {{ 'products.product.regular_price' | t }}
      </dt>
      <dd>
        <s>
          {{ compare_at_price | money }}
        </s>
      </dd>
    

 
       
         {{ 'products.product.on_sale' | t }}
       
       
         {{ 'products.product.sold_out' | t }}
       
     

  
 
  
    <dt>
      {{ 'products.product.unit_price_label' | t }}
    </dt>
    <dd>
      {%- capture unit_price_separator -%}
        /{{ 'general.accessibility.unit_price_separator' | t }} 
      {%- endcapture -%}
      {%- capture unit_price_base_unit -%}
        
          {%- if variant.unit_price_measurement -%}
            {%- if variant.unit_price_measurement.reference_value != 1 -%}
              {{- variant.unit_price_measurement.reference_value -}}
            {%- endif -%}
            {{ variant.unit_price_measurement.reference_unit }}
          {%- endif -%}
        
      {%- endcapture -%}

      {{ variant.unit_price | money }}{{- unit_price_separator -}}{{- unit_price_base_unit -}}
    </dd>
  

</dl>

product-price-listing.liquid

{% comment %}
    Renders a list of product's price (regular, sale, unit)
    Accompanies product listings (collection page, search result) and not updated dynamically
    Accepts:
    - variant: {Object} Variant Liquid object (optional)
    - product: {Object} Product Liquid object (optional)
    - show_vendor: {Boolean} Show the product's vendor depending on the section setting (optional)

    Usage:
    {% include 'product-price-listing', product: product %}
{% endcomment %}
{%- liquid
  if product.title
    assign compare_at_price = product.compare_at_price
    assign price = product.price
    assign available = product.available
    assign variant = product.variants.first
  else
    assign compare_at_price = 1999
    assign price = 1999
    assign available = true
  endif

  assign money_price = price | money
-%}

<dl>
  {% if show_vendor and product %}
    

      <dt>
        {{ 'products.product.vendor' | t }}
      </dt>
      <dd>
        {{ product.vendor }}
      </dd>
    

  {% endif %}

  {%- comment -%}
    Explanation of description list:
      - div.price__regular: Displayed when there are no variants on sale
      - div.price__sale: Displayed when a variant is a sale
      - div.price__unit: Displayed when the first variant has a unit price
      - div.price__availability: Displayed when the product is sold out
  {%- endcomment -%}
  
    <dt>
      {{ 'products.product.regular_price' | t }}
    </dt>
    <dd>
      
        {%- if product.price_varies -%}
          {{ 'products.product.from_lowest_price_html' | t: lowest_price: money_price }}
        {%- else -%}
          {{ money_price }}
        {%- endif -%}
      
    </dd>
  

  
    <dt>
      {{ 'products.product.sale_price' | t }}
    </dt>
    <dd>
      
        {%- if product.price_varies -%}
          {{ 'products.product.from_lowest_price_html' | t: lowest_price: money_price }}
        {%- else -%}
          {{ money_price }}
        {%- endif -%}
      
    </dd>
    
      <dt>
        {{ 'products.product.regular_price' | t }}
      </dt>
      <dd>
        <s>
          {{ compare_at_price | money }}
        </s>
      </dd>
    

  

  
    <dt>
      {{ 'products.product.unit_price_label' | t }}
    </dt>
    <dd>
      {%- capture unit_price_separator -%}
        /{{ 'general.accessibility.unit_price_separator' | t }} 
      {%- endcapture -%}
      {%- capture unit_price_base_unit -%}
        
          {%- if variant.unit_price_measurement -%}
            {%- if variant.unit_price_measurement.reference_value != 1 -%}
              {{- variant.unit_price_measurement.reference_value -}}
            {%- endif -%}
            {{ variant.unit_price_measurement.reference_unit }}
          {%- endif -%}
        
      {%- endcapture -%}

      {{ variant.unit_price | money }}{{- unit_price_separator -}}{{- unit_price_base_unit -}}
    </dd>
  

I am trying to fix the problem, but so far no results
Maybe someone have some tips?