joomoda 1 Posted March 24, 2019 Posted March 24, 2019 i tested and all work fine, i'd like understand how to set the module for read amp version in mobile as default Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted March 24, 2019 Posted March 24, 2019 Hi @joomoda, you can’t it’s automatically done from Google and Facebook for mobile users. Share this post Link to post Share on other sites
lawis 2 Posted April 29, 2019 Posted April 29, 2019 Salut Léopold et merci beaucoup pour ce module. J'ai un petit problème sur ma 1.6.1.23, mes descriptions de produits ont été faites avec tinymce, du coup j'ai des photos qui ne s'affichent pas en amp dans ma description de produit, m'affichant [img-xxx-large-default] à la place. De même, j'ai des vidéos dans certaines fiches, dans des iframes qui se chargent en lazyloading par un intersection-observer (pas les images précédentes), et elles ne s'affichent pas en amp non plus. Si jamais t'as une idée, je suis preneur. Merci Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted April 30, 2019 Posted April 30, 2019 Salut lawis, non désolé dans l'immédiat pas de solution. Il faudrait que le module gère les fichiers dans les contenus, ce qui n'est pour l'instant pas le cas. Je t'invite à créer une issue sur Github pour améliorer cela. Share this post Link to post Share on other sites
Steven_ 1 Posted August 8, 2019 Posted August 8, 2019 Hi, Can I add social media sharing links on the product pages with your module? Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted August 9, 2019 Posted August 9, 2019 Hi @Steven_ not yet. Share this post Link to post Share on other sites
Steven_ 1 Posted August 9, 2019 Posted August 9, 2019 12 minutes ago, Léopold Jacquot said: Hi @Steven_ not yet. Is there any way to achieve it. Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted August 29, 2019 Posted August 29, 2019 @Steven_ Yeah by creating a custom template. Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted September 15, 2019 Posted September 15, 2019 (edited) A new version fixing an incompatibility with the pspixel module has been released. Edited September 15, 2019 by Léopold Jacquot (see edit history) Share this post Link to post Share on other sites
joseangel2003 7 Posted September 15, 2019 Posted September 15, 2019 Hello @Léopold Jacquot , I wanted to congratulate you on the module, we are using it very well a while ago, I contact you to ask how we can modify the number of decimals, we want to improve the number format shown by the module, I leave a print on how the price looks best regards jose Share this post Link to post Share on other sites
gabdr 24 Posted September 17, 2019 Posted September 17, 2019 hello! dont work images, pleas help me https://islamicstore.ru/module/amp/product?idProduct=5827 Share this post Link to post Share on other sites
Soyons Solidaire 249 Posted September 18, 2019 Posted September 18, 2019 Hello, Thanks you for sharing Share this post Link to post Share on other sites
Pentarou 0 Posted September 19, 2019 Posted September 19, 2019 Hello and thank you for developing this module, We want to use your module in the future, but we're not ready for it yet, but Google has indexed it very quickly, how do I completely remove your module, caches and rewrites it has made? Thanks in advance! Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted September 19, 2019 Posted September 19, 2019 Hi, Just uninstall the module. But if google indexed it you will need to wait some time from Google to unindex this. 2 Share this post Link to post Share on other sites
Pentarou 0 Posted September 19, 2019 Posted September 19, 2019 Thank you kindly for your support. Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted September 22, 2019 Posted September 22, 2019 @joseangel2003 please update to the latest release, it was fixed minutes ago Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted September 22, 2019 Posted September 22, 2019 Hi @gabdr, you image seems to work. Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted September 22, 2019 Posted September 22, 2019 A new version was release to handle custom css and price rounding in Prestashop 1.7.x Share this post Link to post Share on other sites
staut82 1 Posted September 22, 2019 Posted September 22, 2019 Hi, after update button buy not work https://www.chemodanoff.com.ua/ru/module-amp?idProduct=12656 Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted September 22, 2019 Posted September 22, 2019 (edited) @staut82 it works but you are redirect on the same page, I don't know why. It works well on my Prestashop demo website on 1.7.x. Could you install the previous release to test if it works as expected ? https://github.com/L3o-pold/prestashopamp/releases/download/2.0.17/amp.zip Edited September 22, 2019 by Léopold Jacquot (see edit history) Share this post Link to post Share on other sites
staut82 1 Posted September 22, 2019 Posted September 22, 2019 (edited) тоже не работает нормально 1.6.1.24 Edited September 22, 2019 by staut82 (see edit history) Share this post Link to post Share on other sites
staut82 1 Posted September 22, 2019 Posted September 22, 2019 I understand, when the setting is “Where to redirect the buyer after adding the product to the cart - to the previous page, then the page reloads Share this post Link to post Share on other sites
joseangel2003 7 Posted September 23, 2019 Posted September 23, 2019 On 9/22/2019 at 5:07 AM, Léopold Jacquot said: @joseangel2003 please update to the latest release, it was fixed minutes ago Hi @Léopold Jacquot i update module but i dont fixed decimals numbers in product page 😞 Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted September 23, 2019 Posted September 23, 2019 Hi @joseangel2003 it should be automatically rounded since the last update. Share this post Link to post Share on other sites
Soyons Solidaire 249 Posted September 24, 2019 Posted September 24, 2019 17 hours ago, joseangel2003 said: Hi @Léopold Jacquot i update module but i dont fixed decimals numbers in product page 😞 Hello, Empty your cache Share this post Link to post Share on other sites
renegatu 0 Posted December 5, 2019 Posted December 5, 2019 Very nice module. Now I have in my description some youtube videos, that Google told me I need to put also in AMP I try this to edit product_17.tpl : {literal} <script async custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script> <script> String str = $product->description.substring($product->description.lastIndexOf("/") + 1, $product->description.indexOf("?"));)</script> {/literal} and to show this code: {if $str} <amp-youtube data-videoid="{$str}" layout="responsive" width="480" height="270" ></amp-youtube> {/if} The idea is to take the video code from description but I"m doing somethig wrong. Can someone help me please? Share this post Link to post Share on other sites
staut82 1 Posted January 23, 2020 Posted January 23, 2020 Hi, thanks for the module, but somehow it doesn’t work for me. Could you help me? https://search.google.com/test/amp?hl=ru&id=kDg7k0jv-le1KV2ZRd8qmA Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted January 23, 2020 Posted January 23, 2020 Hi @staut82 please try the new release https://github.com/L3o-pold/prestashopamp/releases/download/2.0.19/amp.zip Share this post Link to post Share on other sites
staut82 1 Posted January 23, 2020 Posted January 23, 2020 thanks, work fine! Tell me, how can I add a menu to the amp version? Share this post Link to post Share on other sites
staut82 1 Posted January 23, 2020 Posted January 23, 2020 (edited) https://search.google.com/test/amp?hl=ru&id=_N2Nq48jIa0zXNepaMgdHA https://search.google.com/test/amp?hl=ru&id=oQkmr6d4iRdepKli0wgIuw&skip_amp_follow=true this pages not work Edited January 23, 2020 by staut82 (see edit history) Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted January 23, 2020 Posted January 23, 2020 Please upgrade to new release https://github.com/L3o-pold/prestashopamp/releases/download/2.0.20/amp.zip Share this post Link to post Share on other sites
staut82 1 Posted January 23, 2020 Posted January 23, 2020 https://search.google.com/test/amp?hl=ru&id=tiiZmDls-Uz0S1NeNnFmPw not work Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted January 23, 2020 Posted January 23, 2020 Please update to https://github.com/L3o-pold/prestashopamp/releases/download/2.0.21/amp.zip Share this post Link to post Share on other sites
staut82 1 Posted January 23, 2020 Posted January 23, 2020 (edited) not working as before https://search.google.com/test/amp?hl=ru&id=DmbBCwNf-Z_k5Hc_knjQyA Edited January 24, 2020 by staut82 (see edit history) Share this post Link to post Share on other sites
samiinfo 0 Posted February 1, 2020 Posted February 1, 2020 On 2/27/2018 at 7:38 PM, Léopold Jacquot said: This module add the AMP technologie to your shop. Product and category pages will be handle. The module theme can be customized to represent your brand. The source code is available here: https://github.com/L3o-pold/prestashopamp Download here: https://github.com/L3o-pold/prestashopamp/releases The story behind this module: https://blog.leopoldjacquot.com/2017/11/26/prestashop-amp-module/ Road map: CMS pages Homepage Url rewriting Pagination for Prestashop 1.7.x Product attributes Thirty bees support Hi, first thank you for this module, I installed the module well, and after a while I noticed that in the consumption serach / amp there is a lot of error and especially this one: "An unauthorized attribute or attribute value is present in an HTML tag." my version of prestashop 1.6.1.8 can someone please help me to fix these errors? an example of link: https://dari-shop.tn/module/amp/product?idProduct=4707 thank you in advance Share this post Link to post Share on other sites
penguin2003 0 Posted February 2, 2020 Posted February 2, 2020 (edited) https://validator.ampproject.org/#url=https%3A%2F%2Fpenguin100hk.synology.me%2Fprestashop1.7%2Ftw%2F Validation Status: FAIL= _ = 😭 Edited February 2, 2020 by penguin2003 (see edit history) Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted February 2, 2020 Posted February 2, 2020 @penguin2003 https://validator.ampproject.org/#url=https%3A%2F%2Fpenguin100hk.synology.me%2Fprestashop1.7%2Ftw%2Fmodule%2Famp%2Fproduct%3FidProduct%3D248 Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted February 2, 2020 Posted February 2, 2020 On 2/1/2020 at 3:00 PM, samiinfo said: Hi, first thank you for this module, I installed the module well, and after a while I noticed that in the consumption serach / amp there is a lot of error and especially this one: "An unauthorized attribute or attribute value is present in an HTML tag." my version of prestashop 1.6.1.8 can someone please help me to fix these errors? an example of link: https://dari-shop.tn/module/amp/product?idProduct=4707 thank you in advance Hi, your link seems valid: https://validator.ampproject.org/#url=https%3A%2F%2Fdari-shop.tn%2Fmodule%2Famp%2Fproduct%3FidProduct%3D4707 Share this post Link to post Share on other sites
penguin2003 0 Posted February 3, 2020 Posted February 3, 2020 16 hours ago, Léopold Jacquot said: @penguin2003 https://validator.ampproject.org/#url=https%3A%2F%2Fpenguin100hk.synology.me%2Fprestashop1.7%2Ftw%2Fmodule%2Famp%2Fproduct%3FidProduct%3D248 THX😀 Share this post Link to post Share on other sites
samiinfo 0 Posted February 3, 2020 Posted February 3, 2020 17 hours ago, Léopold Jacquot said: Hi, your link seems valid: https://validator.ampproject.org/#url=https%3A%2F%2Fdari-shop.tn%2Fmodule%2Famp%2Fproduct%3FidProduct%3D4707 Hi,First thanks for your replay yes yes valid first of all thank you for your answer I successfully installed the latest version of the module, just after my post on this forum again thank you for your module. Share this post Link to post Share on other sites
hosteleriex 0 Posted February 3, 2020 Posted February 3, 2020 Hi, congratulations on your module, but I don't get it to work, install it in Prestashop 1.7.2. and reinstalled several times today but the Validation Status IS FAIL and I got error 500 when trying to access the page. Seeing the source code of the page I have seen that both in the categories and in the products that the link <link rel = "amphtml" appears this <link rel="amphtml" href ="//www.domain.com/module/amp/product?idProduct=5754 "/> instead of <link rel="amphtml" href="https://www.domain.com/module/amp/product?idProduct=5754" /> Do you know what is the problem? Thanks? Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted February 3, 2020 Posted February 3, 2020 @hosteleriex You have a 404 error page on www.domain.com/module/amp/product?idProduct=5754 Maybe your product page is not available without authentication or maybe you have a custom rule in your .htaccess file. I think you have a module that prevent AMP module to works correctly. Share this post Link to post Share on other sites
hosteleriex 0 Posted February 3, 2020 Posted February 3, 2020 hace 1 hora, Léopold Jacquot dijo: @hosteleriex You have a 404 error page on www.domain.com/module/amp/product?idProduct=5754 Maybe your product page is not available without authentication or maybe you have a custom rule in your .htaccess file. I think you have a module that prevent AMP module to works correctly. sorry I put the url that was not, the correct url is this: https://www.hosteleriex.es/module/amp/product?idProduct=5754 I have not modified the .htaccess file. Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted February 3, 2020 Posted February 3, 2020 @hosteleriex yeah you have a 500 error page. Which version of the module are you using? Could you send me the log of the error? Share this post Link to post Share on other sites
hosteleriex 0 Posted February 3, 2020 Posted February 3, 2020 (edited) hace 35 minutos, Léopold Jacquot dijo: @hosteleriex yeah you have a 500 error page. Which version of the module are you using? Could you send me the log of the error? the module version is v2.0.20 error log: Invalid product vars at line 149 in file classes/Link.php 144. if (is_array($product) && isset($product['id_product'])) { 145. $params['id'] = $product['id_product']; 146. } elseif ((int) $product) { 147. $params['id'] = $product; 148. } else { 149. throw new PrestaShopException('Invalid product vars'); 150. } 151. } else { 152. $params['id'] = $product->id; 153. } in the product page code without amp this is the only weird thing I see, what I told you before: <link rel="amphtml" href="//www.hosteleriex.es/module/amp/product?idProduct=5754"/> Edited February 3, 2020 by hosteleriex (see edit history) Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted February 3, 2020 Posted February 3, 2020 @hosteleriex, it's very strange. I can't reproduce your issue. Share this post Link to post Share on other sites
samiinfo 0 Posted February 12, 2020 Posted February 12, 2020 @Léopold Jacquot I return to you , I see this error in google serach console, and actully i have too many error about (208) error message: Un attribut ou une valeur d'attribut non autorisés sont présents dans une balise HTML. for exemple at : these links: https://dari-shop.tn/module/amp/product?idProduct=37141 https://dari-shop.tn/module/amp/product?idProduct=4707 any idea please thx Share this post Link to post Share on other sites
hosteleriex 0 Posted February 13, 2020 Posted February 13, 2020 En 3/2/2020 a las 9:53 PM, Léopold Jacquot dijo: @hosteleriex, it's very strange. I can't reproduce your issue. I have already found what the problem is, it is because of this module that I have installed https://addons.prestashop.com/es/url-redirecciones/21749-urls-canonicas-para-evitar-contenido-duplicado-seo.html I use this module to avoid duplicate content and indicate to google which page it should index and which not because they are very similar or almost the same. If I deactivate this module, your module works perfectly. I don't know that it is better to have AMP mobile pages or have Google identify them as duplicate content. Share this post Link to post Share on other sites
danny019 1 Posted March 2, 2020 Posted March 2, 2020 @Léopold Jacquot Thank you very much for your module. Is there a way a product quantity could be added? When I tried adding {$product->quantity} to the product.tpl it always returns 0 (zero). Share this post Link to post Share on other sites
mmsh 10 Posted August 11, 2020 Posted August 11, 2020 (edited) Hello, first of all, thanks for your work 😊 mainly, there are 2 issues with this module: 1) the add to cart button is an open invitation for bots, you could have thousands of daily writes/abandoned carts on database if you don't take measures 2) it continuosly writes on the cache folder for any products amp_header/product/ this means high load on server because you write on disk or database. So, it creates a cache file for the header (?) of any product while the main theme has only one header (the right way, eg. themes/mytheme/header.tpl). Or you make a fix to this or I need to check your code (but at the moment I have no time to do it). Thanks, best regards Edited August 11, 2020 by mmsh (see edit history) Share this post Link to post Share on other sites
Léopold Jacquot 22 Posted August 12, 2020 Posted August 12, 2020 Hello, code is on github, issue are on GitHub, that’s an opensource project. Btw responsible disclosure is a thing ;) feel free to fix issues and create a MR ;) Share this post Link to post Share on other sites
staut82 1 Posted October 26, 2020 Posted October 26, 2020 On 8/12/2020 at 8:42 AM, Léopold Jacquot said: Hello, code is on github, issue are on GitHub, that’s an opensource project. Btw responsible disclosure is a thing ;) feel free to fix issues and create a MR ;) Hi, encountered such a 500 server error with your module, how to fix it? https://www.chemodanoff.com.ua/ru/module-amp?idProduct=2700 Thanks for the great module Share this post Link to post Share on other sites
Pianetasvapo 1 Posted November 2, 2020 Posted November 2, 2020 Ciao, ho letto la tua storia e visitato il tuo sito ed ho deciso di scaricare ed utilizzare e sperimentare il tuo modulo. Ieri ho caricato ed attivato il modulo sul sito https://www.pianetasvapo.com/ ma ora mi è arrivato un messaggio dalla search console di google: Nel tag HTML è presente un attributo o un valore di un attributo non valido con due pagine interessate. Sapresti aiutarmi? Ciao Francesco Share this post Link to post Share on other sites
Pianetasvapo 1 Posted November 22, 2020 Posted November 22, 2020 Sorry can you help me? When I go on my site with phone or tablet I find two problems with this module: 1) the url is modified by amp module (is this a problem for Seo? Because it isn't a pretty url) 2) the product can't added to cart (more serious!) This is the link for example: https://www.pianetasvapo.com/module/amp/product?idProduct=5224 (the original link was https://www.pianetasvapo.com/pgvg-labs/5224-havana-20ml-scomposto-pgvg-labs.html) Share this post Link to post Share on other sites
markoo 0 Posted March 7 Posted March 7 with version 1.7.7.2 is working, problem is at products, the price is 1 for all products. In category the price is corect for all products. Any ideea to solve itt? Share this post Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now