Forum Replies Created
-
AuthorPosts
-
T0mX06
ParticipantI understand that. Thanks for everything. Have a nice Week End
T0mX06
ParticipantOne last question (i hope for you :))
How can I add in the custom code for displaying user metas in product search a metadatas included in another one. For example if i want to display the content of _enable_local_pickup wich is in _wcfmmp_shipping_by_distance => array etc._wcfmmp_shipping_by_distance
array (
0 =>
array (
‘_default_cost’ => ”,
‘_max_distance’ => ”,
‘_free_shipping_amount’ => ”,
‘_enable_local_pickup’ => ‘yes’,
‘_local_pickup_cost’ => ‘5’,
),
)T0mX06
ParticipantIt works ! Perfect as usual ! Thank you so much 🙂
T0mX06
ParticipantTried and not working :(. Like you say it worth the try.
I’ve found this perheaps it could help ?
https://wclovers.com/forums/topic/display-the-store-logo-and-the-avatar-of-the-vendor/T0mX06
ParticipantThe only thing i’ve found for now is that. Like the image is associated with a gravatar number.
wcfmmp_profile_settings
array (
0 =>
array (
‘user_name’ => ‘Boutique Demo 3’,
‘user_email’ => ’[email protected]’,
‘first_name’ => ‘Boutique Démo 3 Prénom’,
‘last_name’ => ‘Boutique Démo 3 Nom’,
‘store_name’ => ‘Boutique Démo 3’,
‘store_slug’ => ’boutique-demo-3′,
‘store_email’ => ’[email protected]’,
‘phone’ => ‘0490000000’,
‘vendor_id’ => ‘99999’,
‘gravatar’ => ‘254’,
‘banner_type’ => ‘single_img’,
‘banner’ => ”,
‘banner_video’ => ”,
‘banner_slider’ =>
array (
0 =>
array (
‘image’ => ”,
‘link’ => ”,
),
),T0mX06
Participantoh, and do you think that I could use the store logos instead of the default avatar ?
I think its store-avatar that is used or gravatar that is listed in the user metadas-
This reply was modified 6 years, 1 month ago by
T0mX06.
T0mX06
ParticipantThank you so much ! That’s perfect. 5 stars customer support
Will the changes made will still work with the next updates of ASP ?
Last question, may I have to keep the index search engine or I could use the normal one ?Ok i’ve tested and it works with the classic search engine 😉-
This reply was modified 6 years, 1 month ago by
T0mX06.
T0mX06
ParticipantYou cannot access this content.
T0mX06
ParticipantOk,
First of all thanks for everything. Really !
I’ve done the changes in function.php. I’ve switched the search engine from regular to index one. Added a {wcfmmp_store_name} and a {store_name} just in case but both are filled with stores names informations. The results don’t display the store name in the results.
Perheaps you’ll need my creditentials to log in my admin and see my function.php in my FTP ?T0mX06
ParticipantHi,
Yes they are all users meta. You will find below all the customs fields I would like to use in the product search list.
If you could acheive this via a custom code and the index table this will be amazing !Thanks for everything
_store_description
store_name
wcfm_vendor_store_hours‘store_email’
‘phone’
‘payment’
‘wcfm_store_hours’
‘wcfm_shipping_policy’
‘wcfm_vacation_mode’
‘store_location’
wcfmmp_store_nameT0mX06
ParticipantHi,
Thanks for your answer. Do you think there is a way to sync metadata between users ones and products ones ?
-
This reply was modified 6 years, 1 month ago by
-
AuthorPosts