Jump to content



Member Since 01 Apr 2016
Offline Last Active Nov 27 2020 09:32 AM

#332818 Fatal Error After Changing Host

Posted by jeta on 26 October 2020 - 08:02 AM


In my 4.7.1 local installation this function has the following code


function fn_promotion_shippings($promotion_condition, $cart)
    $result = false;

    if ($promotion_condition['operator'] == 'eq') {
        $result = false;
    } elseif ($promotion_condition['operator'] == 'neq') {
        $result = true;

    if (!empty($cart['chosen_shipping'])) {
        foreach ($cart['chosen_shipping'] as $id) {
            if ($promotion_condition['operator'] == 'eq' && $id == $promotion_condition['value']) {
                $result = true;
            } elseif ($promotion_condition['operator'] == 'neq' && $id != $promotion_condition['value']) {
                $result = false;

    return $result;

Try to replace function code and check the result


Thank you very much, it seems to be working fine now :)

#320446 Product Code Characters Length

Posted by jeta on 02 October 2019 - 01:25 PM



I have some product codes that are more large than 32 characters, i need to change that to at least 50 characters long , i tried changing in my database at php admin table of products but nothing happened, can anyone help me with this? where can i increase the product code character length?


Thanks in advance

#289225 Moving Cs-Cart Installation To Root Directory

Posted by jeta on 21 November 2017 - 08:20 AM

Try to remove the var/cache directory manually

I Tried to remove the cache manually and now its working :) thank you 

#248226 Changing Copyright At The Bottom In Vivashop/energot

Posted by jeta on 15 April 2016 - 01:29 PM

Dear Jeta,


As we have already mentioned, if you need technical assistance on any of our products, please open a ticket on our support platform by clicking here, as any technical assistance on our products is offered exclusively on our support platform on our website.


Also, removing the "Design by EnergoThemes - CS-Cart Themes" link is already explained in our documentation under section 4.7.8. 


Therefore, again, please make sure you carefully read our documentation guide in order to learn how to configure/customize the theme. Reading our guide will also save you plenty of time, thus you'll not have wait for an answer since the answers are already there. :)




Kind regards,



I have read and followed this instruction but nothing happens. My copyright.tpl file actually is:


{** block-description:tmpl_copyright **}
<p class="bottom-copyright">&copy; {if $smarty.const.TIME|date_format:"%Y" != $settings.Company.company_start_year}{$settings.Company.company_start_year}-{/if}{$smarty.const.TIME|date_format:"%Y"} {$settings.Company.company_name}. &nbsp;{__("powered_by")} <a class="bottom-copyright" href="{$config.resources.product_url}" target="_blank">{__("copyright_shopping_cart", ["[product]" => $smarty.const.PRODUCT_NAME])}</a>. 
as you see i have removed the
Design by EnergoThemes - <a class="bottom-copyright" href="http://energothemes.com"target="_blank">CS-Cart Themes</a> part and cleared my cache but it still appears, any suggestions?