Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field

Option

Comment

Is Enabled

Yes/No 

If disabled customer will be redirected to the Base URL.

Meta title

Field is used to set meta tile for store locator page.

Meta description

Field is used to set meta description for store locator page.

Backend

Note

In progress

Controller

vendor/creativestyle/magesuite-store-locator/Controller/Index/Index.php:34
Code Block
class Index extends \Magento\Framework\App\Action\Action
{
    public function execute()
    {
        $result = $this->pageFactory->create();
        .....
        if (!empty($this->configuration->getMetaTitle())) {
            $result->getConfig()->getTitle()->set($this->configuration->getMetaTitle());
        }

        if (!empty($this->configuration->getMetaDescription())) {
            $result->getConfig()->setDescription($this->configuration->getMetaDescription());
        }

        return $result;
    }
}

...