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>

 

 

Replies 6 (6)
dmwwebartisan
Shopify Partner
10710 2339 3324

@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 →
Zworthkey
Shopify Partner
5581 641 1500

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

If helpful, please Like and Accept Solution. Hire Us |
if you Want to modify or Customize your theme | Whatsapp | Email us: sales@zworthkey.com
Top Rated Shopify Agency, | We have Over 200+ Happy merchants.
Build Successful Shopify Stores with GemPages
RRJJ
Tourist
16 0 2
dmwwebartisan
Shopify Partner
10710 2339 3324

@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 →
prasanna1991
Excursionist
18 6 7

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
suyash1
Shopify Partner
5343 618 882

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

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30, to build shopify pages use pagefly