Forum
custom template variable for shop templates?
Can i use something like below
perch_shop_registration_form([
'template' => 'checkout/customer_create_passwordless.html',
'address_select' => $opt
]);
and use this code
<perch:content id="address_select" />
to access the variable ?
This is how to pass variables into templates: https://docs.grabaperch.com/templates/passing-variables-into-templates/
thanks, that worked