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

#   Userpoints - Points not given for child products

##

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

Less More

- Posts: 171
- Thank you received: 9
-
-

10 years 6 months ago [\#241949](#241949) by [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")  *[Userpoints - Points not given for child products](/forum/29-payment-methods/884892-userpoints-points-not-given-for-child-products#241949 "-- HikaShop version -- : 2.6.3  Hi there!  I've just discovered a small bug at my site. Userpoints payment system is turned on, and as I see the system do not count points to give on those products which are child products.  For example, points given after every 100 HUF. Products in cart: - Product A - 1000 HUF - Product B - 3000 HUF - Product C -&gt; child - 2000 HUF  So it should work OK, if user would get 60 points. But user gets just 40 points.  Could anyone be so kind to check wether am I right, and if yes, a fix for that would be greatly appreciated!  Best Regards,")* was created by *[pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")*

-- HikaShop version -- : 2.6.3

Hi there!

I've just discovered a small bug at my site.
Userpoints payment system is turned on, and as I see the system do not count points to give on those products which are child products.

For example, points given after every 100 HUF.
Products in cart:
- Product A - 1000 HUF
- Product B - 3000 HUF
- Product C -&gt; child - 2000 HUF

So it should work OK, if user would get 60 points.
But user gets just 40 points.

Could anyone be so kind to check wether am I right, and if yes, a fix for that would be greatly appreciated!

Best Regards,

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

10 years 6 months ago [\#241951](#241951) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Userpoints - Points not given for child products](/forum/29-payment-methods/884892-userpoints-points-not-given-for-child-products#241951 "-- HikaShop version -- : 2.6.3  Hi there!  I've just discovered a small bug at my site. Userpoints payment system is turned on, and as I see the system do not count points to give on those products which are child products.  For example, points given after every 100 HUF. Products in cart: - Product A - 1000 HUF - Product B - 3000 HUF - Product C -&gt; child - 2000 HUF  So it should work OK, if user would get 60 points. But user gets just 40 points.  Could anyone be so kind to check wether am I right, and if yes, a fix for that would be greatly appreciated!  Best Regards,")*

Hi,

Please provide a screenshot of your configuration and of your product in order to explain the issue with concret details which will allow the support team to understand and reproduce it.

Regards,

---

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

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

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

Less More

- Posts: 171
- Thank you received: 9
-
-

10 years 5 months ago [\#242251](#242251) by [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")  Replied by *[pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")* on topic *[Userpoints - Points not given for child products](/forum/29-payment-methods/884892-userpoints-points-not-given-for-child-products#242251 "-- HikaShop version -- : 2.6.3  Hi there!  I've just discovered a small bug at my site. Userpoints payment system is turned on, and as I see the system do not count points to give on those products which are child products.  For example, points given after every 100 HUF. Products in cart: - Product A - 1000 HUF - Product B - 3000 HUF - Product C -&gt; child - 2000 HUF  So it should work OK, if user would get 60 points. But user gets just 40 points.  Could anyone be so kind to check wether am I right, and if yes, a fix for that would be greatly appreciated!  Best Regards,")*

Hi Jerome,

Thanks, I've attached a few screenshots, maybe helps for finding the problem.

On 03.jpg and 03_withnochildproduct.jpg you can see that system count points for that product, which is a parent product (with no child products - named: KnitPro Spectra Chunky kötőtűkészlet).

I've also found a strange thing: when order is created the child product is saved this way in the #__hikashop_order_product's order_product_name: Knitpro Nova fém kötőtű 100-as damillal&lt;span class="hikashop_product_variant_subname"&gt;: 2,25&lt;/span&gt;

Is that normal? Because some user's complains, that they are unable to put child products into cart, but I'm unable to reproduce it, on any devices I tested...

Regards,

- [ ![01.jpg](/forum/attachment/31916) ](/forum/attachment/31916 "01.jpg") [ ](/forum/attachment/31916?download=1 "01.jpg")
- [ ![02.jpg](/forum/attachment/31917) ](/forum/attachment/31917 "02.jpg") [ ](/forum/attachment/31917?download=1 "02.jpg")
- [ ![03.jpg](/forum/attachment/31918) ](/forum/attachment/31918 "03.jpg") [ ](/forum/attachment/31918?download=1 "03.jpg")
- [ ![03&#95;withnochildproduct.jpg](/forum/attachment/31919) ](/forum/attachment/31919 "...ildproduct.jpg") [ ](/forum/attachment/31919?download=1 "...ildproduct.jpg")
- [ ![04.jpg](/forum/attachment/31920) ](/forum/attachment/31920 "04.jpg") [ ](/forum/attachment/31920?download=1 "04.jpg")
- [ ![05.jpg](/forum/attachment/31921) ](/forum/attachment/31921 "05.jpg") [ ](/forum/attachment/31921?download=1 "05.jpg")
- [ ![06.jpg](/forum/attachment/31922) ](/forum/attachment/31922 "06.jpg") [ ](/forum/attachment/31922?download=1 "06.jpg")

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

10 years 5 months ago [\#243931](#243931) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Userpoints - Points not given for child products](/forum/29-payment-methods/884892-userpoints-points-not-given-for-child-products#243931 "-- HikaShop version -- : 2.6.3  Hi there!  I've just discovered a small bug at my site. Userpoints payment system is turned on, and as I see the system do not count points to give on those products which are child products.  For example, points given after every 100 HUF. Products in cart: - Product A - 1000 HUF - Product B - 3000 HUF - Product C -&gt; child - 2000 HUF  So it should work OK, if user would get 60 points. But user gets just 40 points.  Could anyone be so kind to check wether am I right, and if yes, a fix for that would be greatly appreciated!  Best Regards,")*

Hi,

You have a filter on the category but the category you selected is "product category" (which is the main category).
So I suppose that every product should be under that category..
Because variants are product without category (the product is just related to his parent product), they are excluded when the category filter is applied.

By removing it from your configuration you will fix your problem.
I also created an entry in the TODO list in order to fix that in a future HikaShop release.

Regards,

---

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

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

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

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

Less More

- Posts: 171
- Thank you received: 9
-
-

10 years 5 months ago [\#244156](#244156) by [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")  Replied by *[pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")* on topic *[Userpoints - Points not given for child products](/forum/29-payment-methods/884892-userpoints-points-not-given-for-child-products#244156 "-- HikaShop version -- : 2.6.3  Hi there!  I've just discovered a small bug at my site. Userpoints payment system is turned on, and as I see the system do not count points to give on those products which are child products.  For example, points given after every 100 HUF. Products in cart: - Product A - 1000 HUF - Product B - 3000 HUF - Product C -&gt; child - 2000 HUF  So it should work OK, if user would get 60 points. But user gets just 40 points.  Could anyone be so kind to check wether am I right, and if yes, a fix for that would be greatly appreciated!  Best Regards,")*

Hi Jerome!

You're right, that was the problem. Now as I removed the product category it's OK.

Thanks a lot!

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

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