Skip to content

Commit

Permalink
Fix the product image because catalog/product is already in the image…
Browse files Browse the repository at this point in the history
… url (#115)
  • Loading branch information
BobWez98 authored Sep 16, 2024
1 parent c545037 commit 4ac8aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/cart/partials/product/image.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<td class="h-24 w-40 !pl-0 max-md:flex max-md:w-1/2">
<img v-if="item.product.image" class="object-contain" :alt="item.product.name" :src="'/storage/{{ config('rapidez.store') }}/resizes/200/magento/catalog/product' + item.product.image.url.replace(config.media_url, '') + '.webp'">
<img v-if="item.product.image" class="object-contain" :alt="item.product.name" :src="'/storage/{{ config('rapidez.store') }}/resizes/200/magento' + item.product.image.url.replace(config.media_url, '') + '.webp'">
<x-rapidez::no-image v-else />
</td>

0 comments on commit 4ac8aec

Please sign in to comment.