Skip to content

v1.2.0 - Added currentForType scope

Compare
Choose a tag to compare
@voidgraphics voidgraphics released this 25 Jul 08:11
· 10 commits to main since this release

New features:

  • Added a new scope on the Price model: currentForType. Filters prices based on type and activated_at values. Usage:
$products->prices()->currentForType('selling')->first();