Jump to content



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

Posts I've Made

In Topic: How Can We Set A Font Type For A Specific Language?

09 June 2021 - 12:57 AM

The Best way to do that : 

{if $smarty.const.CART_LANGUAGE == 'en'}
[lang="en"] .yourclass {
    display: none;

Enjoy !

In Topic: Showing Vendor Logo In Compact List

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

In Topic: Showing Vendor Logo In Compact List

02 April 2021 - 10:00 PM

Product features are not retrieved from database on product listing. So you cannot just change template, changes in php are required as well

Yeah that what i feel i tried many functions ID  to get vendor logo like product details But nothing work, 


So it mean i want to play on php function as well, 


Thank you so much  

In Topic: vendor logo on product page

02 April 2021 - 01:33 AM

Use : 

{if "MULTIVENDOR"|fn_allowed_for && ($company_name || $company_id) && $settings.Vendors.display_vendor == "Y"}
						    <div class="ypi-vendor-block">
						        <label class="ty-control-group__label">{__("vendor")}:</label>
						        <div class="ypi-vendors-logo">{include file="common/image.tpl" images=$company_data.logos.theme.image image_width="100" image_height="70" lazy_load=true}</div>
									{hook name="companies:product_company_data"}{/hook}

In Topic: How Get Vendor City Or State And Post It To Product List

30 March 2021 - 08:13 PM

What are you going to do if it is a "Common Product" where there may be 20 vendors selling the same product?


No Need i have a filter https://forum.cs-car...s/?fromsearch=1


The function can filter via country and city, So i want showing End user he use correct city ... That is .