Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
app
Product
scopeActives
app\Product::scopeActives PHP Method
Product Class Documentation
Show file
Open project: ant-vel/antVel
scopeActives()
public
method
public
scopeActives
(
$query
)
public function scopeActives($query) { return $query->where('status', 1)->where('stock', '>', 0); }
Product
categories
create
details
getFeaturesAttribute
getFirstImageAttribute
getLastCommentsAttribute
getNumOfReviewsAttribute
getStatusLettersAttribute
group
scopeActives
scopeFree
scopeInCategories
scopeInactives
scopeLike
scopeName
scopeRefine
scopeSearch
scopeType
user