Install store locator on Magento

Open your dashboard and navigate to the embed page.

  1. Copy the embed code that's in the textbox.
  2. Log into your Magento store admin.
  3. Navigate to CMS Static Blocks.
  4. Click Add New Block in the top right corner.
  5. Give your block a recognizable Block Title such as Store Locator.
  6. Give your block an Identifier which will be used to call the block. Make sure the Identifier is all lowercase and separated by underscores to follow Magento’s nomenclature i.e. your_block_id
  7. Choose what store view the block belongs to.
  8. Set Status to Enabled.
  9. Paste the code you initially copied in the Content field.
  10. Click Save Block or Save and Continue Edit to save your settings.
  11. Now you've created your block, so you need to use it.
  12. Navigate to app design frontend default your_theme layout
  13. Open the appropriate the file and paste the following code in the block for our category view. Be sure to replace your_block_id with the Identifier you setup earlier:

    <block type="cms/block" name="your_block_id" before="-">
      <action method="setBlockId"><block_id>your_block_id</block_id></action>
    </block>
Was this article helpful? /
How can we improve this page?
This feedback is used only to improve this support page. Please email us directly at support@zenlocator.com if you'd like assistance.