Home Forums WoodMart support forum Geolocation filters + map show up on single product page (funeralls.com)

Geolocation filters + map show up on single product page (funeralls.com)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #684677

    cosadandri
    Participant

    Description

    When using Woodmart theme (and child), the Dokan Geolocation filters and map are displayed on single product pages.
    This behavior does not occur with Storefront (or other default themes), so the issue seems specific to Woodmart’s integration/hooks.

    Expected behavior

    Filters + map should appear only on Shop and Store Listing;

    They should not render on single product pages.

    On single product pages, the Mapbox map generated by the Geolocation module is displayed even though it should not be. In other themes, such as Storefront, this issue does not occur, which confirms that the bug is specific to the Woodmart theme. I have verified that both the filter bar and the map (Mapbox canvas) are rendered above the product. From a user perspective, these elements should only be visible on Shop or Store-Listing, not on single product pages.

    Can you please help me?

    Attachments:
    You must be logged in to view attached files.
    #684785

    Hello,

    Please add the following Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:

    .single-product .wd-dokan-geo {
        display: none !important;
    }

    Best Regards,

    #684922

    cosadandri
    Participant

    Hello,

    Now, in the single product page, the map disappeared from the top section, but now, on the Location tab, the map is not displayed at all;
    See the file attached.

    Thank you !

    Attachments:
    You must be logged in to view attached files.
    #685003

    Hello,

    But when the custom CSS is removed, the Location tab only shows the address text and not the actual map.
    https://postimg.cc/6ygv6TVr

    Best Regards,

Viewing 4 posts - 1 through 4 (of 4 total)