Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 452 Bytes

usage.md

File metadata and controls

16 lines (10 loc) · 452 Bytes

Usage

For the administration you will have the Vendor menu. Feel free to modify the plugin templates like you want.

Partial routes

To render vendor by channel you can do something like this:

{{ render(url('odiseo_sylius_vendor_plugin_shop_partial_vendor_index_by_channel', {'template': '@OdiseoSyliusVendorPlugin/Shop/Vendor/_vendors.html.twig'})) }}

Form validation group

For forms use the validation group named odiseo