Actual Result: Currently, When I Purchase the product, I get the Points on Total, not on the subtotal. i.e If I've a Product with $1000 & I used 200 points to deduct from my Product price at that moment my Points should be calculated on $800, not on the $1000.

Expected behavior: It should be calculated on Actual Subtotal.

Can anyone please help me out to solve this issue?

Comments

Ronak.addweb created an issue. See original summary.

silvi.addweb’s picture

Status: Active » Needs review
StatusFileSize
new4.49 KB

@Ronak.addweb, I attached the patch to resolve the above-mentioned issue, Please verify it & let me know your views if you face any challenges.

In attached patch for End user, I added one configuration option, to make a choice of their own either they want points on ' Total amount ' or on ' Actual amount '.

Thanks!.

krina.addweb’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new20.58 KB

@shalin.addweb, Nice Idea to make this functionality work with more clarity, I checked your patch in my local & works cleanly. I also check other changes that your were corrected in this patch. It is perfect for me as per above mentioned issue.

Thanks!.

jigish.addweb’s picture

jigish.addweb’s picture

Status: Reviewed & tested by the community » Fixed

  • jigish.addweb committed 99a0f58 on 8.x-1.x
    Issue #2984146 by jigish.addweb: update the point calculation.
    
  • jigish.addweb committed ac448be on 8.x-1.x
    Issue #2984146 by shalin.addweb, krina.addweb, Ronak.addweb: Points...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

dimKarp’s picture

First of all @jigish.addweb amazing work with this module. Is there any chance to embed this improvement to the newest version of the module?