0 comments on “Hide Store Pages Menu on SaaS”

Hide Store Pages Menu on SaaS

A recent update to the Store Locator Plus® WordPress plugin or Power add on  have re-introduced the Pages menu item on the sidebar in the SaaS application.

Task

Remove “Pages” from the sidebar menu on the SaaS application.

Reproduction

  1. Login to the SaaS platform
  2. Switch to a user with Professional or Enterprise level access
  3. Go to Options on the sidebar
  4. Check the Enabled Pages checkbox

Result

Pages appears on the sidebar.

Expected Result

Do not show pages on the sidebar until this is fully functional.

Resolution

Architecture: Location Download

A feature provided in the Professional level service is a CSV export of locations via the Location Manager page.

2209.12

This process is being revised so that export bulk action works more like a single page application.

Also see the Bulk Action processor page.

2208.15

The process flow for the Locations : Export CSV…

The process starts with a standard form submit from the Bulk Actions “Apply” button.

WordPress sets up a JavaScript variable location_import that has info about the action “export”.

This triggers a jQuery(document).ready() call that fires another request via AJAX back to WordPress with some new parameters in place.

That AJAX call eventually sends back a CSV file that is stored in a DOM div that was prepared with the jQuery() document loader when the refreshed page (post original submit) was rendered.