Fix product page orders considering shipping costs

This commit is contained in:
Pedro Silva 2023-10-30 14:27:42 +00:00
parent 2b9ac48616
commit 5d885809f7
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
6 changed files with 34 additions and 15 deletions

View file

@ -48,6 +48,14 @@ class SingleProductHandler extends BaseHandler {
});
}
createOrder() {
return this.actionHandler().configuration().createOrder(null, null, {
'updateCartOptions': {
'keepShipping': true
}
});
}
actionHandler() {
return new SingleProductActionHandler(
this.ppcpConfig,