v1.6-v1.7 Prestashop AMP Accelerated Mobile Products & Category Pages Module

freiserk

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Master
Joined
Jan 24, 2019
Messages
3,497
Reaction score
6,557
Points
113
NullCash
33,251
I found this:

To check the operation or even if we edit the amp design.

1º We add the categories of "products" and "categories" to the friendly URLs.

In -> Configure -> Shop parameters -> Traffic and Seo

amp001.jpeg

We select "Add new page"

amp002.jpeg

We configure as we see in the image, both for products and for categories.
Important to select the correct option marked in the box in red.

amp003.jpeg

amp004.jpeg

After finishing each configuration we save the changes.

Now the module is configured to see the result directly as follows:

As we see in the following image, the format to consult the product and the category is added in the root of the website. We only need to know the id of the product or category.

amp005.jpeg

amp006.jpeg

In this way we can test that it works correctly and if we need to add more code or modify the design, make sure that we do not generate errors.

@Takio, you can add it at the beginning, to avoid the high google wait, which is sometimes a lot.
 

Attachments

  • result.jpeg
    result.jpeg
    103.8 KB · Views: 44
Last edited:

dsfstore

Member
XNullUser
Joined
Feb 28, 2019
Messages
365
Reaction score
22
Points
18
NullCash
2
I found this:

1º.-
Adding page "amp_product" in Preferences> SEO & URLS
And then: "URL Rewrite" => amp.

2º.-
Add this part the root of the site (which refers to the "id" of the article):
amp? idProduct = 1
In this way you can test its operation and if it is modified.

Then depending on the knowledge can be modified to make it more friendly. But Google will detect it to launch the article on mobile phones.

RESULT IN CHROME LOCAL

View attachment 628

@Takio, you can add it at the beginning, to avoid the high google wait, which is sometimes a lot.
:) i've added the page but after that i'm lost - can you help a newbie (some more steps for dummies?) :)
 

Takio

Well-known member
Master
Diamond
Elite
Joined
Feb 13, 2019
Messages
494
Reaction score
1,680
Points
93
NullCash
14,006
@dsfstore
Nothing to do, just wait 2/3 weeks until Google find the AMP pages himself ;)
 
Last edited:

freiserk

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Master
Joined
Jan 24, 2019
Messages
3,497
Reaction score
6,557
Points
113
NullCash
33,251
:) i've added the page but after that i'm lost - can you help a newbie (some more steps for dummies?) :)

Then I prepare some captures for you to clarify and be simple.
 
Top