We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bazar\Models\Product::first()->price results in null even though a price is set.
Bazar\Models\Product::first()->price
null
Create a product, enter a price, you can see from domain.test/bazar/products that no price is shown.
domain.test/bazar/products
Bazar\Models\Product::first()->price and Bazar\Models\Product::first()->formatedPrice return null.
Bazar\Models\Product::first()->formatedPrice
Bazar\Models\Product::first()->prices returns a Bazar\Casts\Prices object that shows the entered value under storage->GBP->default
Bazar\Models\Product::first()->prices
Bazar\Casts\Prices
storage->GBP->default
The text was updated successfully, but these errors were encountered:
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.
storage->gbp->default
Sorry, something went wrong.
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.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: