- Priority: Medium
- Status: Waiting on customer
- Theme: Modules
-
Assigned To:
Fred
- Private: No
- Open Date: 22.06.22, 09:23
- Opened by: Benjamin WEPPE
Ticket #23460 - AMP MODULE add hook
Hi there,
I’d like to add a framing option (ENCADREMENT) on the mobile product page AMP version of my alysum theme.
It is a bit like an attribute.
Where should we add the hook ?
Please find enclosed
Comments
Hi, Benjamin.
1. Add attribute first - https://take.ms/gajPB
2. Go to a product and add new attribute - https://take.ms/piSrz
Hi Fred,
It's not an attribute. It's actually a plugin that adds a product as an attribute.
.
The dev of the plugin needs to know where to add the hook of his module
In the normal version (desktop) we had to put {hook h='displayFrameAttributes' product=$product} in themes/alysum/templates/catalog/_partials/product-variants.tpl and it works fine
Thanks
All good found it
It was in templates/mobile/catalog/product.tpl
Yes, that's it