Skip to content

Commit 6ee3749

Browse files
authored
Re-introduced productpage scopes
1 parent ad4d8c4 commit 6ee3749

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Http/Controllers/ProductController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public function show(int $productId)
1515

1616
/** @var \Rapidez\Core\Models\Product $product */
1717
$product = $productModel::query()
18+
->withEventyGlobalScopes('productpage.scopes')
1819
->whereInAttribute('visibility', [
1920
Product::VISIBILITY_IN_CATALOG,
2021
Product::VISIBILITY_BOTH,

0 commit comments

Comments
 (0)