How to change recently view products horizontally instead vertically of New Products?
-
Hi,
How to change recently view products horizontally instead vertically so New Products can show full page? -
@Zakir
Please go through this file bagisto\packages\Webkul\Velocity\src\Resources\views\shop\home\new-product.blade.php in that line no 138@include ('shop::products.list.recently-viewed', [
'quantity' => 3,
'addClass' => 'col-lg-3 col-md-12',
])change this to
@include ('shop::products.list.recently-viewed', [
'quantity' => 3,
'addClass' => 'col-lg-12 col-md-12',
])after that please run php artisan vendor:publish --force --all
Thank you
-
Hi @deepak227 ,
I tried as you mentioned but it doesnot seems to reflect anything..
do I need to do anything else? -
@Zakir
have you run publish all the asset inside your package by running
php artisan vendor:publish --force -
Hi, @Vaishali-Agarwal
yes I did ran >php artisan vendor:publish --all --force inside project root. -
Hi @Zakir
you have to change the line no 71
override the code
@include ('shop::products.list.recently-viewed', [
'quantity' => 3,
'addClass' => 'col-lg-12 col-md-12',
])Then run php artisan vendor:publish --force --all
-
Thanks @deepak227 ,
yes now recently view products in new line, along with that I wanted 'recently view products' shows horizontally as like others , if this complicated process then nice to have. -
@deepak227
if I want to show recently view products more than 3 , it does not works even I changed 'quantity' => 10 ..
do I need to do anything else?