Jump to content

 

a3lanjo

Member Since 14 Sep 2020
Offline Last Active Jun 09 2021 12:56 AM
****-

#338854 Showing Vendor Logo In Compact List

Posted by a3lanjo on 29 April 2021 - 12:15 AM

That worked for me >>> Big Thanks .

To get vendor logos, use something like

{$logos = $product.company_id|fn_get_logos}
{include file="common/image.tpl" images=$logos.theme.image image_width="120" class="ty-company-image"}

(!) Not tested




#337885 How To Make A Filter According To The Countries And Cities

Posted by a3lanjo on 26 March 2021 - 01:16 AM

Hello Thank you , I already make some functions and it working lovely with auto geo locations also ...



Now the products showing where vendor set country and states (city) Check screenshot



Anyone wanna apply it in website just contact me : ahmad@maxlevels.com .... Am happy to help



https://prnt.sc/10vkdim View on mobile view



https://prnt.sc/10vkhs3 View on web view



#333021 After Create New Custom Layout Page How Create Page With It?

Posted by a3lanjo on 30 October 2020 - 10:52 PM

Hello All, I created New custom layout with page, 

 

Now how create page with it ? or how to preview it? 

 

I believe the layout is like framework !!!!!!




#332082 How Let Compare Feature List Showing Image Gallery

Posted by a3lanjo on 02 October 2020 - 08:34 PM

app/controllers/frontend/product_features.php

 

try to add

'get_additional' => true,

after

'get_detailed' => true,

in the fn_get_product_data_for_compare function

 

Changes from your post should be also applied

 

(!) Not tested

Thank you 

I already playing with function and it working now ...

Reference

ADDED : /app/functions/fn.catalog.php | LINE : 9735
MODIFY: /app/functions/fn.catalog.php | LINE : 9717 




#331571 Product Features Variant Images Showing On Products List

Posted by a3lanjo on 16 September 2020 - 10:38 PM

I do not know ready to use addon with this functionality. Hire someone to create this modification for you

 

No need to hire Developer if am developer !!

 

I resolved with below code : 

	{$product.header_features = $product|fn_get_product_features_list:'H'}
    {include file="views/products/components/product_features_short_list.tpl" features=$product.header_features feature_image = true}

That Code showing images features with nice look 




#331498 How Edit Scroller Product View

Posted by a3lanjo on 15 September 2020 - 11:14 PM

I resolved it with edit :

/ design / themes / my_theme / templates / blocks / products / abt__yt_products_scroller_advanced_with_banners.tpl

 

Added :

 

<code>{$product.he
ader_features = $product|fn_get_product_features_list:'H'}
    {include file="views/products/components/product_features_short_list.tpl" features=$product.header_features} {if $var.selected}{if $var.image_pair}<li style="margin-left:0; font-weight:normal;">{include file="common_templates/image.tpl" images=$var.image_pair object_type="feature_variant"}</li>{/if}{/if}
{if $addons.abt__unitheme.brand_feature_id}
    {$bf = $product.header_features[$addons.abt__unitheme.brand_feature_id]}
    {if empty($bf)}
        {$bf = fn_array_value_to_key($product.header_features, 'feature_id')}
        {$bf = $bf[$addons.abt__unitheme.brand_feature_id]}
    {/if}
 
    <div class="brand ty-float-right">
        {include file="views/products/components/product_features_short_list.tpl" features=array($bf) feature_image=true feature_link=true}
    </div>
{/if} </code>
 
And that showing brand logo on Scroller products