commercelayer-react-components
commercelayer-react-components copied to clipboard
Fix: remove `hasExternalPrice` prop on `<LineItemQuantity>` component
What I did
This reverts the changes done in https://github.com/commercelayer/commercelayer-react-components/pull/445 and removes the hasExternalPrice
prop on the LineItemQuantity
component.
Mainly we don't need anymore to enforce the update of line_item using the hasExternalPrice
prop, since now it has been fixed at API level.
The _external_price
attribute is now being saved on the line_item
resource.
How to test
Checklist
- [x] Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests).
- [x] Make sure to add/update documentation regarding your changes.
- [ ] You are NOT deprecating/removing a feature.