[Skip to main content](#vessel-content)

#   Product characteristic 'M-M' automatically converted to 'mm'

##

- **[sixdeuces](/forum/user/40002-sixdeuces "View sixdeuces's Profile")**
- [![sixdeuces's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40002-sixdeuces "View sixdeuces's Profile") Topic Author
- [ Offline](/forum/user/40002-sixdeuces)

Less More

- Posts: 31
- Thank you received: 2
-
-

7 years 1 week ago [\#312874](#312874) by [sixdeuces](/forum/user/40002-sixdeuces "View sixdeuces's Profile")  *[Product characteristic 'M-M' automatically converted to 'mm'](/forum/32-content-creation/898638-product-characteristic-m-m-automatically-converted-to-mm#312874 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.24 -- Browser(s) name and version -- : Chrome  As the title states, I have a product characteristic of the string 'M-M'. This is shorthand for &quot;Mens Medium&quot;. It saves with no problem, but when displayed on the front end it gets converted to 'mm'. Other values in the same characteristic such as 'M-XL' and 'M-XXS' are not affected.  I assume it's trying to auto-correct it to millimeters. Is there a way to disable this behavior?")* was created by *[sixdeuces](/forum/user/40002-sixdeuces "View sixdeuces's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.2.24
-- Browser(s) name and version -- : Chrome

As the title states, I have a product characteristic of the string 'M-M'. This is shorthand for "Mens Medium". It saves with no problem, but when displayed on the front end it gets converted to 'mm'. Other values in the same characteristic such as 'M-XL' and 'M-XXS' are not affected.

I assume it's trying to auto-correct it to millimeters. Is there a way to disable this behavior?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk4NjM4LXByb2R1Y3QtY2hhcmFjdGVyaXN0aWMtbS1tLWF1dG9tYXRpY2FsbHktY29udmVydGVkLXRvLW1tP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 6 days ago -  7 years 6 days ago [\#312875](#312875) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Product characteristic 'M-M' automatically converted to 'mm'](/forum/32-content-creation/898638-product-characteristic-m-m-automatically-converted-to-mm#312875 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.24 -- Browser(s) name and version -- : Chrome  As the title states, I have a product characteristic of the string 'M-M'. This is shorthand for &quot;Mens Medium&quot;. It saves with no problem, but when displayed on the front end it gets converted to 'mm'. Other values in the same characteristic such as 'M-XL' and 'M-XXS' are not affected.  I assume it's trying to auto-correct it to millimeters. Is there a way to disable this behavior?")*

Hello,

Yes, you right it's converted and translated automatically, what you have to do is create in your language file a new translation as this example :
**"MY\_MM"="m-m"**

Hope this will fit your needs !
Regards

Last edit: 7 years 6 days ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk4NjM4LXByb2R1Y3QtY2hhcmFjdGVyaXN0aWMtbS1tLWF1dG9tYXRpY2FsbHktY29udmVydGVkLXRvLW1tP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

7 years 6 days ago -  7 years 6 days ago [\#312889](#312889) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Product characteristic 'M-M' automatically converted to 'mm'](/forum/32-content-creation/898638-product-characteristic-m-m-automatically-converted-to-mm#312889 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.24 -- Browser(s) name and version -- : Chrome  As the title states, I have a product characteristic of the string 'M-M'. This is shorthand for &quot;Mens Medium&quot;. It saves with no problem, but when displayed on the front end it gets converted to 'mm'. Other values in the same characteristic such as 'M-XL' and 'M-XXS' are not affected.  I assume it's trying to auto-correct it to millimeters. Is there a way to disable this behavior?")*

> Philip wrote: **"MY\_MM"= m-m**

Sorry, but that's wrong syntax. It must be Code:

M-M="M-M"

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Last edit: 7 years 6 days ago by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk4NjM4LXByb2R1Y3QtY2hhcmFjdGVyaXN0aWMtbS1tLWF1dG9tYXRpY2FsbHktY29udmVydGVkLXRvLW1tP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

7 years 6 days ago -  7 years 6 days ago [\#312890](#312890) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Product characteristic 'M-M' automatically converted to 'mm'](/forum/32-content-creation/898638-product-characteristic-m-m-automatically-converted-to-mm#312890 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.24 -- Browser(s) name and version -- : Chrome  As the title states, I have a product characteristic of the string 'M-M'. This is shorthand for &quot;Mens Medium&quot;. It saves with no problem, but when displayed on the front end it gets converted to 'mm'. Other values in the same characteristic such as 'M-XL' and 'M-XXS' are not affected.  I assume it's trying to auto-correct it to millimeters. Is there a way to disable this behavior?")*

Actually, I just checked, and it must come from the HikaShop translation *MM="mm"* as used for the month in credit card details.
So, you want to make your translation override Code:

MM="M-M"

trusting that you won't use the related credit card payment method ![;)](/media/kunena/emoticons/24.png ";)")

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Last edit: 7 years 6 days ago by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk4NjM4LXByb2R1Y3QtY2hhcmFjdGVyaXN0aWMtbS1tLWF1dG9tYXRpY2FsbHktY29udmVydGVkLXRvLW1tP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

7 years 6 days ago [\#312898](#312898) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product characteristic 'M-M' automatically converted to 'mm'](/forum/32-content-creation/898638-product-characteristic-m-m-automatically-converted-to-mm#312898 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.24 -- Browser(s) name and version -- : Chrome  As the title states, I have a product characteristic of the string 'M-M'. This is shorthand for &quot;Mens Medium&quot;. It saves with no problem, but when displayed on the front end it gets converted to 'mm'. Other values in the same characteristic such as 'M-XL' and 'M-XXS' are not affected.  I assume it's trying to auto-correct it to millimeters. Is there a way to disable this behavior?")*

Hi,

Philip was indeed missing the double quotes in his message. I've edited it.
And yes, you want to create your own override, that's why Philip was recommanding using the MY_MM key so that you can then replace M-M in the characteristic by MY_MM so that the translation system will replace MY_MM by M-M on the frontend.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk4NjM4LXByb2R1Y3QtY2hhcmFjdGVyaXN0aWMtbS1tLWF1dG9tYXRpY2FsbHktY29udmVydGVkLXRvLW1tP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.065 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
