Merge pull request #1995 from Haendlerbund/fix-product-links-in-views
Fixed product links in two views (replaced hard coded link with route)
This commit is contained in:
commit
5c050822c1
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
<div class="item mt-5">
|
||||
<div class="item-image" style="margin-right: 15px;">
|
||||
<a href="{{ url()->to('/').'/products/'.$item->product->url_key }}"><img src="{{ $productBaseImage['medium_image_url'] }}" /></a>
|
||||
<a href="{{ route('shop.productOrCategory.index', $item->product->url_key) }}"><img src="{{ $productBaseImage['medium_image_url'] }}" /></a>
|
||||
</div>
|
||||
|
||||
<div class="item-details">
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
{!! view_render_event('bagisto.shop.checkout.cart.item.name.before', ['item' => $item]) !!}
|
||||
|
||||
<div class="item-title">
|
||||
<a href="{{ url()->to('/').'/products/'.$item->product->url_key }}">
|
||||
<a href="{{ route('shop.productOrCategory.index', $item->product->url_key) }}">
|
||||
{{ $item->product->name }}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -36,13 +36,13 @@
|
|||
<div class="media-info">
|
||||
<?php $image = $productImageHelper->getProductBaseImage($review->product); ?>
|
||||
|
||||
<a href="{{ url()->to('/').'/products/'.$review->product->url_key }}" title="{{ $review->product->name }}">
|
||||
<a href="{{ route('shop.productOrCategory.index', $review->product->url_key) }}" title="{{ $review->product->name }}">
|
||||
<img class="media" src="{{ $image['small_image_url'] }}"/>
|
||||
</a>
|
||||
|
||||
<div class="info">
|
||||
<div class="product-name">
|
||||
<a href="{{ url()->to('/').'/products/'.$review->product->url_key }}" title="{{ $review->product->name }}">
|
||||
<a href="{{ route('shop.productOrCategory.index', $review->product->url_key) }}" title="{{ $review->product->name }}">
|
||||
{{$review->product->name}}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue