Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Add a Field to Capture Company Name
- This topic has 7 replies, 5 voices, and was last updated 10 years, 7 months ago by Dan.
April 22, 2010 at 2:29 pm #1114GraphicBassMember
I’d like to capture the name of a purchaser’s company during the Paypal process. I know how to set up a standard Paypal button to add a field, but cannot find a place in WP eStore to asked for this information.
Is this possible, or must it be done during the registration process on the site after purchase?
garyApril 23, 2010 at 12:45 am #20023IvyMember
Hi Gary, Here is one option that might work for you, use the “Collect Customer Input”
When checked, it will display a text box next to the Add to Cart button where the customer can enter special instruction for that product (eg. a Name if selling Engraving).’
You can find this under the “Add/Edit” products menu in the “Additional Settings” menu.
Note. Since this information gets passed to Paypal there is a 30 character limit in this field. (This is done by Paypal not the eStore).
IvyApril 23, 2010 at 12:59 am #20024amin007Participant
Yeah you can capture customers company name using the “Collect Customer Input” field of the product and it will be appended to the product name.
The question is what are you really trying to do? If you plan to do something with this value in the post payment processing script then note that PayPal already gives you the customer’s business name in the IPN handling script so it can be used (this value will ofcourse only be available if the Payer’s PayPal account is a Business account.April 23, 2010 at 5:32 am #20025GraphicBassMember
I kind of figured Paypal options were disabled, since I’m not creating the button, but handling it through eStore.
I’m not sure I understand your second paragraph, so I’ll poke around Paypal and see what I can set up.
My purpose is that I maintain a list on the site of companies that have purchased the product, and it’s more effective using the company name, rather than “Joe Smith”.
garyOctober 26, 2012 at 9:03 am #20026
Can you please clarify if by using the Paypal option like you mentioned, the information would also appea in eShop backend or would it just be visible from my Paypal account?
ThanksOctober 26, 2012 at 9:09 am #20027
Also, is there any shortcode for this?
Because once the a company buys a product from my website, the auto-generated email sent out will also serve as an invoice so it needs to contain the company name of the buyer.
Thanks again.October 27, 2012 at 5:44 am #20028adminKeymaster
The information added via the “Custom field” will be appended to the product name. It will be visible in the email (do one test checkout and take a look at the product name value).November 5, 2012 at 12:13 pm #20029
- You must be logged in to reply to this topic.