Use perch_shop_order_addresses(); with custom template?

  • Is it possible to set a custom template with


    perch_shop_order_addresses();


    I've tried the normal syntax and it doesn't return anything other than the 'checkout/confirm.html' template.


    Im trying to obtain the just id's of the delivery and billing addresses.

  • OK figured it out. perch_shop_order_addresses requires 'shop/' to be in the path of the template otherwise it returns a template not found in the config.


    perch_shop_order_addresses([
    'template' => 'shop/addresses/billingID.html',
    ]);


    What threw me is that perch_shop_cart does not require it, in fact it doesn't work with it.


    perch_shop_cart([
    'template'=>'cart/cart_list.html'
    ]);


    Confusing.