Commit 092235f024b4d64b4c03b0c0fc79ebf1f1833d58
1 parent
7c51adb2
image size
Showing
1 changed file
with
2 additions
and
2 deletions
 
Show diff stats
frontend/views/basket/index.php
| ... | ... | @@ -85,11 +85,11 @@ $('#orders-delivery input[type=\"radio\"]').click(function(){ | 
| 85 | 85 | |
| 86 | 86 | <?php foreach($basket_mods as $i=>$item):?> | 
| 87 | 87 | <div class="basket_item"> | 
| 88 | - <a href="<?=Url::to(['products/show','translit_rubric'=>$item->translit_rubric,'translit'=>$item->translit,'id'=>$item->product_id])?>"> | |
| 88 | + <a href="<?= Url::to(['catalog/product', 'product' => $item->product]) ?>"> | |
| 89 | 89 | <?= \common\components\artboximage\ArtboxImageHelper::getImage($item->imageUrl, 'product_basket')?> | 
| 90 | 90 | </a> | 
| 91 | 91 | <div class="info"> | 
| 92 | - <a href="<?=Url::to(['products/show','translit_rubric'=>$item->translit_rubric,'translit'=>$item->translit,'id'=>$item->product_id])?>" class="link2"><?=$item->product_name?></a> | |
| 92 | + <a href="<?= Url::to(['catalog/product', 'product' => $item->product]) ?>" class="link2"><?=$item->product_name?></a> | |
| 93 | 93 | <p>Код: <?=$item->sku?>, цвет: <?=$item->name?></p> | 
| 94 | 94 | <?php echo $form->field($item,'['.$i.']id')->hiddenInput()->label(false); ?> | 
| 95 | 95 | <?php echo $form->field($item,'['.$i.']product_name')->hiddenInput()->label(false); ?> | ... | ... |