0 comments on “Power : Store Pages Not Working”

Power : Store Pages Not Working

Store Pages interfaces are not invoked.

Reproduction

Requires Power add on to be active.

  • Login as admin on WordPress (WP) site.
  • Go to Store Locator Plus® | Options
  • Enable Pages
  • Go to Store Locator Plus® | Locations
  • Choose Pages, Create from the bulk actions drop down menu
  • Click “to All” next to that menu

Issues

  • There is no “Pages” list in the sidebar
  • Each location shows a page attached, but if you scroll over to the Pages URL column on the location list page, view or edit does not work.
  • Edit brings up this error:
    Sorry, you are not allowed to edit posts in this post type.

Map Marker Icons AWOL

Some users are not seeing the proper map marker urls (schmiggitty).

Home Marker

Saved: https://local.storelocatorplus.com/schmiggitty_at_gmail_dot_com/wp-content/mu-plugins/store-locator-le/images/icons/bulb_yellow.png (empty)
Corrected: https://local.storelocatorplus.com/wp-content/mu-plugins/store-locator-plus/images/icons/bulb_yellow.png

End Marker

Saved: https://local.storelocatorplus.com/schmiggitty_at_gmail_dot_com/wp-content/mu-plugins/store-locator-le/images/icons/bulb_azure.png (empty)
Corrected: https://local.storelocatorplus.com/wp-content/mu-plugins/store-locator-plus/images/icons/bulb_azure.png

Dev notes

https://storelocatorplus.youtrack.cloud/issue/SLP-11/Map-Marker-Icons-AWOL

On staging (and production I assume) these both work as expected. The long URL with the customer ID works.

google.maps.Marker is deprecated

You will see this message in Generate Embed when reviewing the interface for any user.

As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. At this time, google.maps.Marker is not scheduled to be discontinued, but google.maps.marker.AdvancedMarkerElement is recommended over google.maps.Marker. While google.maps.Marker will continue to receive bug fixes for any major regressions, existing bugs in google.maps.Marker will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/deprecations for additional details and https://developers.google.com/maps/documentation/javascript/advanced-markers/migration for the migration guide.

Dev Notes

https://storelocatorplus.youtrack.cloud/issue/SLP-14/google.maps.Marker-is-deprecated