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

#   Product with variants do not gain userpoints

##

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 2 months ago [\#248424](#248424) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#248424 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")* was created by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- Browser(s) name and version -- : Google Chrome

Hi support,

We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point.
We tried to checkout two products -
product A with no variant and product B with variant.

When the order has confirmed,
we took a look at AUP activities and we found that user can only receive product A's point but no point from product B.
Both products are set into two categories - Dress and Skirts.

We hope to hear from you soon.
Thank you.

- [ ![Capture.jpg](/forum/attachment/33182) ](/forum/attachment/33182 "Capture.jpg") [ ](/forum/attachment/33182?download=1 "Capture.jpg")

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

10 years 2 months ago -  10 years 2 months ago [\#248429](#248429) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#248429 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi,

Try changing the line:
if((int)$category-&gt;product_id != (int)$product-&gt;product_id)
to:
if(!in_array((int)$category-&gt;product_id , array((int)$product-&gt;product_id, (int)@$pids[$product-&gt;product_id]-&gt;product_parent_id)))
and the line:
$pids = $db-&gt;loadObjectList();
to:
$pids = $db-&gt;loadObjectList('product_id');
in the file plugins/hikashop/userpoints/userpoints.php

Last edit: 10 years 2 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 2 months ago [\#248468](#248468) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  Replied by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#248468 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi Nicolas,

Thank you for your reply.
I edited the code as you said, but it is still not working as expected.
![:(](/media/kunena/emoticons/22.png ":(") ![:(](/media/kunena/emoticons/22.png ":(")

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

10 years 2 months ago [\#248474](#248474) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#248474 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi,

Then try changing instead the line:
if((int)$category-&gt;product_id != (int)$product-&gt;product_id)
to:

if((int)$category-&gt;product_id != (int)$product-&gt;product_id &amp;&amp; (int)$category-&gt;product_id != (int)$product-&gt;product_parent_id)

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

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 2 months ago [\#248615](#248615) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  Replied by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#248615 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi Nicolas,

Thank you!
This one works fine!
Will this plugin get fix after next hikashop update?

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

10 years 2 months ago [\#248627](#248627) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#248627 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Yes. We'll add the patch for that in the next release.

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 2 months ago -  10 years 2 months ago [\#249315](#249315) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  Replied by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#249315 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi,

It seems the problem still exists.
We have already upgrade our hikashop to 2.6.4 but products with variants still unable to gain user point.
Attachments are the settings of products and userpoint plugin.
Please guide us. ![:)](/media/kunena/emoticons/3.png ":)") ![:)](/media/kunena/emoticons/3.png ":)")

Thank you.

- [ ![settingaup.jpg](/forum/attachment/33344) ](/forum/attachment/33344 "settingaup.jpg") [ ](/forum/attachment/33344?download=1 "settingaup.jpg")
- [ ![productsettings.jpg](/forum/attachment/33345) ](/forum/attachment/33345 "...ctsettings.jpg") [ ](/forum/attachment/33345?download=1 "...ctsettings.jpg")

Last edit: 10 years 2 months ago by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile").

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

10 years 2 months ago [\#249334](#249334) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#249334 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi,

How is that possible ? We've added the patch exactly like I gave it to you, and you said it worked. So I don't see why it would be any different with the 2.6.4.
You can check the file, you should find the line:
if((int)$category-&gt;product_id != (int)$product-&gt;product_id &amp;&amp; (int)$category-&gt;product_id != (int)$product-&gt;product_parent_id)

I actually don't see why it wouldn't work with that patch. Did you modify other things previously in that file with the 2.6.3 ?

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 2 months ago [\#249371](#249371) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  Replied by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#249371 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi Nicolas,

No I did not modify the file on live site. I test the code on my localhost.
I upgrade my live site once 2.6.4 release.
It works fine when we did not set product categories on user point plugin.
But when we set few categories into it, products with variants not working again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NjE0NC1wcm9kdWN0LXdpdGgtdmFyaWFudHMtZG8tbm90LWdhaW4tdXNlcnBvaW50cz90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4080
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#249420](#249420) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#249420 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi,

I am not able to reproduce your issue using the "HikaShop user point" plugin on my local website.
The plugin have filter on product categories and I have a variant in my cart ; I can see the number of point change depending the variant product quantity in my cart.

Do you have the block "user points" in your checkout workflow ?
Are you able to reproduce the issue in our demo website ?

Regards,

---

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

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 2 months ago [\#249682](#249682) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  Replied by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#249682 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi Jerome,

We selected Alphauserpoint as the point mode so we are not able to try out on hikashop demo website.
The userpoint payment method and userpoint plugin are both published.
As you can see the images attached shows that SF00298 only assign 18 points for the user but the order contains two products with different prices - 18 and 30.

- [ ![userpoint.jpg](/forum/attachment/33403) ](/forum/attachment/33403 "userpoint.jpg") [ ](/forum/attachment/33403?download=1 "userpoint.jpg")
- [ ![screencapture-shutter-satumalaysiahosting-administrator-index-php-1473756044014.png](/forum/attachment/33404) ](/forum/attachment/33404 "...3756044014.png") [ ](/forum/attachment/33404?download=1 "...3756044014.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NjE0NC1wcm9kdWN0LXdpdGgtdmFyaWFudHMtZG8tbm90LWdhaW4tdXNlcnBvaW50cz90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4080
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#249688](#249688) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#249688 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi,

And regarding your previous screenshots, I have to deduce that TP00126 is a variant ; right ?

Regards,

---

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

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 2 months ago [\#249764](#249764) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  Replied by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#249764 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi Jerome,

Soory for the lack of information in last reply.
DS00104_粉红色 is a variant which does not give point in this order.
TP00126 is not a variant.

- [ ![ds.jpg](/forum/attachment/33410) ](/forum/attachment/33410 "ds.jpg") [ ](/forum/attachment/33410?download=1 "ds.jpg")
- [ ![tp.jpg](/forum/attachment/33411) ](/forum/attachment/33411 "tp.jpg") [ ](/forum/attachment/33411?download=1 "tp.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4NjE0NC1wcm9kdWN0LXdpdGgtdmFyaWFudHMtZG8tbm90LWdhaW4tdXNlcnBvaW50cz90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4080
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#249831](#249831) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#249831 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi,

And what are the categories of the main product of the "DS00104_粉红色".
Why do you not have a default variant for that product ?
How your categories are configured ?

Did you try to just use one category in the "user point" plugin so, instead of selecting a lot of categories you can choose if the product will give points or not by placing the product in a specific (and hidden) category.

Regards,

---

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

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 1 month ago [\#250134](#250134) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  Replied by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#250134 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi,

The product categories of "DS00104_粉红色" is Top and New Arrivals.
These 2 categories are under another category which call "Type".
So the category flow is like Root -&gt; Product Category -&gt; Type -&gt; Top.

We also set a default variant to test and it still not working.

We select a lot of categories because we do not want some of the categories under "Type" to give point.
We also tried to select only "Type" this category but the result is still the same.

Regards,
Haur

- [ ![cate.jpg](/forum/attachment/33496) ](/forum/attachment/33496 "cate.jpg") [ ](/forum/attachment/33496?download=1 "cate.jpg")

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

10 years 1 month ago [\#251573](#251573) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product with variants do not gain userpoints](/forum/4-how-to/886144-product-with-variants-do-not-gain-userpoints#251573 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Google Chrome  Hi support,  We set up a User point plugin in Hikashop and the setting is 1MYR to 1 point. We tried to checkout two products - product A with no variant and product B with variant.  When the order has confirmed, we took a look at AUP activities and we found that user can only receive product A's point but no point from product B. Both products are set into two categories - Dress and Skirts.  We hope to hear from you soon. Thank you.")*

Hi,

Sorry for the delay. We found the issue and added a patch on our end. Download the install package on our website and install it on yours and it will fix the problem.

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

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

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