The Best way to do that :
{if $smarty.const.CART_LANGUAGE == 'en'} <style> [lang="en"] .yourclass { display: none; } </style> {/if}
Enjoy !
09 June 2021 - 12:57 AM
The Best way to do that :
{if $smarty.const.CART_LANGUAGE == 'en'} <style> [lang="en"] .yourclass { display: none; } </style> {/if}
Enjoy !
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
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
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} </div> </div> {/if}
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 .