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

#   make it possible to override checkout block &gt; userpoints\_checkout.php

##

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

Less More

- Posts: 103
- Thank you received: 5
-
-

7 years 7 months ago [\#305751](#305751) by [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")  *[make it possible to override checkout block &gt; userpoints\_checkout.php](/forum/27-checkout/897306-make-it-possible-to-override-checkout-block-userpoints-checkout-php#305751 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.2  i have to came back to this discussion:   www.hikashop.com/forum/4-how-to/895601-o...r-points-plugin.html  i only need to modify the CHECKOUT design block of this file: plugins/hikashop/userpoints/userpoints&#95;checkout.php please improve this behavior so that also this file can be overwritten in &quot;views&quot;.  i made my modifications on 4.0.1 and now guess what i forgot about it on the update to 4.0.3. i can modify very other block part of the checkout, put this one from userpoints are not yet possible. please make this also possible to override under views, so that updates can be made without lose of modifications.")* was created by *[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")*

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.5
-- PHP version -- : 7.2

i have to came back to this discussion:
[ www.hikashop.com/forum/4-how-to/895601-o...r-points-plugin.html](https://www.hikashop.com/forum/4-how-to/895601-override-user-points-plugin.html)

i only need to modify the CHECKOUT design block of this file: plugins/hikashop/userpoints/userpoints_checkout.php
please improve this behavior so that also this file can be overwritten in "views".

i made my modifications on 4.0.1 and now guess what i forgot about it on the update to 4.0.3. i can modify very other block part of the checkout, put this one from userpoints are not yet possible. please make this also possible to override under views, so that updates can be made without lose of modifications.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NzMwNi1tYWtlLWl0LXBvc3NpYmxlLXRvLW92ZXJyaWRlLWNoZWNrb3V0LWJsb2NrLXVzZXJwb2ludHMtY2hlY2tvdXQtcGhwP3RtcGw9bWFya2Rvd24=) 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: 14326
-
-

7 years 7 months ago [\#305752](#305752) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[make it possible to override checkout block &gt; userpoints\_checkout.php](/forum/27-checkout/897306-make-it-possible-to-override-checkout-block-userpoints-checkout-php#305752 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.2  i have to came back to this discussion:   www.hikashop.com/forum/4-how-to/895601-o...r-points-plugin.html  i only need to modify the CHECKOUT design block of this file: plugins/hikashop/userpoints/userpoints&#95;checkout.php please improve this behavior so that also this file can be overwritten in &quot;views&quot;.  i made my modifications on 4.0.1 and now guess what i forgot about it on the update to 4.0.3. i can modify very other block part of the checkout, put this one from userpoints are not yet possible. please make this also possible to override under views, so that updates can be made without lose of modifications.")*

Hi,

This other thread is about changing some core function of the plugin, not a view of the plugin and in that case, the only solution is duplicating the whole plugin which is a bit more complex than just doing an override of the view file.
The updates can already be made without loosing the modifications to that view file. To do that, you want to copy the file plugins/hikashop/userpoints/userpoints_checkout.php to templates/YOUR_TEMPLATE/plg_hikashop_userpoints/checkout.php and modify the copy of that file.
It's not compatible with the Display&gt;Views menu as that menu supports the standard Joomla view override system which is only for components and modules, not plugins.

The following user(s) said Thank You: [kyratn](/forum/user/38342-kyratn "View kyratn's Profile"), [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

7 years 7 months ago [\#305770](#305770) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[make it possible to override checkout block &gt; userpoints\_checkout.php](/forum/27-checkout/897306-make-it-possible-to-override-checkout-block-userpoints-checkout-php#305770 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.2  i have to came back to this discussion:   www.hikashop.com/forum/4-how-to/895601-o...r-points-plugin.html  i only need to modify the CHECKOUT design block of this file: plugins/hikashop/userpoints/userpoints&#95;checkout.php please improve this behavior so that also this file can be overwritten in &quot;views&quot;.  i made my modifications on 4.0.1 and now guess what i forgot about it on the update to 4.0.3. i can modify very other block part of the checkout, put this one from userpoints are not yet possible. please make this also possible to override under views, so that updates can be made without lose of modifications.")*

Hi,

Well in that topic i also was asking about view override of that file ![:)](/media/kunena/emoticons/3.png ":)") Great to know that it is possible ...

Does notify plugin have some view override posibility too? So we could change some html of the popups without losing it after update?

Thanks

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

7 years 7 months ago [\#305788](#305788) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[make it possible to override checkout block &gt; userpoints\_checkout.php](/forum/27-checkout/897306-make-it-possible-to-override-checkout-block-userpoints-checkout-php#305788 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.2  i have to came back to this discussion:   www.hikashop.com/forum/4-how-to/895601-o...r-points-plugin.html  i only need to modify the CHECKOUT design block of this file: plugins/hikashop/userpoints/userpoints&#95;checkout.php please improve this behavior so that also this file can be overwritten in &quot;views&quot;.  i made my modifications on 4.0.1 and now guess what i forgot about it on the update to 4.0.3. i can modify very other block part of the checkout, put this one from userpoints are not yet possible. please make this also possible to override under views, so that updates can be made without lose of modifications.")*

Hi,

It seems there is some issue with the override.

I have created view override as per instructions:

> To do that, you want to copy the file plugins/hikashop/userpoints/userpoints\_checkout.php to templates/YOUR\_TEMPLATE/plg\_hikashop\_userpoints/checkout.php and modify the copy of that file.

However, after trying to use points ( clicking on "Do you want to use these points ? -&gt; YES" ) the points view disappears of the screen and nothing happens. After reloading page, it appears again but still same behiviour....

Tried with:

HikaShop Business 4.0.3 [1904081548]
Protostar template
Copied default userpoints_checkout.php with no modifications....

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NzMwNi1tYWtlLWl0LXBvc3NpYmxlLXRvLW92ZXJyaWRlLWNoZWNrb3V0LWJsb2NrLXVzZXJwb2ludHMtY2hlY2tvdXQtcGhwP3RtcGw9bWFya2Rvd24=) 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: 14326
-
-

7 years 7 months ago [\#305806](#305806) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[make it possible to override checkout block &gt; userpoints\_checkout.php](/forum/27-checkout/897306-make-it-possible-to-override-checkout-block-userpoints-checkout-php#305806 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.2  i have to came back to this discussion:   www.hikashop.com/forum/4-how-to/895601-o...r-points-plugin.html  i only need to modify the CHECKOUT design block of this file: plugins/hikashop/userpoints/userpoints&#95;checkout.php please improve this behavior so that also this file can be overwritten in &quot;views&quot;.  i made my modifications on 4.0.1 and now guess what i forgot about it on the update to 4.0.3. i can modify very other block part of the checkout, put this one from userpoints are not yet possible. please make this also possible to override under views, so that updates can be made without lose of modifications.")*

Hi,

1. The notify plugin doesn't have any views. The HTML of the popup is in the javascript file of the notify.js javascript library the plugin is using. It's indeed a shame that it is hard coded in the javascript.

2. So do you mean that without that view override you don't have the problem ?
To me, your issue looks unrelated to the view override. We would need to look at the issue (after you open a new thread please) directly on the website.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

7 years 7 months ago [\#305817](#305817) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[make it possible to override checkout block &gt; userpoints\_checkout.php](/forum/27-checkout/897306-make-it-possible-to-override-checkout-block-userpoints-checkout-php#305817 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.2  i have to came back to this discussion:   www.hikashop.com/forum/4-how-to/895601-o...r-points-plugin.html  i only need to modify the CHECKOUT design block of this file: plugins/hikashop/userpoints/userpoints&#95;checkout.php please improve this behavior so that also this file can be overwritten in &quot;views&quot;.  i made my modifications on 4.0.1 and now guess what i forgot about it on the update to 4.0.3. i can modify very other block part of the checkout, put this one from userpoints are not yet possible. please make this also possible to override under views, so that updates can be made without lose of modifications.")*

Hi,

1. indeed it's a shame that this plugin has no view. Would be greate to have it so we could easy customize it.

2. Found the issue. It was .htaccess file causing cross-origin issue....

Thanks for help!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NzMwNi1tYWtlLWl0LXBvc3NpYmxlLXRvLW92ZXJyaWRlLWNoZWNrb3V0LWJsb2NrLXVzZXJwb2ludHMtY2hlY2tvdXQtcGhwP3RtcGw9bWFya2Rvd24=) 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: 14326
-
-

7 years 7 months ago [\#305818](#305818) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[make it possible to override checkout block &gt; userpoints\_checkout.php](/forum/27-checkout/897306-make-it-possible-to-override-checkout-block-userpoints-checkout-php#305818 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.2  i have to came back to this discussion:   www.hikashop.com/forum/4-how-to/895601-o...r-points-plugin.html  i only need to modify the CHECKOUT design block of this file: plugins/hikashop/userpoints/userpoints&#95;checkout.php please improve this behavior so that also this file can be overwritten in &quot;views&quot;.  i made my modifications on 4.0.1 and now guess what i forgot about it on the update to 4.0.3. i can modify very other block part of the checkout, put this one from userpoints are not yet possible. please make this also possible to override under views, so that updates can be made without lose of modifications.")*

Hi,

1. Yes, what we could do is try to have some mini views and modify the javascript library to load the HTML from there instead of embedding it. The problem is that it will be complex to update the library in the future because of the changes we would have to make in it.

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

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