Jump to content

 

eComLabs

Member Since 27 Jan 2014
Offline Last Active Today, 04:38 AM
*****

#335781 Api Does Not Return Newly Created Profile Fields

Posted by eComLabs on Yesterday, 01:20 PM

Just replace

function fn_my_changes_get_users_post($users, $params, $auth)

with

function fn_my_changes_get_users_post(&$users, $params, $auth)



#335713 Blog Posts "admin Admin"

Posted by eComLabs on 22 January 2021 - 01:17 PM

You are welcome :)




#335696 Blog Posts "admin Admin"

Posted by eComLabs on 22 January 2021 - 04:52 AM

Please use

 

.ty-blog__author {
    display: none !important;
}



#335671 Api Does Not Return Newly Created Profile Fields

Posted by eComLabs on 21 January 2021 - 01:41 PM

You are welcome! :)




#335635 Api Does Not Return Newly Created Profile Fields

Posted by eComLabs on 20 January 2021 - 01:36 PM

1. It is not possible our of the box. But you can write your own function based on the fn_get_profile_fields_data one (app/functions/fn.users.php)

 

2. Right, there is no hook, unfortunately. As alternative, you can use post hook in the fn_get_users function and extend the data returned by this function. You can use the following condition to check if API is used

if (defined('API')) {
    ... your code here....
}

3. It also possible, but point #2 is easier




#335614 Dev Store

Posted by eComLabs on 19 January 2021 - 01:42 PM

I have closed the storefront as mentioned, and set up an access key so I can still view what I'm doing. What do I need to do with the robots.txt file, just so I can be sure Google won't crawl it. And also, as my dev site is "www.example.co.uk/dev" will Google pick that up as a subpage of my live store?

 

With the closed store-front you should not do anything with robots.txt file. If you see the store-front

 

- you have already entered store access key earlier

 

or

 

- you are logged in the store-front under admin account

 

So just use incognito window in your browser to check the result




#335612 Api Does Not Return Newly Created Profile Fields

Posted by eComLabs on 19 January 2021 - 01:37 PM

app/Tygh/Api/Entities/Users.php

 

try to add

$data['fields'] = fn_get_profile_fields_data('U', $id);

after

$data = reset($data);

Then clear cache

 

(!) Not tested




#335561 Dev Store

Posted by eComLabs on 18 January 2021 - 04:57 AM

So assuming I do all of the steps correctly, will closing the storefront stop any Google bots from listing the dev site?

 

https://docs.cs-cart...ore_closed.html




#335560 Buy Together: Button Add Combination Missing

Posted by eComLabs on 18 January 2021 - 04:55 AM

Try to post it to the bug tracker. Looks like a bug




#335471 Multivendor - Customer Email Notification Sent From Vendor Registration Email

Posted by eComLabs on 14 January 2021 - 07:20 AM

Hi,

 

Still anybody to help? I tried to find a solution on the forum but it seems that most people wants to changer the sender email address, I just want to change it for the company name.

 

Thanks in advance for your response

 

If you change e-mail address from vendor emails to marketplace one, company name will be changed as well




#335362 Default Export Fields From Subscribers Are Missing

Posted by eComLabs on 11 January 2021 - 01:26 PM

Examination on your server is required. Try to contact support team




#335306 Buy Together: Button Add Combination Missing

Posted by eComLabs on 10 January 2021 - 07:02 AM

Are you logged in under root admin?




#335207 How Can I Hide Price In Points In Products Details Page?

Posted by eComLabs on 06 January 2021 - 06:38 AM

 

Happy New Year all!

 

Has anyone ever modified this with a little bit more play?

 

I see that in my v.4 shop there are two lines of that module:

Price in points: 350 points (visible to all visitors)
Points earned: 35 points (visible only to registered users)
 
I am contemplating hiding Price in points line for all visitors and moving it to wherever the Points earned resides, so that these two lines are only visible to registered users, who know about points.
 
Thanks in advance.
Vic

 

 

The condition for registered users is

{if $auth.user_id}
    ....
{/if}

Template can be found in previous messages




#334612 Adding A Page-Break In The Invoice Document Template

Posted by eComLabs on 18 December 2020 - 01:37 PM

We use it in the following way:

 

<style type="text/css" media="print">
.pagebreak { page-break-before: always; }
</style>
<div class="pagebreak"></div>



#334575 Default Store Language

Posted by eComLabs on 18 December 2020 - 04:50 AM

Set up default language in the settings to Greek

 

To disable language detection by browser, please replace

 

    } elseif ($browser_language = fn_get_browser_language($avail_languages)) {
        $display_language = $browser_language;
 
with
 
//    } elseif ($browser_language = fn_get_browser_language($avail_languages)) {
//        $display_language = $browser_language;