Hot answers tagged

4 votes
Accepted

Redeem Coupon Form Inside Expresso Store Checkout

Follow Justin's good advice for coupon redemption using the built-in Store functionality. See Update Cart on the Checkout Tag Docs. How would I be able to include this form and then link the '...
user avatar
  • 7,941
3 votes

Redeem Coupon Form Inside Expresso Store Checkout

You should be able to add a field for the coupon code into your existing HTML form for the checkout then just include an update cart button next to the coupon code input.
user avatar
  • 7,556
2 votes
Accepted

EE2 Use Of Action ID's

If I am understanding this correctly what you need to go is create the form that will be displayed this is where you would pass the action id to the form. YEah this won't work in an extension. please ...
user avatar
  • 101
2 votes

EE2 Use Of Action ID's

Usually it is used for making form hidden fields in modules. In your case (for simple form) it is possible better to use {AID:class:method} tag in template: <form method="post"> <input ...
user avatar
  • 5,781
2 votes
Accepted

Linking an ACT ID To A Module Function

I assume this is a form on the front end, is that correct? Assuming it is, and assuming clicking the button submits the form in the usual way, you just need to set the action attribute on your ...
user avatar
  • 7,941
2 votes
Accepted

Handling Forms With ExpressionEngine: the ACT ID

There is no magic method for this, as far as I know. It's pretty standard that in the upd.your_addon.php file, in the install function, you just add rows to your exp_actions table like so: class ...
user avatar
  • 5,900
1 vote
Accepted

?ACT= Member Creation

ExpressionEngine has most program friendly structure for this. You can just write 2 db insert commands to save members programatically. Where 1 table would be exp_members and other one is ...
user avatar
1 vote
Accepted

How do I find/make the URL to a PHP page in my extension?

You shouldn't be submitting to PHP file in system folder directly, as the system folder might be located outside of web root and so inaccessible for direct requests. Instead you need to place those ...
user avatar
  • 2,831

Only top scored, non community-wiki answers of a minimum length are eligible