Author Topic: how to add extra field on newsletter signup  (Read 3104 times)

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
how to add extra field on newsletter signup
« 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?

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: how to add extra field on newsletter signup
« Reply #1 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
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod