Forum

Thread tagged as: Question, Shop

Delivery and billing address

Somewhere there's a thread that explains how to duplicate the billing address to the delivery address in perch shop

Can someone point me to that thread or explain how to clone address if checkbox is checked

Anthony Elleray

Anthony Elleray 2 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you don't include the shipping address, the billing address is automatically used.

If you want to literally copy the data from one field to another when someone checks a box, that would be down to your own front end code. I think I did this on the Nest Running Club demo site with a bit of jQuery.

https://github.com/PerchCMS/perchdemo-nest/blob/master/public_html/assets/js/nest.js#L18