Jump to content



Member Since 27 Jan 2014
Online Last Active Today, 05:35 AM

#309890 Vendor Store Name

Posted by eComLabs on Yesterday, 02:01 PM


Great!  :-)


Now we need to make it h2  like this

<h2> {__("company")}</h2>



{if $company_data}
{elseif $company_id}

#309876 Vendor Store Name

Posted by eComLabs on Yesterday, 06:27 AM

Try to use html block with smarty support

{if $company_data}
{elseif $company_id}

#309810 Thank You

Posted by eComLabs on 07 December 2018 - 01:41 PM

We want to congratulate you on your new business venture. May your business grow and bring you prosperity. Best wishes! :)

#309668 Amazon Search Widget In Cs-Cart Block

Posted by eComLabs on 03 December 2018 - 01:13 PM

Please take a look



#309655 Amazon Search Widget In Cs-Cart Block

Posted by eComLabs on 03 December 2018 - 06:02 AM

Try to add HTML block with SMARTY support to the Categories layout page

{$parent_keywords = ''}
{if $category_data.parent_id}
    {$parent_category = $category_data.parent_id|fn_get_category_data}
    {if $parent_category.meta_keywords}
        {$parent_keywords = $parent_category.meta_keywords}
<script type="text/javascript">
amzn_assoc_ad_type ="responsive_search_widget"; 
amzn_assoc_tracking_id ="myaffid-21"; 
amzn_assoc_marketplace ="amazon"; 
amzn_assoc_region ="GB"; 
amzn_assoc_placement =""; 
amzn_assoc_search_type = "search_widget";
amzn_assoc_width ="auto"; 
amzn_assoc_height ="auto"; 
amzn_assoc_default_search_category ="Books"; 
amzn_assoc_default_search_key ="{if $parent_keywords}{$parent_keywords},{/if} {$meta_keywords|default:$location_data.meta_keywords}";
amzn_assoc_theme ="light"; 
amzn_assoc_bg_color ="FFFFFF"; 
<script src="//z-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1&Marketplace=GB"></script>

(!) Not tested

#309602 Banner Images In Sql

Posted by eComLabs on 30 November 2018 - 02:10 PM

Since banners are multi-language, the system store image ID for each language in the cscart_banner_images table. To get image ID you can use default functions which works with images. For example, check how the image is added during import process

#309008 Link To A Brand Page Using Id

Posted by eComLabs on 15 November 2018 - 01:45 PM

You can use


where XXX - id of the brand feature variant


There is no special page where you can find this ID. For example, use code inspector of your browser on the manage brand variants page

#308667 Google Is Fast...

Posted by eComLabs on 07 November 2018 - 02:03 PM

Google will reindex your website. But it can take some time

#308354 Overriding / Hooking Date_Format In Php Or Smarty !?

Posted by eComLabs on 31 October 2018 - 04:49 AM


definitely, a helpful tip which I need later, but as I explained in my previous post I want to add different calendar types, I don't want to change timestamp and how it's getting stored in DB or format, I want to change it in view ( templates ) based on language another example :


Please note that our solution will change timestamp format stored in database. It just adds new format which will be processed in templates only (in fn_date_format function)

#308333 Language Variables Problem

Posted by eComLabs on 30 October 2018 - 01:29 PM



create new language variable and change default one to the custom one in the following line

    {include file="buttons/button.tpl" but_name="dispatch[call_requests.request]" but_text=__("submit") but_role="submit" but_meta="ty-btn__primary ty-btn__big cm-form-dialog-closer ty-btn"}

#308282 Add Custom Content To Brand Page Individually

Posted by eComLabs on 29 October 2018 - 02:10 PM

Unfortunately there is no ability to have separate block content for each product feature variant. So you cannot add custom blocks with different content available for the registered users only.

#308261 Overriding / Hooking Date_Format In Php Or Smarty !?

Posted by eComLabs on 29 October 2018 - 05:15 AM

If you do not have required format in the settings, you can add it. For example, in phpMyAdmin find the cscart_settings_variants table and add new record


variant_id: '' (empty)

object_id: 52

name: '%Y.%m.%d' (change according to your needs, check all available placeholders here https://www.smarty.n...ate.format.tpl)

position: 14 


Then just select new format on the Settings -> Appearance pahe

#308254 Multi Language Website

Posted by eComLabs on 29 October 2018 - 04:46 AM

thanks for  checking it out fot me.

I was worried it was a weird beahaviour of my site only...

Or something else...

just keep me posted , for possible solution on your tickets pls ( yes it's me)

Btw, I find it umbelievable CS cart has not foreseen this possible  scenario.

Quite strange really.


It looks like a bug. Try to post this issue to the bug tracker



#308171 Multi Language Website

Posted by eComLabs on 26 October 2018 - 02:00 PM

I have just checked this behaviour on the demo store. Unfortunately, the system will show 404 for old URLs. Additional modification is required to add 301 redirect from old URLs to new ones (with language code)

#308121 Product Id In The Url

Posted by eComLabs on 25 October 2018 - 02:46 PM

FYI, we have added Product ID to the list of placeholders