Support » Plugin: OSM - OpenStreetMap » OSM displaying Woocommerce products position

  • Hello and thank you for this useful plugin!

    I would like to geolocate woocommerce products.
    I found some instructions here
    https://wordpress.org/support/topic/osm-and-custom-post-type/
    and it works perfectly with posts but not with the custom post type “product” which is the cpt of Woocommerce.

    I tried with the following code

    custom post type: tagged_type=”product”
    category: tagged_filter=”brenzone”

    [osm_map_v3 map_center=”45.6513,10.6806″ zoom=”10″ width=”100%” height=”450″ tagged_type=”product” marker_name=”mic_black_pinother_02.png” tagged_filter=”brenzone” map_border=”thin solid grey” tagged_color=”black” ]

    There are no errors but the map does not show the markers.

    I added: tagged_filter_type=”product_cat”

    [osm_map_v3 map_center=”45.6513,10.6806″ zoom=”10″ width=”100%” height=”450″ tagged_type=”product” marker_name=”mic_black_pinother_02.png” tagged_filter=”brenzone” map_border=”thin solid grey” tagged_color=”black” ]

    That doesn’t work either.

    The custom field OSM_geo_data is present in the editor area of products and posts.

    Thanks in advance for your help.
    Francisco

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

  • You must be logged in to reply to this topic.