Merge pull request #4387 from howdu/fix-recently-viewed

Recently view typo and use view priceHTML
This commit is contained in:
Glenn Hermans 2020-12-23 12:27:19 +01:00 committed by GitHub
commit 7907f16243
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{
"/js/velocity.js": "/js/velocity.js?id=2d8252eb879bdc417224",
"/js/velocity.js": "/js/velocity.js?id=af074ac94f7551acf57a",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=4322502d80a0e4a0affd",
"/css/velocity.css": "/css/velocity.css?id=735a971d8d35f29b420a"
"/css/velocity.css": "/css/velocity.css?id=4677934b59588001cd97"
}

View File

@ -35,7 +35,7 @@ class ShopController extends Controller
'details' => [
'name' => $product->name,
'urlKey' => $product->url_key,
'priceHTML' => $product->getTypeInstance()->getPriceHtml(),
'priceHTML' => view('shop::products.price', ['product' => $product])->render(),
'totalReviews' => $productReviewHelper->getTotalReviews($product),
'rating' => ceil($productReviewHelper->getAverageRating($product)),
'image' => $galleryImages['small_image_url'],

View File

@ -6,7 +6,7 @@
</div>
</div>
<div :class="`recetly-viewed-products-wrapper ${addClassWrapper}`">
<div :class="`recently-viewed-products-wrapper ${addClassWrapper}`">
<div
:key="Math.random()"
class="row small-card-container"

View File

@ -2335,7 +2335,7 @@
position: relative;
}
.recetly-viewed-products-wrapper {
.recently-viewed-products-wrapper {
padding: 2px;
.price-from {

View File

@ -186,7 +186,7 @@ header #search-form > *:focus {
}
/* advertisements */
.recetly-viewed-items {
.recently-viewed-items {
padding-left: 10px !important;
padding: 0px !important;
}