How to delete "from" text on collection page

RRJJ
Tourist
16 0 2

Hi Everyone, I want to delete "from" text on my collection page:

RRJJ_0-1631945154353.png

What should I do to change the code? Thanks!

Current code:

 

<div class="grid-product__price">
          {% if on_sale %}
            <span class="visually-hidden">{{ 'products.general.regular_price' | t }}</span>
            <span class="grid-product__price--original">{{ product.compare_at_price | money }}</span>
            <span class="visually-hidden">{{ 'products.general.sale_price' | t }}</span>
          {% endif %}
          {% if product.price_varies %}
            {% assign price = product.variants[0].price | money %}
            <span {% if on_sale %}class="sale-price"{% endif %}>
              {{ 'products.general.from_text_html' | t: price: price }}
            </span>
          {% else %}
            <span {% if on_sale %}class="sale-price"{% endif %}>
              {{ product.price  | money }}
            </span>
          {% endif %}

          {%- assign product_variant = product.selected_or_first_available_variant -%}
          {%- if product_variant.unit_price_measurement -%}
            <div class="product__unit-price">
              {%- capture unit_price_base_unit -%}
                {%- if product_variant.unit_price_measurement -%}
                  {%- if product_variant.unit_price_measurement.reference_value != 1 -%}
                    {{ product_variant.unit_price_measurement.reference_value }}
                  {%- endif -%}
                  {{ product_variant.unit_price_measurement.reference_unit }}
                {%- endif -%}
              {%- endcapture -%}

              {{ product_variant.unit_price | money }}/{{ unit_price_base_unit }}
            </div>
          {%- endif -%}
        </div>

 

 

0 Likes
dmwwebartisan
Shopify Partner
9200 2131 2901

@RRJJ 

Please share store URL.

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
0 Likes

hii, @RRJJ 
Kindly share your store URL so,
I can solve it perfectly.
Thank You.

If helpful, please Like and Accept Solution.
if you Want to modify or Customize your theme,
Hire us | Whatsapp. or Want to know more. Read our Shopify Blogs.Email us: sales@zworthkey.com
Buy me a coffee ☕ Donate Us
0 Likes
RRJJ
Tourist
16 0 2
dmwwebartisan
Shopify Partner
9200 2131 2901

@RRJJ 

I have checked your webshop but not dispaly "form" text in your collection page . please share collection page url.

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
0 Likes

Hi @RRJJ ,

Hope you are well.

Can you try removing the below code from the code that you have posted and save the file ?

'products.general.from_text_html' |

Hope that helps.

Thanks

- Want to modify or custom changes on store Hire me.
- Feel free to contact me on prasanna.mahamulkar@gmail.com regarding any help.
- If helpful then please Like and Accept Solution.
Shopify Frontend Web Developer | Whatsapp Me
0 Likes
suyash1
Shopify Partner
3484 386 564

@RRJJ - please check language settings.. if it is on collection then collection tab or otherwise product tab. you will have text in it

Need training? I can train you to learn shopify.

You are welcome to contact me, my email - suyash.patankar@gmail.com
0 Likes