Scot's Scripts FAQs and Module Support

If you don't find the answers here contact us.
Documentation and support for our Miva modules is found here. If you can't find the answer you're looking for contact us and we'll add the information.

AMP: Accelerated Mobile Pages / Installation

Installation

Step 1: Install Module

AMP for Miva Merchant is a utility module. Module installation is straight forward. If you need some help, Click Here for a detailed Miva Merchant module installation guide.

Step 2: Configuration

After installing and activation the module, go the AMP configuration:

MENU > UTILITIES > AMP for Miva Merchant

Enter your license code (check your email if you don't have it).

You do not have to adjust the configuration options at this time.

Step 3: Initial Page Setup - required before AMP pages can be displayed

Every AMP equivalent page has two AMP page items in them. The first page item handles whether or not an AMP page is being displayed, the other makes your AMP pages discoverable by search engines and crawlers.

Turn on the AMP item in the Product Display Page (PROD) and Category Page (CTGY) and make the first line of each page the following code:

<mvt:item name="amp" />

This must be the first line of any pages that have AMP equivalents or they won't work correctly.

Step 4: AMP Configuration and Page Settings

Go back to the AMP module configuration and then take a look at the Configuration FAQ entry for details.

Step 5: Make AMP Pages Discoverable

After you've configured your AMP pages and validated them, put them in the world by adding the following template code to the <head>...</head> section of your PROD and CTGY and any other pages that have AMP equivalents:

<mvt:item name="amp" param="discover" />

This will add a special AMP meta tag that enables search engines and AMP crawlers to index your AMP pages.

Step 6: Update Configuration

After you have validated your AMP pages and added the discovery tag from Step 5, you must update your htaccess file in the AMP module configuration. Open the configuration tab and scroll to the bottom of the page and check the "set/refresh AMP htaccess settings" option, then update.

All finished!

Extras: the Amp Validator extension for Chrome is an excellent tool to help debug AMP pages. We use it all the time to pinpoint AMP issues.

updated October 03, 2018