proseLA / authorizenet_cim

CIM Module for authorizenet for zencart
3 stars 2 forks source link

little ui help.... #11

Closed proseLA closed 4 years ago

proseLA commented 4 years ago

one of my goals is to not affect the ZC core at all. i am looking at some other functions that i have implemented as i clean things up. if one looks at this first screen shot, i'm making use of the couponpopupWindow in the orders page: Screenshot from 2020-04-06 18-15-35 now, i would like to have a popup similar to that from the customers page when someone clicks on delete all cc data. you can see the button here: Screenshot from 2020-04-06 18-16-18

unfortunately that script popup window function is not available to grab there.

anyone have any ideas how to do a confirmation window from the customers page WO touching the ZC core?

thanks in advance.

lat9 commented 4 years ago

Sounds like an observer-to-the-rescue. In zc156 and later, there are a couple of notifications that should help:

In customers.php:

In /includes/footer.php:

proseLA commented 4 years ago

the button is already in via the observer.

i’ll look into the footer. did not think about that.

thanks!

proseLA commented 4 years ago

the footer worked great! thanks so much!