Commit 175cad246a8e3f0a8ca658f923768494783402d7
1 parent
249534b0
-Similar started
Showing
1 changed file
with
10 additions
and
1 deletions
Show diff stats
frontend/views/catalog/product.php
... | ... | @@ -6,6 +6,7 @@ |
6 | 6 | use common\components\artboximage\ArtboxImageHelper; |
7 | 7 | use common\models\Orders; |
8 | 8 | use common\modules\product\models\Product; |
9 | + use common\modules\product\widgets\similarProducts; | |
9 | 10 | use frontend\assets\FotoramaAsset; |
10 | 11 | use frontend\widgets\Seo; |
11 | 12 | use common\modules\comment\widgets\CommentWidget; |
... | ... | @@ -689,4 +690,12 @@ |
689 | 690 | |
690 | 691 | </div> |
691 | 692 | </div> |
692 | -</div> | |
693 | 693 | \ No newline at end of file |
694 | +</div> | |
695 | + | |
696 | +<div class="test"> | |
697 | +<?php | |
698 | + echo similarProducts::widget([ | |
699 | + 'product' => $product, | |
700 | + ]); | |
701 | + ?> | |
702 | + </div> | ... | ... |