Re: How to change word quantity ?

How can I alter the word quantity for a specific product?

MatasMo
Shopify Partner
29 2 3

Hello,

 

I want to change word quantity or ("Kiekis" - my native language) to other word. But I need to change it for this specific product only.

MatasMo_0-1685870277877.png

 

Replies 5 (5)

PageFly-Richard
Shopify Partner
4782 1082 1749

Hi @MatasMo 

This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:

In your shopify admin, click on "Online Store"

On your current theme click on action and select "Edit Languages"

Now your language section  will be opened, now select "Products" from the top panel bar.

Find "Quantity" field and change text according to your need.

And click on "Save" button.

Hope you find my answer helpful!

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

MatasMo
Shopify Partner
29 2 3

By doing this it changes the text on all of the products. I need it to change on one specific product.

PageFly-Richard
Shopify Partner
4782 1082 1749

you need to add some custom code to be able to do this or you can contact the theme you are using to ask for help.

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

pawankumar
Shopify Partner
627 93 115

Hi @MatasMo 
You can do that directly in code by using this trick
Go to snippet/section file from where this text is coming
and use liquid code like this

{% if product.handle == "Your specific product handle" %}
new text
{% else %}
Same as it is currently now
{% endif %}

You should have some knowledge of liquid to do that
The text can be in product.liquid, product-template.liquid or product-form.liquid file
Keep other text same just change quantity text conditionally
Thank you!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
JoesToes
Excursionist
19 1 6

I should love to do that to a range of products that are sold in pairs (some are not in pairs). People often worry I'm going to sell a single sole if they select a quantity of "1" ! for a pair of soles.