AbanteCart Community

AbanteCart Development => Customization help => Topic started by: Sam_78 on February 27, 2018, 11:54:51 AM

Title: how to add extra field on newsletter signup
Post by: Sam_78 on February 27, 2018, 11:54:51 AM
Hi I would like to add telephone number field to 'index.php?rt=account/subscriber' is there some setting where I can just add that field to newsletter page?
Title: Re: how to add extra field on newsletter signup
Post by: eCommerce Core on February 28, 2018, 08:12:00 AM
Start lookin in this controller after line 134:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/account/subscriber.php#L134

I suggest that you use extension hooks to add new fields. This will allow you easy upgrade in the future.
https://abantecart.atlassian.net/wiki/spaces/DOC/pages/17694951/Extension+Development