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

#   Two equal CSS files

##

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

Less More

- Posts: 152
- Thank you received: 11
-
-

3 years 6 months ago [\#351846](#351846) by [gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")  *[Two equal CSS files](/forum/35-orders-management/906424-two-equal-css-files#351846 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.1 -- PHP version -- : 8.0.28 -- Browser(s) name and version -- : Chrome  When in HikaShop Cart notification Plugin, i set Popup in Display location option I see two new css files. notify-metro.css is the same as notify-metro.css?v=472 I think it is useless to upload two identical files")* was created by *[gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")*

-- HikaShop version -- : 4.7.2
-- Joomla version -- : 4.3.1
-- PHP version -- : 8.0.28
-- Browser(s) name and version -- : Chrome

When in HikaShop Cart notification Plugin, i set Popup in Display location option I see two new css files.
notify-metro.css is the same as notify-metro.css?v=472
I think it is useless to upload two identical files

[ ![hika&#95;2023-05-19.jpg](/forum/attachment/57077) ](/forum/attachment/57077 "...2023-05-19.jpg")

- [ ![hika&#95;2023-05-19.jpg](/forum/attachment/57077) ](/forum/attachment/57077 "...2023-05-19.jpg") [ ](/forum/attachment/57077?download=1 "...2023-05-19.jpg")

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

3 years 6 months ago [\#351848](#351848) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Two equal CSS files](/forum/35-orders-management/906424-two-equal-css-files#351848 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.1 -- PHP version -- : 8.0.28 -- Browser(s) name and version -- : Chrome  When in HikaShop Cart notification Plugin, i set Popup in Display location option I see two new css files. notify-metro.css is the same as notify-metro.css?v=472 I think it is useless to upload two identical files")*

Hi,

Indeed, that's a nice catch.
The line:
$doc-&gt;addStyleSheet($base.'/media/com_hikashop/css/notify-metro.css');
in the file plugins/hikashop/cartnotify/cartnotify.php should be removed. It serves no purpose there. It's just a wrong copy/paste.
Remove it and it should still all work the same while not having the file loaded twice.
We'll make that change on our end for the next version of HikaShop.
Thanks !

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

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

Less More

- Posts: 152
- Thank you received: 11
-
-

3 years 6 months ago [\#351860](#351860) by [gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")  Replied by *[gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")* on topic *[Two equal CSS files](/forum/35-orders-management/906424-two-equal-css-files#351860 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.1 -- PHP version -- : 8.0.28 -- Browser(s) name and version -- : Chrome  When in HikaShop Cart notification Plugin, i set Popup in Display location option I see two new css files. notify-metro.css is the same as notify-metro.css?v=472 I think it is useless to upload two identical files")*

Is it possible to create plugin overrides?

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

3 years 6 months ago [\#351863](#351863) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Two equal CSS files](/forum/35-orders-management/906424-two-equal-css-files#351863 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.1 -- PHP version -- : 8.0.28 -- Browser(s) name and version -- : Chrome  When in HikaShop Cart notification Plugin, i set Popup in Display location option I see two new css files. notify-metro.css is the same as notify-metro.css?v=472 I think it is useless to upload two identical files")*

No. There is no such mechanism in Joomla. If you want to modify the code of a plugin in a way that won't be overwritten during updates of the plugin, the only solution is to make a copy of the plugin and change the name of the plugin. Then, you can disable the one provided by the developer, and use instead your copy, which won't be updated in the future.

However, this does not apply here. You can directly modify the file since we'll add the change on our end for the next version of HikaShop. So no need for an override.
And if you don't know how to do the change, you can just wait for the update of HikaShop, which will include the change. It will be out in June.

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

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