Closed richstandbrook closed 3 years ago
Thanks!
Normally I've fixed it in dev-master, maybe you need to resave your price values.
The currencies should be lowercase storage->GBP->default
--> storage->gbp->default
.
I release v0.9.0, that should solve this now as a tagged version.
It contains a lots of BC-s, so you might update your code. I'll update the documentation soon.
Thanks!
Description:
Bazar\Models\Product::first()->price
results innull
even though a price is set.Steps To Reproduce:
Create a product, enter a price, you can see from
domain.test/bazar/products
that no price is shown.Bazar\Models\Product::first()->price
andBazar\Models\Product::first()->formatedPrice
returnnull
.Bazar\Models\Product::first()->prices
returns aBazar\Casts\Prices
object that shows the entered value understorage->GBP->default