Magento 1 Accelerated Mobile Pages v1.x Configuration

Configuring Accelerated Mobile Pages

In this article you will learn how to configure our Magento Accelerated Mobile Pages Extension correctly. Please, follow the instructions below.

Go to the main menu and select “Plumrocket” tab > “Accelerated Mobile Pages” section.

Step-by-Step action:

General

  1. Enable Extension: Select “Yes” to enable the extension or “No” to disable it.
  2. Option “Serial Key”: enter unique serial key provided after the purchase for legitimate and proper functioning of your extension. Note: In most cases this field will be pre-filled with serial key automatically and the green check mark will be displayed. Otherwise please read article Serial Key Activation in order to find and paste your serial key manually.
  3. AMP Enabled On: select the required pages to enable AMP for.
  4. AMP Disabled On: enter the specific page URL where you need the AMP to be disabled on.
  5. “Force AMP on Mobile Devices”: if enabled – this option allows to display AMP version of a site automatically to all mobile users, who opened your store directly. If this option is disabled, the user will see non-amp pages when landing onto the website directly (not from Google Search Results).
  6. “Force AMP on Tablet Devices”: if enabled, this option lets you automatically display AMP version of a site to all tablet users who opened your store directly.
1 plumrocket magento accelerated mobile pages 1.7.0.jpg

Step-by-Step action:

Checkout Redirect

  1. Enable Redirect: if enabled, clients will be redirected to Checkout Page after they add a Product to Cart.
  2. “Custom Checkout Path” option: enter the custom checkout page path, if you are using the third party checkout extension.

Social Sharing

  1. Enable Social Sharing: select “Yes” to enable the option or “No” to disable it.
  2. “Active Share Buttons” option: allows admin to select the social buttons to be displayed on the AMP Product Pages.
  3. Enter the Facebook App ID in the relevant field in order to be able to use the Facebook “Share” button on AMP product pages.
2 plumrocket magento accelerated mobile pages 1.7.0.jpg

Step-by-Step action:

Design

  1. These options allow you to configure the color scheme of the AMP pages.
  2. These fields allow you to upload the custom logo for the AMP pages.
3 plumrocket magento accelerated mobile pages 1.7.0.jpg

Step-by-Step action:

Header

  1. “Show Search Box” option: enable to display the Search Box. Note: the search autocomplete functionality will work only if your AMP site is served via secure (HTTPS) protocol.
  2. “Contact Phone” option: enter your contact phone number.
  3. “Contact Email” option: enter your contact email address.
  4. “Store / Currency Switch Type” option: select the view of store / currency switcher to display, you can choose the Popup window or Drop-down list display types.
  5. “Show Store View Switcher” option: enable or disable the display of the store view switcher in the header of AMP Page.
  6. “Show Store Currency Switcher” option: enable or disable the display of the currency switcher in the header of AMP Page.

Footer

  1. “Show Subscribe Form” option: enable or disable the display of subscribe form in the footer of AMP Page. Note: the Newsletter Subscribe Form functionality will work only if your AMP site is served via secure (HTTPS) protocol.
  2. “Show Social Media Buttons” option: enable or disable the display of social media buttons in the footer of AMP page. The buttons can be configured in CMS block.
  3. “Show Icons of Payment Methods” option: enable or disable the display of the payment method icons in the footer of AMP page.
  4. “Show Store View Switcher” option: enable or disable the display of the store view switcher in the header of AMP Page.
4 plumrocket magento accelerated mobile pages 1.7.0.jpg

Step-by-Step action:

Product Page

  1. “AMP Product Options Type” option: allows admin to select the product options type. The following options are available:
    • Choose Options – if selected, this option will redirect customer to desktop/mobile version of the product page. It is currently displayed for all grouped and bundle products regardless of your choice.
    • AMP Iframe – allows admin to load product options from your desktop/mobile website into AMP, however it requires to specify the same static Iframe size for all product pages. Secure (HTTPS) protocol must be enabled for this option to work.
    • Configurable AMP swatches – will automatically generate AMP color, size and custom options (drop-down, multiple select, radio buttons and checkboxes). This option will only work on Magento CE 1.9.1 and above, also secure (HTTPS) protocol must be enabled.

Google Tag Manager

  1. Option “Google Tag Manager Snippet”: enter the code for the tag from your Google Tag Manager account in order to quickly add and update site tags from the GTM.
5 plumrocket magento accelerated mobile pages 1.7.0.jpg

Step-by-Step action:

RTL Template

  1. “Enable RTL Template”: this option allows to enable or disable RTL template (right to left language e.g. Hebrew).

Zendesk Chat

  1. Set “Yes” to enable or “No” to disable Zendesk Chat on all AMP pages.
  2. “Key” option: enter the key required to display the Zendesk button.
  3. “Button Label”: specify button the label in this field.
  4. “Button Background Color”: choose the background color of the Zendesk chat button.
  5. “Button Text Color”: select color of the text displayed on the Zendesk button.

Google Analytics

  1. Select “Yes” to enable Google Analytics on your AMP pages, or “No” to disable it.
  2. “Account number”: enter your Google Analytics account number. You can setup a separate Google Analytics AMP account for AMP pages, or use the existing one.
  3. Press “Save Config” to save the changes.
6 plumrocket magento accelerated mobile pages 1.7.0.jpg

AMP Home Page Configuration

Here you will learn how to setup the Accelerated Mobile Homepage.

Setting AMP Category Images for AMP Homepage

AMP Home Page is being generated dynamically, based on the categories you have. If for some reason the homepage does not have any category images displayed – you will need to manually set the AMP Homepage Image for these categories.

Step-by-Step action:

  1. Navigate to Admin Panel > Catalog > Manage Categories > select the required category.
  2. Go to “General Information” tab and choose “AMP Homepage Image” section.Upload the required image you need to be displayed on AMP Homepage.
  3. Save your changes by pressing “Save Category” button and make sure to clear Magento cache. Also, please perform complete Magento Reindex.
Magento accelerated pages extension homepage image v1.3.0.jpg

Now, if needed, you can proceed with the next steps AMP Homepage configuration.

Step-by-Step action:

  1. In the main menu go to “CMS” tab.
  2. Select “Pages” section.
  3. Search for “AMP” page in the “Title” field.
  4. Go to “Amp Home Page”.
Magento accelerated pages extension 0.jpg

Once you selected “Amp Home Page” you can set all the required settings.

Step-by-Step action:

  1. Go to “Page Information” tab.
  2. “Page Title”: option allows to specify the name of page.
  3. “URL key”: field shows URL key that identifies this page. Note: Do not change this URL key.
  4. “Store View”: option allows to select the store view the AMP home page will be visible at.
  5. “Status”: option allows to enable or disable the page.
Magento accelerated pages extension 1.jpg

Step-by-Step action:

  1. Go to “Content” tab.
  2. “Content Heading”: option allows to specify the heading of the home page content.
  3. Edit or add the content as you need, and paste it here.
Magento accelerated pages extension 2.jpg

Step-by-Step action:

  1. Go to “Design” tab.
  2. Layout”: option allows to select the layout of the page, based on your requirements.
  3. “Layout Update XML”: option allows to paste your layout XML code in order to update your layout.
  4. “Custom Design”: use this block to create custom layout for a specified period of time.
Magento accelerated pages extension 3 updated.jpg

In case you need to change links and/or add images on your Magento Home Page, you need to edit the following file:

/app/design/frontend/base/default/template/pramp/head/css/index.phtml

Please note, before making any changes – you need to copy this file to your theme directory:

/app/design/frontend/MY_THEME/default/template/pramp/head/css/index.phtml

Step-by-Step action:

  1. “Meta Data”: option allows to enter meta keywords for this page.
  2. “Meta Description”: allows to enter meta description of this page.
  3. Press “Save Page” in order to save your changes.
Magento accelerated pages extension 4.jpg

Step-by-Step action:

  1. In the main menu go to “CMS” tab.
  2. Select “Static Blocks”.
  3. Search for “AMP” page in the “Title” field.
  4. Go to “Footer Links AMP block”.
Magento accelerated pages extension 5.jpg

Step-by-Step action:

  1. “Block Title”: option allows to specify the name of the block.
  2. “Identifier”: field shows an identifier for this block. Note: Do not change this identifier.
  3. “Store View”: option allows to select the store view the AMP home pages will be visible at.
  4. “Status”: option allows to enable or disable the block.
  5. “Content”: option allows to enter the links that will be displayed in the footer of the page.
Magento accelerated pages extension 6.jpg

This is how the Accelerated Mobile Pages will look like on the frontend of your Magento store.

Magento accelerated pages extension frontend.jpg

Testing Accelerated Mobile Pages

After the extension is configured, make sure it is tested to ensure it is validated and working properly.

Please, check the Next Step > Testing Accelerated Mobile Pages Extension.

Was this article helpful?