Forum Replies Created
-
AuthorPosts
-
codigo3net85
Participanthello Ernest, thank you for your response. I tried your 2nd option adding the code in my functions.php child theme file.
remove_action(‘admin_head’, ‘wpdreams_asp_add_mce_button’);
remove_action(‘admin_head’, ‘wpdreams_asp_mce_generate_variable’);
But it didnt work. But dont worry, i have hidden the ASP button from tinymce with some css.Thanks
codigo3net85
ParticipantAh! ok! i got it.
Ernest, thanks a lot for your time and help!Thank you!
codigo3net85
ParticipantWOW! working great!!! now i see vendors avatar in ASP results!! THAAAAAANK YOU!!!!!! see attached image.
Taking advantage of the ticket, one more question. Why if in the settings search i select any category im always getting the same results? no changes, im always getting the same vendors results, check this video please:
https://www.awesomescreenshot.com/video/3262915?key=8d5b4cdc5c7d23f7a1d11d03dfb83432Any advice? Thanks
codigo3net85
ParticipantWow! thanks for your mega fast response!
Now im getting blank images, see attached screenshot pleasecodigo3net85
ParticipantHello! Thank you for your respose and your code!
But, i dont know if im missing something, i dont know if i need to modify anything else in the ASP settings. I already added your code in my child theme functions.php and check what happens, i recorded a video for you so you can see it:https://www.awesomescreenshot.com/video/3262819?key=18580192a1328262794efe4e02254acd
In few words, after adding the code in functions.php no results are found in ASP, if i remove the code, results appears again (without image of course).
Any advice for this?
Thanks!codigo3net85
ParticipantHello! Here is what YITH support told me about how to get $vendor
Hi Daniel,
you can use this:$vendor = yith_get_vendor( $term_id, ‘vendor’ );
and in add you can check if this is a valid vendor with this method
$vendor->is_valid()
Is this enough Ernest to get image from vendor and be shown in your ASP plugin?
Thankscodigo3net85
ParticipantHello Ernest! I contacted YITH support about how to get avatar image from a Vendor from YITH Multivendor Store plugin.
Here is what they told me:
Hi Daniel,
thanks for contacting us. The plugin can use two type of avatar: Owner Avatar or Custom avatar and you can use this code to get it:wp_get_attachment_image( $vendor->avatar, apply_filters( 'yith_wcmv_get_avatar_size', YITH_Vendors()->get_image_size( 'gravatar' ) ) ); OR get_avatar( $vendor->owner, get_option( 'yith_vendors_gravatar_image_size', '62' ) );If you need other kind of information about that feel free to contact me again.
Have a nice day
Andrea GrilloCould you please help me to know how to “convert” this codes they gave me to a readable way for Ajax Searc Pro so it can get the Avatar Image please?
Thank you!
codigo3net85
ParticipantHello! Thank you for your response!
I found why post box was not show inside Vendors products, im using Advanced Access Manager plugin and ASP postbox was checket to not be shown.My mistake. Sorry.
Thank you!!codigo3net85
ParticipantHello Ernst!
YITH Multi Vendor plugin has no API =(Uff.. I’m already regretting buying the YITH Multi Vendor plugin. It is lack of tons of things.
Thank you.
codigo3net85
ParticipantThank you!
codigo3net85
ParticipantHi! Does your CRON option need to have active wp-cron.php?
I have it disabled but im running via Schedule Task (in Plesk) to run httpdocs/wp-cron.php every 15 minutes.With this, your cron will be executed?
Any advice?Thanks
codigo3net85
ParticipantOH! Great! THANK YOU!!!!!
February 19, 2021 at 2:33 pm in reply to: Failed update: Download failed. A valid URL was not provided #31686codigo3net85
ParticipantYou cannot access this content.
February 18, 2021 at 6:09 pm in reply to: Failed update: Download failed. A valid URL was not provided #31673codigo3net85
ParticipantYou cannot access this content.
-
AuthorPosts