• Resolved devmode

    (@devmode)


    Hi!

    1. I would like to know whether You could help me with any guidance on how I could achieve the store filter design as it is in your demo website
    Please, also check the screenshot: https://prnt.sc/sxssct

    2. Could You advise me which hook/filter I could use for adding the store contact information (phone number) on the map location popup between the shop name and shop description? – https://prnt.sc/sxxzgy
    I know that only the files in “views” can be overridden in the child theme by wcfm directory and the map popup content is in the “core > class-wcfmmp-ajax.php” which is not overridable.

    Your help is much needed and appreciated.
    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Hi,

    1. I would like to know whether You could help me with any guidance on how I could achieve the store filter design as it is in your demo website
    Please, also check the screenshot: https://prnt.sc/sxssct

    – Please add this short code to your page – [wcfm_stores has_sidebar=”no” has_radius=”yes”]

    2. Could You advise me which hook/filter I could use for adding the store contact information (phone number) on the map location popup between the shop name and shop description? – https://prnt.sc/sxxzgy

    – Please use this filter – wcfmmp_map_store_info

    Here is whole filter code –

    $info_window_content =  apply_filters( 'wcfmmp_map_store_info', "<div class='wcfm_map_info_wrapper'>" .
    																																				"<a class='wcfm_map_info_logo' target='_blank' href='".$store_url."'><img width='80' src='".$gravatar."' /></a>" .
    																																				"<div class='wcfm_map_info_content'>" .
    																																				"<a class='wcfm_map_info_store' target='_blank' href='".$store_url."'>".$store_name."</a>" .
    																																				"<p class='wcfm_map_info_addr'>".$store_address."</p>" .
    																																				"</div>" .
    																																				"</div>", $store_id, $store_user );

    Thank You

    Thread Starter devmode

    (@devmode)

    Thanks a lot for Your response. You helped me a lot.

    I have one more question related to the map. I am using the Open Street Map. I wanted to know whether it’s possible to change the location pointing icons based on the Vendor membership plan and the Category? Is there any filter or hook which could handle this functionality?

    Thank You in advance!

    Thread Starter devmode

    (@devmode)

    Would You please guide me? How can I get the $store_id in functions.php so I could use it for the filter You provided above?

    Thank You in advance!

    Plugin Author WC Lovers

    (@wclovers)

    whether it’s possible to change the location pointing icons based on the Vendor membership plan and the Category?

    – Do you want to setup store list page based on vendor’s membership?

    If so, it’s possible. Please check store list short code attributes – https://docs.wclovers.com/store-list/

    Thread Starter devmode

    (@devmode)

    Thank You for Your response. I think I should describe my situation in detail.

    By default, the Vendors’ location pointing icon is this: https://prnt.sc/t24jcl

    I have this kind of scenario:
    I want to change the map location icon based on the Membership plan and the store category.
    For instance: If the shop has the “Diamond” membership plan and “Delivery” product category then this store’s location map should be this icon: https://imgur.com/g4hZ4cK

    Question:
    Does WCFM provide any filter or hook which could handle this implementation?

    Thank You once again for Your kind support!

    • This reply was modified 4 years, 9 months ago by devmode.
    • This reply was modified 4 years, 9 months ago by devmode.
    Plugin Author WC Lovers

    (@wclovers)

    I want to change the map location icon based on the Membership plan and the store category.

    – It’s possible to change map icon for vendors.

    For instance: If the shop has the “Diamond” membership plan and “Delivery”

    – If a vendor has this membership but not “Delivery” category. Then which icon will visible?

    Thank You

    Thread Starter devmode

    (@devmode)

    There are given categories and each category should have its own icon for the map.
    By the membership plan, the background color of the icon should be changed based on the Membership plan gear common color and the icon is going to be changed based on the category as I showed above.

    If it’s not still quite clear and You need more details, please, let me know, I can provide.

    Thank You in advance

    Thread Starter devmode

    (@devmode)

    – If a vendor has this membership but not “Delivery” category. Then which icon will visible?

    In this case, it is ok for the default icon to be shown on the map.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Store list filter design’ is closed to new replies.