Update Velocity Theme

This commit is contained in:
gusaindeepak54 2020-09-18 16:09:30 +05:30
parent d70888c28a
commit 26dcef5fb4
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
@php
$count = $velocityMetaData ? $velocityMetaData->featured_product_count : 10;
$count = core()->getConfigData('catalog.products.homepage.no_of_featured_product_homepage');
$count = $count ? $count : 10;
$direction = core()->getCurrentLocale()->direction == 'rtl' ? 'rtl' : 'ltr';
@endphp

View File

@ -1,5 +1,6 @@
@php
$count = $velocityMetaData ? $velocityMetaData->new_products_count : 10;
$count = core()->getConfigData('catalog.products.homepage.no_of_new_product_homepage');
$count = $count ? $count : 10;
$direction = core()->getCurrentLocale()->direction == 'rtl' ? 'rtl' : 'ltr';
@endphp