how to remove INR from price filters? ONLY WANT to keep rupees symbol
URL : https://a6b804-0a.myshopify.com/collections/bellay-descent
how to remove INR from price filters? ONLY WANT to keep rupees symbol
URL : https://a6b804-0a.myshopify.com/collections/bellay-descent
Hey there,
To remove the “INR” from price filters and only keep the rupees symbol, follow these steps:
Go to Theme Code:
Add Custom CSS:
/* Hide the INR text */
.input-prefix .prefix {
display: none !important;
}
/* Center-align digits and adjust input */
.input-prefix .field {
text-align: center !important;
width: 60px !important;
padding: 5px !important;
}
/* Optional: Remove spinner buttons for cleaner look */
.input-prefix .field::-webkit-outer-spin-button,
.input-prefix .field::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.input-prefix .field {
-moz-appearance: textfield;
}
This will hide the “INR” text and adjust the alignment and appearance of the price filter input fields. Let me know if you need any further assistance!
Cheers!
Shubham | Untechnickle
Rupee Symbol Also Got Disappeared
No worries. Let’s handle this scenario the other way and not use any CSS. Please remove the CSS that you’ve added and follow the steps below:
₹
You’ll find two instances where the currency symbol is being displayed (for the “from” and “to” inputs). Make sure to update both.
Before:
{{ cart.currency.symbol }}{% if settings.currency_code_enabled %}{{ cart.currency.iso_code }}{% endif %}
After:
₹
After you’ve replaced the {{ cart.currency.symbol }} with ₹ in both locations, click the Save button in the top right corner.
Feel free to ask any further questions or share if you encounter issues during the process!
Cheers!
SV | Untechnickle