Thread tagged as: Problem

custom template variable for shop templates?

Can i use something like below

            'template' => 'checkout/customer_create_passwordless.html',
            'address_select' => $opt

and use this code

<perch:content id="address_select" />

to access the variable ?

sawan ruparel

sawan ruparel 0 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

This is how to pass variables into templates:

thanks, that worked