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

#   Where are error messages encoded?

##

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

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 1 month ago [\#281120](#281120) by [Jim](/forum/user/48118-jim "View Jim's Profile")  *[Where are error messages encoded?](/forum/27-checkout/892493-where-are-error-messages-encoded#281120 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.8.1  When I enter a false address in checkout I get an error.  But the error message is without color. Due to an error in the coding. In Bootstrap 3 the don't user class &quot;alert-error&quot; anymore. There is uses class &quot;alert-danger&quot;.  Where is the code in HikaShop placed, so I can correct it.")* was created by *[Jim](/forum/user/48118-jim "View Jim's Profile")*

-- HikaShop version -- : 3.2
-- Joomla version -- : 3.8.1

When I enter a false address in checkout I get an error.

But the error message is without color. Due to an error in the coding. In Bootstrap 3 the don't user class "alert-error" anymore. There is uses class "alert-danger".

Where is the code in HikaShop placed, so I can correct it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MjQ5My13aGVyZS1hcmUtZXJyb3ItbWVzc2FnZXMtZW5jb2RlZD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

9 years 1 month ago [\#281136](#281136) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Where are error messages encoded?](/forum/27-checkout/892493-where-are-error-messages-encoded#281136 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.8.1  When I enter a false address in checkout I get an error.  But the error message is without color. Due to an error in the coding. In Bootstrap 3 the don't user class &quot;alert-error&quot; anymore. There is uses class &quot;alert-danger&quot;.  Where is the code in HikaShop placed, so I can correct it.")*

Hi,

If you have error messages with "alert-error", it indicates that you've activated the "use bootstrap design" setting of the HikaShop configuration so that HikaShop output HTML with bootstrap 2 classes, which are what the default Joomla template supports.
If you turn off that setting, HikaShop will use its own classes with its own CSS to display the messages and thus it will display correctly regardless of what your template is using.

If you want to keep the "use bootstrap design" setting activated but want to modify the class used, then you'll have to edit the function hikashop_display in the file administrator/components/com_hikashop/helpers/helper.php
However, I don't recommend that since you'll loose the change each time you update your HikaShop.

The following user(s) said Thank You: [Jim](/forum/user/48118-jim "View Jim's Profile")

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 1 month ago [\#281179](#281179) by [Jim](/forum/user/48118-jim "View Jim's Profile")  Replied by *[Jim](/forum/user/48118-jim "View Jim's Profile")* on topic *[Where are error messages encoded?](/forum/27-checkout/892493-where-are-error-messages-encoded#281179 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.8.1  When I enter a false address in checkout I get an error.  But the error message is without color. Due to an error in the coding. In Bootstrap 3 the don't user class &quot;alert-error&quot; anymore. There is uses class &quot;alert-danger&quot;.  Where is the code in HikaShop placed, so I can correct it.")*

Hi Nicolas,

thanks for the clarification.

But I need to ask. You said

> "use bootstrap design" setting of the HikaShop configuration so that HikaShop output HTML with bootstrap 2 classes, which are what the default Joomla template supports.

.

Joomla 3.8.1 is already on Bootstrap 3 and in Bootstrap 3 there is no more alert-error there it's named alert-danger. So why are still Bootstrap 2 classes used?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MjQ5My13aGVyZS1hcmUtZXJyb3ItbWVzc2FnZXMtZW5jb2RlZD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

9 years 1 month ago [\#281181](#281181) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Where are error messages encoded?](/forum/27-checkout/892493-where-are-error-messages-encoded#281181 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.8.1  When I enter a false address in checkout I get an error.  But the error message is without color. Due to an error in the coding. In Bootstrap 3 the don't user class &quot;alert-error&quot; anymore. There is uses class &quot;alert-danger&quot;.  Where is the code in HikaShop placed, so I can correct it.")*

Hi,

As I said, by default that setting is turned off and HikaShop uses it's own classes. That setting is only for people still using a template with boostrap 2 so that they can keep the interface looking like before. That's why that setting is in the "legacy" section of the configuration.
If you read the documentation for that option we say in bold:

> Since HikaShop 3.0.0, this option is not useful anymore as views are automatically responsive regardless of Bootstrap. However, if you're updating HikaShop from an older version, this option might still be useful for old view overrides you might have.

[ www.hikashop.com/support/documentation/5...html#advanced\_legacy](https://www.hikashop.com/support/documentation/54-hikashop-config.html#advanced_legacy)

The following user(s) said Thank You: [Jim](/forum/user/48118-jim "View Jim's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MjQ5My13aGVyZS1hcmUtZXJyb3ItbWVzc2FnZXMtZW5jb2RlZD90bXBsPW1hcmtkb3du) 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.050 seconds

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