Skip to content

Commit

Permalink
Publish views and remove price range from query (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobWez98 authored May 17, 2024
1 parent 8c95d16 commit 918a0f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
18 changes: 0 additions & 18 deletions resources/views/product/queries/compare.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,6 @@ items {
url
label
}
price_range {
minimum_price {
regular_price {
currency
value
}
final_price {
currency
value
}
}
maximum_price {
final_price {
currency
value
}
}
}
}
attributes {
code
Expand Down
4 changes: 4 additions & 0 deletions src/RapidezCompareServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ protected function bootViews(): static
{
$this->loadViewsFrom(__DIR__.'/../resources/views', 'rapidez-compare');

$this->publishes([
__DIR__.'/../resources/views' => resource_path('views/vendor/rapidez-compare'),
], 'views');

return $this;
}
}

0 comments on commit 918a0f6

Please sign in to comment.