-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fd51a7
commit a7e3f92
Showing
12 changed files
with
21 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,8 @@ | |
use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; | ||
|
||
/** | ||
* Class CategoryIndexer | ||
* Class CategoryIndexer. | ||
* | ||
* @package Gally | ||
* @author Stephan Hochdörfer <[email protected]>, Gally Team <[email protected]> | ||
* @copyright 2022-present Smile | ||
* @license Open Software License v. 3.0 (OSL-3.0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,9 +26,8 @@ | |
use Sylius\Component\Resource\Repository\RepositoryInterface; | ||
|
||
/** | ||
* Class ProductIndexer | ||
* Class ProductIndexer. | ||
* | ||
* @package Gally | ||
* @author Stephan Hochdörfer <[email protected]>, Gally Team <[email protected]> | ||
* @copyright 2022-present Smile | ||
* @license Open Software License v. 3.0 (OSL-3.0) | ||
|
@@ -186,8 +185,8 @@ private function formatPrice(ProductVariantInterface $variant, ChannelInterface | |
$originalPrice = $this->productVariantPriceCalculator->calculateOriginal($variant, $context); | ||
|
||
// fix price rendering in Gally | ||
$price = $price / 100; | ||
$originalPrice = $originalPrice / 100; | ||
$price /= 100; | ||
$originalPrice /= 100; | ||
|
||
$prices = []; | ||
$prices[] = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters