peet86 / cart-localstorage

JavaScript Shopping Cart library on top of localStorage
https://peet86.github.io/cart-localstorage/
MIT License
91 stars 18 forks source link

Item Does Not Get Added to Cart if Price is 0 / 0.00 #8

Closed LordA98 closed 3 years ago

LordA98 commented 3 years ago

Hi,

Items do not seem to get added to the cart if the price is 0 / 0.00.

This makes it difficult / impossible to add 'Free' items to the cart.

Is this expected behaviour? How do I add free items to the cart?

Thanks, Alex

LordA98 commented 3 years ago

Fixed this myself by changing the code inside the package. I will create my own fork of the repo to make further changes.

Thanks, Alex