You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of our clients needed a way to use 'variable' products from within Commerce's control panel. To facilitate this, we added a product with a €0,- price. Once the order has been completed (somehow this is not allowed before order completion), the client can alter the price for the line item. So far, so good.
Now, two things happen:
The tax for that line item does not get set automatically, but has to be entered by the client, even though the product has a 21% tax rate.
Whenever the client chooses to recalculate the order, the lineItem price gets reset to €0,-.
Steps to reproduce
Create a product with a tax category, and set its price to €0,- / $0,-
Create a new order from the CP, add the product and then complete the order
Edit the lineItem and set the price to €20,- (notice how no tax is added to the lineItem)
Recalculate the order and see how the price gets reset to €0,-
Expected behavior
I'd expect the tax input to be automatically set to the right tax amount
I'd expect the altered price to stay altered whenever the order is recalculated
I can use an adjuster to add the tax myself, but not if the price is reset on recalculation.
Schermopname.2024-01-10.om.09.06.07.mov
Craft CMS version
4.5.13
Craft Commerce version
4.3.3
PHP version
8.0
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered:
Custom line items in Commerce 5.1 supports custom prices before the order is complete as well as your choice of tax categories. This should be a solution to your use-case. Thanks.
What happened?
Description
One of our clients needed a way to use 'variable' products from within Commerce's control panel. To facilitate this, we added a product with a €0,- price. Once the order has been completed (somehow this is not allowed before order completion), the client can alter the price for the line item. So far, so good.
Now, two things happen:
Steps to reproduce
Expected behavior
I can use an adjuster to add the tax myself, but not if the price is reset on recalculation.
Schermopname.2024-01-10.om.09.06.07.mov
Craft CMS version
4.5.13
Craft Commerce version
4.3.3
PHP version
8.0
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered: