Skip to content

Commit

Permalink
Merge pull request #26 from Jade-GG/patch-2
Browse files Browse the repository at this point in the history
Fix locale -> site
  • Loading branch information
pimruiter authored Mar 6, 2023
2 parents a07ee02 + fd6b8c3 commit 56d47ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RapidezStatamicServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function bootComposers() : self
$entry = Cache::rememberForever('statamic-product-' . $sku . '-' . $siteHandle, function () use ($sku, $siteHandle) {
return Entry::query()
->where('collection', 'products')
->where('locale', $siteHandle)
->where('site', $siteHandle)
->where('sku', $sku)
->first();
});
Expand Down

0 comments on commit 56d47ef

Please sign in to comment.