DockYard / ember-cart

Shopping cart primitives for Ember
MIT License
53 stars 18 forks source link

Update cost to price #28

Closed evoactivity closed 1 year ago

evoactivity commented 8 years ago

Need to use price instead of cost

bcardarella commented 8 years ago

you should just alias it instead.

evoactivity commented 8 years ago

Not sure what you mean about just aliasing it.

I've just installed this addon and passing {name: 'test', cost: 100} put an item in the cart with a cost of 0, passing {name: 'test', price: 100} puts an item in the cart with a cost of 100.

Further in the readme where it talks about 'Avoiding quantity incrementation' price is used instead of cost.

bcardarella commented 8 years ago

Apologies I misunderstood. There does seem to be an inconsistency. Let me dig in and try to recall why.

ghost commented 8 years ago

@bcardarella Have you figured it out yet?