Commit 34528a0ad8065d7d2c553e366002127d77303c42
1 parent
0cbcbfbe0e
Exists in
master
Линки на каталог в карточках товара
Showing 7 changed files with 9 additions and 9 deletions Side-by-side Diff
resources/views/catalog.blade.php
... | ... | @@ -268,7 +268,7 @@ |
268 | 268 | {{$good->price}} ₽ |
269 | 269 | </p> |
270 | 270 | @endif |
271 | - <button class="content-text-down__button">В каталог</button> | |
271 | + <a class="content-text-down__button" href="{{ route('catalog_detail', ['category'=> $good->category_id]) }}">В каталог</a> | |
272 | 272 | </div> |
273 | 273 | </div> |
274 | 274 | </div> |
... | ... | @@ -489,7 +489,7 @@ |
489 | 489 | <h3 class="viewed__item-title"><a href="{{ route('good', ['good' => $look->id]) }}">{{ $look->title }}</a></h3> |
490 | 490 | <div class="viewed__item-bottom"> |
491 | 491 | <p class="viewed__item-price">{{ $look->price }} ₽</p> |
492 | - <button class="viewed__item-btn">В каталог</button> | |
492 | + <a class="viewed__item-btn link-btn" href="{{ route('catalog_detail', ['category'=> $look->category_id]) }}">В каталог</a> | |
493 | 493 | </div> |
494 | 494 | </div> |
495 | 495 | </div> |
resources/views/catalog_ajax.blade.php
... | ... | @@ -66,7 +66,7 @@ |
66 | 66 | {{$good->price}} ₽ |
67 | 67 | </p> |
68 | 68 | @endif |
69 | - <button class="content-text-down__button">В каталог</button> | |
69 | + <a class="content-text-down__button" href="{{ route('catalog_detail', ['category'=> $good->category_id]) }}">В каталог</a> | |
70 | 70 | </div> |
71 | 71 | </div> |
72 | 72 | </div> |
resources/views/catalog_detail.blade.php
... | ... | @@ -265,7 +265,7 @@ |
265 | 265 | {{$good->price}} ₽ |
266 | 266 | </p> |
267 | 267 | @endif |
268 | - <button class="content-text-down__button">В каталог</button> | |
268 | + <a class="content-text-down__button" href="{{ route('catalog_detail', ['category'=> $good->category_id]) }}">В каталог</a> | |
269 | 269 | </div> |
270 | 270 | </div> |
271 | 271 | </div> |
... | ... | @@ -484,7 +484,7 @@ |
484 | 484 | <h3 class="viewed__item-title"><a href="{{ route('good', ['good' => $look->id]) }}">{{ $look->title }}</a></h3> |
485 | 485 | <div class="viewed__item-bottom"> |
486 | 486 | <p class="viewed__item-price">{{ $look->price }} ₽</p> |
487 | - <button class="viewed__item-btn">В каталог</button> | |
487 | + <a class="viewed__item-btn link-btn" href="{{ route('catalog_detail', ['category'=> $look->category_id]) }}">В каталог</a> | |
488 | 488 | </div> |
489 | 489 | </div> |
490 | 490 | </div> |
resources/views/good.blade.php
... | ... | @@ -2095,7 +2095,7 @@ |
2095 | 2095 | <h3 class="viewed__item-title"><a href="{{ route('good', ['good' => $look->id]) }}">{{ $look->title }}</a></h3> |
2096 | 2096 | <div class="viewed__item-bottom"> |
2097 | 2097 | <p class="viewed__item-price">{{ $look->price }} ₽</p> |
2098 | - <button class="viewed__item-btn">В каталог</button> | |
2098 | + <a class="viewed__item-btn link-btn" href="{{ route('catalog_detail', ['category'=> $look->category_id]) }}">В каталог</a> | |
2099 | 2099 | </div> |
2100 | 2100 | </div> |
2101 | 2101 | </div> |
resources/views/index.blade.php
... | ... | @@ -240,7 +240,7 @@ |
240 | 240 | {{$good_new->price}} ₽ |
241 | 241 | </p> |
242 | 242 | @endif |
243 | - <button class="content-text-down__button">В каталог</button> | |
243 | + <a class="content-text-down__button" href="{{ route('catalog_detail', ['category'=> $good_new->category_id]) }}">В каталог</a> | |
244 | 244 | </div> |
245 | 245 | </div> |
246 | 246 | </div> |
resources/views/index_catalog.blade.php
... | ... | @@ -65,7 +65,7 @@ |
65 | 65 | {{$good_new->price}} ₽ |
66 | 66 | </p> |
67 | 67 | @endif |
68 | - <button class="content-text-down__button">В каталог</button> | |
68 | + <a class="content-text-down__button" href="{{ route('catalog_detail', ['category'=> $good_new->category_id]) }}">В каталог</a> | |
69 | 69 | </div> |
70 | 70 | </div> |
71 | 71 | </div> |
resources/views/simple_good.blade.php
... | ... | @@ -237,7 +237,7 @@ |
237 | 237 | <h4 class="modal-viewed__item-title"><a href="{{ route('good', ['good' => $look->id]) }}">{{ $look->title }}</a></h4> |
238 | 238 | <div class="modal-viewed__item-bottom"> |
239 | 239 | <p class="modal-viewed__item-price">{{ $look->price }} ₽</p> |
240 | - <button class="modal-viewed__item-btn">В каталог</button> | |
240 | + <a class="modal-viewed__item-btn link-btn" href="{{ route('catalog_detail', ['category'=> $look->category_id]) }}">В каталог</a> | |
241 | 241 | </div> |
242 | 242 | </div> |
243 | 243 | </div> |