Jump to content

 

eComLabs

Member Since 27 Jan 2014
Offline Last Active Yesterday, 01:51 PM
*****

#315467 Sorting Invoice / Packing Slip By Product Code? Help Appreciated.

Posted by eComLabs on 17 May 2019 - 05:53 AM

In the fn_get_order_info function (app/functions/fn.cart.php) use get_order_info hook to add the following line of code

$order['products'] = fn_sort_array_by_key($order['products'], 'product_code');



#315465 4.10.1 Rc Is Available—Try The New Version Before The Official Release

Posted by eComLabs on 17 May 2019 - 05:45 AM

The checkout process has got major changes in version 4.10.1. It is expected that, if you use addon from 3rd-party developer, some issues would occure. You will need to get the addon compatible with the new changes in 4.10.1. 

 

Also error displaying is enabled in RC. It just can be disabled on your live store and you did not see this notice




#314653 Add Dynamic Body Class or ID?

Posted by eComLabs on 23 April 2019 - 01:17 PM

Use the following code

<div class="{if $runtime.controller == 'products' && $runtime.mode == 'view' && $product}{$product.main_category|lower}{/if}"></div>



#314598 Change Color Or Icon Wishlist

Posted by eComLabs on 22 April 2019 - 05:44 AM

We failed to find such a module on the marketplace. And there is no easy way to do it due to possible issues with cache and ajax. Additional custom development work is required




#314247 Is It Possible To Have A Profile Field Visible To Staff Only? (Customer Notes)

Posted by eComLabs on 10 April 2019 - 01:12 PM

Please pay attention to our free Staff notes module

 

https://www.ecom-lab...tes-add-on.html




#314050 Forname Surname In Recent Orders

Posted by eComLabs on 04 April 2019 - 01:20 PM

design/backend/templates/views/index/index.tpl

 

replace

 

{$order.lastname} {$order.firstname}
 

 

with

 

{$order.firstname} {$order.lastname}
 

 

Then clear cache




#314027 Incorrect Links On Categories Overview Page

Posted by eComLabs on 04 April 2019 - 05:21 AM

In old versions it was

<a href="{"categories.view?category_id=`$category.category_id`"|fn_url}" class="ty-subcategories-block__a">

You can use this code as temporary fix




#313435 Automatic Generation Of Gift Certificates Based On User Points

Posted by eComLabs on 20 March 2019 - 12:59 PM

Agree, we did not find such a module on the marketplace




#313351 Vendor Store Links Not Showing Vendor Store

Posted by eComLabs on 18 March 2019 - 01:21 PM

Do you use any 3rd party addons related with vendors? And what Multi-Vendor do you use?




#313275 Sql Query Issue While Using Json_Contains

Posted by eComLabs on 15 March 2019 - 02:27 PM

Thanks for your help. But I realized that the problem is not based on the usage of JSON_CONTAINS, it is based on MYSQL version. JSON_CONTAINS works on MYSQL 5.7 or later. The problem has gone after updating MYSQL to 5.7.

 

Thank you for letting us know it




#313097 Enable Login By Username With Hooks

Posted by eComLabs on 12 March 2019 - 06:05 AM

Try something like
 
function fn_my_addon_auth_routines($request, $auth, &$field, $condition, $user_login)
{
    $is_email = db_get_field("SELECT user_id FROM ?:users WHERE email = ?s", $user_login);
    if (empty($is_email)) {
        $field = 'user_login';
    }
}



#313075 Enable Login By Username With Hooks

Posted by eComLabs on 11 March 2019 - 02:29 PM

Sure, use auth_routines hook to change value of the $field variable from email to user_login




#312666 Removing Letters From Numbers

Posted by eComLabs on 25 February 2019 - 07:37 AM

Pay attention to the PHP intval function

{$intval = $products.product_code|intval}
OG{$intval+1}



#312345 Payments Incompleat

Posted by eComLabs on 15 February 2019 - 02:04 PM

just done a test order and payment goes to card prosser fine and completes then you are not return to store but

you get this message from cart ( service unavailable / sorry, service is temporarily unavailable ) as though the store is closed

and the order is in incomplete status.

 

 

Check server error logs for error message and post it here




#312232 Vendor Menu Like This?

Posted by eComLabs on 13 February 2019 - 01:29 PM

I am afraid, it is not possible out of the box. Additional custom development work is required