mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
#2131 no add to card button on mobile
This commit is contained in:
parent
e3c5a11ebd
commit
42218c57fb
@ -355,4 +355,9 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
|
|||||||
redirect('/login?redirect=' . url()->current())->send();
|
redirect('/login?redirect=' . url()->current())->send();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function inStock()
|
||||||
|
{
|
||||||
|
return $this->is_get_adv && $this->stock;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user