{docurl}
Displaying the referral prompt at checkout
It turns out that "position 14" (the @checkout position that you can configigure in the module's admin as the position to display the referral prompt) is intended to be used inside of the form on that Merchant page. You have added the token:
<mvt:item name="BROK_AFFILIATES" param="pos_14"/ >
to the OCST page but if it is outside of the form it will display the prompt as configured in admin but will not work. It can be worked around though. Add the necessary form fields around the token:
<FORM METHOD="post" ACTION="&mvt:global:sessionurl;">
<INPUT TYPE="hidden" NAME="Screen" VALUE="OCST">
<INPUT TYPE="hidden" NAME="Store_Code" VALUE="&mvt:global:Store_Code;">
<mvt:item name="BROK_AFFILIATES" param="pos_14"/>
</FORM>
So...if you use the pos_14 page outside of the page's form you need to put that form code around it.
It's also possible to display the prompt without referring to the <mvt:item name="BROK_AFFILIATES" param="pos_14" /> item. That item adds two necessary fields to the form. The field to collect the referral code
<input type="text" name="AFFIL" value="">
(note that if you're using some other referral varible than AFFIL you would use that in the placed of AFFIL). And the submit button:
<input type="submit" value="Submit">
(of course an image could be used instead). So the full form, without the need for the item would be:
<FORM METHOD="post" ACTION="&mvt:global:sessionurl;">
<INPUT TYPE="hidden" NAME="Screen" VALUE="OCST">
<INPUT TYPE="hidden" NAME="Store_Code" VALUE="&mvt:global:Store_Code;">
<input type="text" name="AFFIL" value=""> <input type="submit" value="Submit"> </FORM>
Last update: 2009-08-10 12:15
Author: Michael Brock
Revision: 1.1
You cannot comment on this entry
Records in this category
- Is it possible to display data about the referring affliate on the Merchant pages and on the Invoice screen and notification emails?
- How do we get multi tier payout this is very important that if level 1 sign ups a level 2 affiliate they get credit for the orders that the level 2 has.
- How do I configure product specific payouts for each affiliate? I'd like to pay some affiliates more than others for certain products or categories of products.
- How do I display data from Affiliate Manager in the orders exported by Generic Orders Export?
- When a new affiliate signs up I would like to have the notification emails sent to every affiliate in the referral chain. Is this possible?
- Is there any way to configure specific global headers and footers for each affiliate that will show up any time a customer they referred is shopping in the store?
- Making fields on the "New Affiliate Sign-up" page required
- What does the "Associate by zip code?" option do?
- Displaying messages for failed login attempts
- Displaying the referral prompt at checkout
- Displaying the products in affiliate order notification emails














