Jump to content

Voucher, Refund - Cart logic is .... not helpful


Browserwerk

Recommended Posts

Hey Folks!

 

We are currently struggling with the cart logic when applying partial refunds to an order.

 

Long story short:

- Customer has an order with 3 items, each 10€

- Cart rule with voucher for a 10% discount, results in total sum of 27€

 

--> Partial refund

- When selecting partial refund for one single product without voucher, the refund is reduced by 3€.

----> So the refund of the single product is set to 7€ instead of 9€.

 

As far as I understand the interesting parts are done within the admin/orders.js and in the form.tpl, together with some parts from the AdminOrdersController. The JS is just reducing the amount, because "it" doesn't know whether this voucher is a reduction by % or €, so it also won't be able to calculate the right sums. It seems the logic is missing whether this is partial or not, because the partial refund can't be applied partially...

 

Are there any plans of "fixing" this or am I wrong or what can I do when I'd like to avoid calculating it all by myself and insert the value manually...? 

 

 

 

Best regards & thanks for your help,

 

Philipp Siegmund

 

Browserwerk - Prestashop Agentur

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...