- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 22.10.21, 10:27
- Opened by: Bianca Schiattone
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #22484 - Lookbook page doesn't load AMP
Hello,
On Lookbook page the AMP module isn’t loaded correctly. In fact, header and footer are just a responsive view of the desktop version of header and footer (and not the layout I set on AMP pages).
Is there a way to load correctly AMP on this page, too?
You can see the error here: https://iberjeans.com/consigli-di-stile
Thanks!
Comments
That’s just because Lookbook doesn’t have AMP version. We are going to add it in further updates )
Ok, thanks.
Is there a workaround for that? For example, placing the lookbook module in a cms custom page via a hook? Maybe also via code
You can place wherever you need but Lookbook doesn’t have AMP version
Yes it doesn’t matter if the module itself has an AMP version or not, what’s important is that the rest of the page (header/footer) are loaded with the AMP version of the website.
Where can I see the lookbook shortcode (to place it in a cms page then)?
Thanks again!
There is no shortcodes for lookbook module, where did you found it?
I was asking cause you told that I could place the lookbook wherever I wanted, so I thought that there could be a shortcode/hook for it.
you can use native prestashop widgets calling like this
Thanks, it worked!
Is there a way to set the Lookbook view as “Classic” through the code you sent me? Now it displays as “Slider” view.
Thanks,
Attachments:
Schermata 2021-10-26 alle 15....(15.9 KiB)but as I can see here https://iberjeans.com/consigli-di-stile you have Classic mode enabled
Yes, I placed the widget you sent ({widget name=”pklookbook”}) in a CMS page (https://iberjeans.com/lookbook), but it displays only the Slider view.
Is there a way to set Classic view? Something like {widget name=”pklookbook” view=”classic”} etc…?
Thanks
There is no such option. We try to add it as soon as we have will have free time. Currently we have too much customers tickets