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

What is the meaning of cost? No cost column in csv! #118

Closed
cptX opened this issue Feb 9, 2023 · 1 comment
Closed

What is the meaning of cost? No cost column in csv! #118

cptX opened this issue Feb 9, 2023 · 1 comment

Comments

@cptX
Copy link

cptX commented Feb 9, 2023

I checked the database and there is a column "cost".
Also, in file /Model/Carrier/Matrixrate.php there is this line $method->setCost($rate['cost']);
which doesn't make sense as the generated matrixrates.csv file doesn't have any "cost" column!

So can you please explain what is the meaning of cost here? Do we need it? Is the Cost forgotten to be added as a column in the generated csv?

@PeterElkoShipperHQ
Copy link

Hi @cptX ,

I'm Peter a support engineer here at ShipperHQ. Cost is not used in MatrixRate, which is why it is not included in the CSV. The column "cost" is present, because it is present in the core Magento table rates, which MatrixRate is based on.

Please let us know if you have any further questions.

Have a great night!
Peter
ShipperHQ Support

@wsadaniel wsadaniel closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2023
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

3 participants