Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

[Shipping] Remove hard coded shipping costs from the language files #16

Open
panigrc opened this issue Oct 1, 2019 · 0 comments
Open
Assignees

Comments

@panigrc
Copy link
Owner

panigrc commented Oct 1, 2019

This will be a greater refactoring as anticipated.

In order to provide the option to the user to choose among the shipping and billing methods, the options must be defined either in the Database or in the configuration.

Additionally in the Order table the fields

  • shipment_express
  • shipment_to_door
  • shipment_cash_on_delivery

must be removed

And replaced by the following

  • shipping_method
  • payment_method

Another proposal would be to add 2 additional tables payments and shipments linked with the order table by using an one to one association i.e. with fields shipment_id and payment_id.

In this way we could expand the payments and shipments later for example with shipment status and payment status.

@panigrc panigrc self-assigned this Oct 1, 2019
@panigrc panigrc changed the title Remove hard coded shipping costs from the language files [Shipping] Remove hard coded shipping costs from the language files Oct 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant