Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Entering the cusomter number at registration
 
juppwatis
Sr. Member
 
Total Posts:  113
Joined:  2009-02-01
Germany
 

hi @ll

i’m trying to find a way for a easier and faster commercial transaction for an order of a customer. therefore it would be helpful if the customer could enter his customernumber (if he got one) when he registrates himself in the shop. Is there a possibility to realize it?

It should look like in the attached file. The entered customer number should also be send in the email, when he buys something.

Kind regards

David

Image Attachments
kundennummer.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
juppwatis
Sr. Member
 
Total Posts:  113
Joined:  2009-02-01
Germany
 

Does anybody got an idea? Or is it simply not possible to do it? I think it would be a great help for all who run an online shop.

kind regards

david

 
Magento Community Magento Community
Magento Community
Magento Community
 
Damian Culotta
Enthusiast
 
Total Posts:  878
Joined:  2008-12-10
Argentina
 

Hi.
I read that it’s possible.
Look for posts about customer account and vat number.

 
Magento Community Magento Community
Magento Community
Magento Community
 
juppwatis
Sr. Member
 
Total Posts:  113
Joined:  2009-02-01
Germany
 

Yes but VAT number ist not the customer number or customer ID which the customer has in our erp-system.
Is there a possibilty that the customer can enter it? Is it maybe possible, that the VAT number could get the name “customer ID”? I think this entered text will be saved in a variable which could be integrated in the transaction mails right? so it would be possible??!

kind regards

david

 
Magento Community Magento Community
Magento Community
Magento Community
 
juppwatis
Sr. Member
 
Total Posts:  113
Joined:  2009-02-01
Germany
 

So I searched in the code and found:

app/locale/DE_de/Mage_Customer.csv

There I changed the name of Ust.ID (German for VAT) and then uploded the new file. Now there is the text I want. But how can I now integrate the entered number of the customer into the order mail? I tried

{{var customer.taxvat}}

but nothing appears in the order email. What variable is it or what did i wrong?

Kind regards

David

 
Magento Community Magento Community
Magento Community
Magento Community
 
juppwatis
Sr. Member
 
Total Posts:  113
Joined:  2009-02-01
Germany
 

Does nobody know which variable is required for the named field?

kind regards

david

 
Magento Community Magento Community
Magento Community
Magento Community
 
mkrodel
Jr. Member
 
Total Posts:  5
Joined:  2009-01-09
 
juppwatis - 25 February 2009 06:40 AM

Does nobody know which variable is required for the named field?

kind regards

david

try this:

{{var order.getCustomerTaxvat()}}

that worked for me

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top