Update from 16.05.2025 brings Vinosoft CRM shop licensees a possibility to generate PDF sheet with product logo and description.
Added:
- 2 shop theme templates:
Shop/Factsheet.liquidandFactsheet.footer.liquid - New endpoint:
/shop/factsheet/{{ productId }}?vid={{ variantId }}. Use{{ model.FactsheetUrl }}in/Shop/Product.liquidtemplate to generate URL to view factsheet PDF file in browser. For multi-language websites:/{{ locale }}/shop/factsheet/{{ productId }}?vid={{ variantId }}
How to:
- Update factsheet header logo using
media_urlfilter. After you upload file to Media assets, reference you image using following syntax:{{ 'path/to/image.png' | media_url }} - Create a link to view factsheet PDF. In your
Shop/Product.liquiduse following snippet:<a target="_blank" href="{{ model.FactsheetUrl }}">Download factsheet</a> - Add your own localization using a
translatefilter. Add a translation to/locales/LOCALE.jsonfile and reference it in template using following syntax:{{ 'MyText' | t }}
Update factsheet design to your needs by updating style tag yourself or request help from Vinosoft team.
Pay attention, that if your Liquid template compiles with error, user will see a 500 error page.
What's next?
- Possibility to download PDF file instead of previewing
- Referencing factsheet URL in newsletters
If you are interested in specific features (additional Liquid properties or custom behavior), contact Vinosoft team!
