6 / 6
Sep 2008

OK, So I am looking to send a customer's account number to e-junkie so I can use it in template e-mails, and so I know what account to use when processing payments, etc. Anyhow, I can change the button code to include a custom piece of data that will show up as [%custom%] in templates, etc. however, I do not know how to go about making that change for each customer.



What I was planning on doing was creating a form that has a text entry area where the customer would input their account number. Then, once I have the account number, I would append it as custom to the e-junkie code.



Any ideas?



Tom

Yeah, rather than using custom, you should use our variations feature and E-junkie will generate the form for you.



For variations the template variable available in each product's thank you e-mail and thank you page are -



[%on0%]

[%on1%]

[%on2%]



[%os0%]

[%os1%]

[%os2%]

Hmmm.... I don't think I have been clear. The more I work with this, the more obvious it is that this is a web development question instead of an e-junkie question, but here goes anyway:



Whether I am using custom or variations, I need the customer to type their account number into our web site, click the "Add to Cart" button, and have that account number sent to e-junkie, either as custom or a variation, or whatever. What I don't know how to do (although I think it is pretty basic....) is how to have the information that the customer inputs appended to the url that the button sends to.



In other words, I can easily hard-code a value for [%custom%] or [%on0%] into the button code, but then that value is the same for every customer. How would I make that value change for each customer? I'm thinking I'll need a form that, upon submission, transmits that data to a script that generates another web page with the button code generated with the info that was submitted.



Tom

Tom, when you use our VARIATIONS feature, the button code we generate will have a form where the user can enter the value you want her to enter.

To clarify, when you enable "Variations which tell more..." for a product, on the next product-config screen you can provide an option name (e.g., "Account Number"), and below that if you do not also provide a list of buyer-selectable values for that option, then the buyer would only see a text-entry field next to their Add to Cart button, where they can type the info you request. After you Submit these configurations for the product, we would provide you with new Add to Cart button code that includes code for the text field.

Wonderful! I presume that the first option that I define would be [%on0%], then.



Thank you for the help!



Tom