Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coreshop 3 - cart price rule - strange behaviour - wrong calculation #2180

Closed
JustMe69 opened this issue Jan 20, 2023 · 7 comments
Closed

coreshop 3 - cart price rule - strange behaviour - wrong calculation #2180

JustMe69 opened this issue Jan 20, 2023 · 7 comments

Comments

@JustMe69
Copy link
Contributor

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

a cart price rule for surcharge is defined, when order-volume is below 5000,-
the surcharge is 200,- as fixed value, not percentual.

When customer is ordering between 200+ and below 5000, the surcharge works as expectred, 200,- are added to the cart. correct

When customer is having below 200,- in cart, the article-price seems to be added as surcharge and not 200,- - which is wrong.

definition of rule is posted below.

image

image

image

user having below 200 in cart:
image
with wrong value = article-price as surcharge

user having above 200 in cart:
image

@JustMe69 JustMe69 changed the title coreshop 3 - cart price rule - strange behaviour coreshop 3 - cart price rule - strange behaviour - wrong calculation Jan 20, 2023
@JustMe69
Copy link
Contributor Author

image

@dpfaffenbauer

still not working, with actual coreshop version off dev-master, today

@dpfaffenbauer
Copy link
Member

@JustMe69 try 3.0.x-dev

@JustMe69
Copy link
Contributor Author

@dpfaffenbauer tried, not working
cleared cache (rm -rf), migrations are executed, deleted cart, etc
same picture

@dpfaffenbauer
Copy link
Member

please try to make it reproducible on the demo then.

@JustMe69
Copy link
Contributor Author

JustMe69 commented Feb 14, 2023

@dpfaffenbauer
done in demo
added cart-price-rule surcharge 300, name: minOrder

image

surcharge is same price as article price, and not 300

@dpfaffenbauer
Copy link
Member

good, I'll check again then

Thanks

@dpfaffenbauer
Copy link
Member

@JustMe69 Fix is not yet merged into master, the CoreShop Demo is deployed into master, if I apply the fix to the demo, it works. (Try again please on the demo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants