cpfcnpj in tax/vat = Custom Project Feb 07 2013 16:08:41

[2/7/13 3:46:16 PM] Sumit Ranjan/ranjansumit@freelancer: hi hugo

[2/7/13 3:46:23 PM] HUGO DIAS: Hi Sumit.

[2/7/13 3:47:03 PM] Sumit Ranjan/ranjansumit@freelancer: so u want the cpnj value saved in the tax field when a user register through the frontend?

[2/7/13 3:49:05 PM] HUGO DIAS: yes

[2/7/13 3:49:06 PM] HUGO DIAS: that's it

[2/7/13 3:49:18 PM] HUGO DIAS: to be more tecnicaly precise:

[2/7/13 3:49:37 PM] HUGO DIAS: I need to get the information from the field that I have in my store and save in the tax/vat

[2/7/13 3:49:49 PM] HUGO DIAS: You can install my component to have the same field in your test env

[2/7/13 3:49:58 PM] HUGO DIAS: as simples as that

[2/7/13 3:50:32 PM] HUGO DIAS: It would be a very simple project

[2/7/13 3:51:00 PM] HUGO DIAS: Initialy I think the best way to do it would be saving in the after save event

[2/7/13 3:51:12 PM] HUGO DIAS: and don't change anything in my component

[2/7/13 3:51:21 PM] HUGO DIAS: I want to code in a abstract part

[2/7/13 3:51:51 PM] Sumit Ranjan/ranjansumit@freelancer: got it

[2/7/13 3:55:36 PM] Sumit Ranjan/ranjansumit@freelancer: so i would create a extension that will fire a function on magento customer_save_after. the function will get the cpnj from the account information and will save it in the tax/vat attribute of customer

[2/7/13 3:57:11 PM] HUGO DIAS: You will get the cpfcnpj like this:

$customer = Mage::getModel('customer/customer')->load($custid);

$cpfcnpj = $customer->getData("cpfcnpj");

[2/7/13 3:57:17 PM] HUGO DIAS: And yes, this is the flow

[2/7/13 3:58:11 PM] HUGO DIAS: In case of error, continue normally, it means, don't stop the customer registration. Log, using Mage::Log() and send mail to tech@[url removed, login to view]

[2/7/13 3:59:33 PM] HUGO DIAS: You will have to install this component -> [url removed, login to view]

[2/7/13 3:59:56 PM] HUGO DIAS: To have the field cpfcnpj in your local store

[2/7/13 4:00:12 PM] HUGO DIAS: I have 40USD budget for this simple project

[2/7/13 4:00:29 PM] HUGO DIAS: If you accept I can start a [url removed, login to view] project right now

[2/7/13 4:01:54 PM] Sumit Ranjan/ranjansumit@freelancer: alright. it would be good if u pay me $50. if thats fine with u.

[2/7/13 4:03:36 PM] HUGO DIAS: How long will you take?

[2/7/13 4:03:53 PM] Sumit Ranjan/ranjansumit@freelancer: 2 days

[2/7/13 4:04:00 PM] Sumit Ranjan/ranjansumit@freelancer: max

[2/7/13 4:07:28 PM] HUGO DIAS: ok

Taidot: Magento, PHP

Näytä lisää: want to create account on freelancer, user test freelancer, this is the flow, tech freelancer, start using freelancer, start in freelancer, registration flow, register on freelancer com, max flow, log in to freelancer, local freelancer com, i want to create freelancer account, i want to create a account on freelancer, is it good to register with freelancer, hugo freelancer, http freelancer br, how to start with freelancer com, how to start on freelancer com, how to start in freelancer, how to start a project on freelancer, how to start a project freelancer, how to registration for freelancer, how to register with freelancer, how to register for freelancer, how to register as freelancer

About the Employer:
( 8 reviews ) Rio de Janeiro, Brazil

Projektin tunnus: #4221724

Myönnetty käyttäjälle:


Hired by the Employer

50 $ USD 2 päivässä
(7 arvostelua)