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

#   user point doesn't display in the checkout folw

##

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

Less More

- Posts: 27
- Thank you received: 0
-
-

11 years 6 months ago [\#201705](#201705) by [rouben618](/forum/user/34313-rouben618 "View rouben618's Profile")  *[user point doesn't display in the checkout folw](/forum/29-payment-methods/876958-user-point-doesnt-display-in-the-checkout-folw#201705 "-- url of the page with the problem -- :   nature2u.co.nz/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.2 -- PHP version -- : PHP 5.3.29 -- Browser(s) name and version -- : Mozilla/5.0 -- Error-message(debug-mod must be tuned on) -- : My user point doesn't display in the checkout folw  Hi Hikashop team,  When I setup the hikashop user points, it dosen't show in the frontend when check out, I attached some screenshop, could you please show me where should I change? Thanks!")* was created by *[rouben618](/forum/user/34313-rouben618 "View rouben618's Profile")*

-- url of the page with the problem -- : [ nature2u.co.nz/](http://nature2u.co.nz/)
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.2.2
-- PHP version -- : PHP 5.3.29
-- Browser(s) name and version -- : Mozilla/5.0
-- Error-message(debug-mod must be tuned on) -- : My user point doesn't display in the checkout folw

Hi Hikashop team,

When I setup the hikashop user points, it dosen't show in the frontend when check out, I attached some screenshop, could you please show me where should I change?
Thanks!

- [ ![1.jpg](/forum/attachment/24362) ](/forum/attachment/24362 "1.jpg") [ ](/forum/attachment/24362?download=1 "1.jpg")
- [ ![2.jpg](/forum/attachment/24363) ](/forum/attachment/24363 "2.jpg") [ ](/forum/attachment/24363?download=1 "2.jpg")
- [ ![3.jpg](/forum/attachment/24364) ](/forum/attachment/24364 "3.jpg") [ ](/forum/attachment/24364?download=1 "3.jpg")
- [ ![4.jpg](/forum/attachment/24365) ](/forum/attachment/24365 "4.jpg") [ ](/forum/attachment/24365?download=1 "4.jpg")
- [ ![5.jpg](/forum/attachment/24366) ](/forum/attachment/24366 "5.jpg") [ ](/forum/attachment/24366?download=1 "5.jpg")
- [ ![6.jpg](/forum/attachment/24367) ](/forum/attachment/24367 "6.jpg") [ ](/forum/attachment/24367?download=1 "6.jpg")
- [ ![7.jpg](/forum/attachment/24368) ](/forum/attachment/24368 "7.jpg") [ ](/forum/attachment/24368?download=1 "7.jpg")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#201707](#201707) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[user point doesn't display in the checkout folw](/forum/29-payment-methods/876958-user-point-doesnt-display-in-the-checkout-folw#201707 "-- url of the page with the problem -- :   nature2u.co.nz/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.2 -- PHP version -- : PHP 5.3.29 -- Browser(s) name and version -- : Mozilla/5.0 -- Error-message(debug-mod must be tuned on) -- : My user point doesn't display in the checkout folw  Hi Hikashop team,  When I setup the hikashop user points, it dosen't show in the frontend when check out, I attached some screenshop, could you please show me where should I change? Thanks!")*

Hi,

First please update to HikaShop 2.4.0.
Then edit the plugin "plugins/hikashop/userpoints/userpoints.php" and replace Code:

if($mode == 'hk') { if(isset($user-&gt;user_points)) return (int)$user-&gt;user_points; return false; } if(isset($user-&gt;user_points)) { if($mode == 'all') $ret['hk'] = (int)$user-&gt;user_points; else $ret = (int)$user-&gt;user_points; }

By Code:

if($mode == 'hk') { if(isset($user-&gt;user_points) &#124;&#124; in_array('user_points', array_keys(get_object_vars($user)))) return (int)@$user-&gt;user_points; return false; } if(isset($user-&gt;user_points) &#124;&#124; in_array('user_points', array_keys(get_object_vars($user)))) { if($mode == 'all') $ret['hk'] = (int)@$user-&gt;user_points; else $ret = (int)@$user-&gt;user_points; }

And it will force the display of the checkout user points blocks even if the user does not have any points yet.

You should also change the configuration of the "user_points" custom field to not display it in the front-end ; otherwise the user will be able to modify his points himself and I don't think that you want to allow that.

About the configuration of the Joomla plugin, you specify a order status ; which is good if you do not want to use the values from the HikaShop "invoice order statuses" setting ; but I see that you put an order status with an uppercase and that's not the exact order status namekey. We will see to improve the interface in the Joomla plugin configuration in order to use a namebox, before that, please use instead Code:

shipped

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [rouben618](/forum/user/34313-rouben618 "View rouben618's Profile")

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

11 years 6 months ago [\#201920](#201920) by [rouben618](/forum/user/34313-rouben618 "View rouben618's Profile")  Replied by *[rouben618](/forum/user/34313-rouben618 "View rouben618's Profile")* on topic *[user point doesn't display in the checkout folw](/forum/29-payment-methods/876958-user-point-doesnt-display-in-the-checkout-folw#201920 "-- url of the page with the problem -- :   nature2u.co.nz/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.2 -- PHP version -- : PHP 5.3.29 -- Browser(s) name and version -- : Mozilla/5.0 -- Error-message(debug-mod must be tuned on) -- : My user point doesn't display in the checkout folw  Hi Hikashop team,  When I setup the hikashop user points, it dosen't show in the frontend when check out, I attached some screenshop, could you please show me where should I change? Thanks!")*

Thank you very much, I upgraded hikashop and changed the code, now the user points earning displays in front end but the payment dosen't show. Could you please have a quick look at my configuration？
Thanks!
[ ![a5.jpg](/forum/attachment/24414) ](/forum/attachment/24414 "a5.jpg")

[ ![a1.jpg](/forum/attachment/24410) ](/forum/attachment/24410 "a1.jpg")

[ ![a2.jpg](/forum/attachment/24411) ](/forum/attachment/24411 "a2.jpg")

[ ![a3.jpg](/forum/attachment/24412) ](/forum/attachment/24412 "a3.jpg")

[ ![a4.jpg](/forum/attachment/24413) ](/forum/attachment/24413 "a4.jpg")

- [ ![a1.jpg](/forum/attachment/24410) ](/forum/attachment/24410 "a1.jpg") [ ](/forum/attachment/24410?download=1 "a1.jpg")
- [ ![a2.jpg](/forum/attachment/24411) ](/forum/attachment/24411 "a2.jpg") [ ](/forum/attachment/24411?download=1 "a2.jpg")
- [ ![a3.jpg](/forum/attachment/24412) ](/forum/attachment/24412 "a3.jpg") [ ](/forum/attachment/24412?download=1 "a3.jpg")
- [ ![a4.jpg](/forum/attachment/24413) ](/forum/attachment/24413 "a4.jpg") [ ](/forum/attachment/24413?download=1 "a4.jpg")
- [ ![a5.jpg](/forum/attachment/24414) ](/forum/attachment/24414 "a5.jpg") [ ](/forum/attachment/24414?download=1 "a5.jpg")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#201921](#201921) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[user point doesn't display in the checkout folw](/forum/29-payment-methods/876958-user-point-doesnt-display-in-the-checkout-folw#201921 "-- url of the page with the problem -- :   nature2u.co.nz/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.2 -- PHP version -- : PHP 5.3.29 -- Browser(s) name and version -- : Mozilla/5.0 -- Error-message(debug-mod must be tuned on) -- : My user point doesn't display in the checkout folw  Hi Hikashop team,  When I setup the hikashop user points, it dosen't show in the frontend when check out, I attached some screenshop, could you please show me where should I change? Thanks!")*

Hi,

You do not authorize the "partial payment" which means that you need to have 6000 points to be able to pay the order using points ; and regarding your screenshot, you have just 468 points.
So I recommend you to activate the "partial payment" if you want to use your 468 to create a "NZD 4,68" discount.

You can also use the "virtual coupon" mode to have a different approach of the points and not decide to use them by selecting a payment method.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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