Shipping address not rendered correctly
Posted: 06 Aug 2008, 16:45
Hi Jan,
I have the plugin now working after i upgraded to VM1.1.2
One thing i noticed is that the Ship To address isn`t rendered correctly. It shows only the first name from the Ship To address. I tried working in the code but not a very experienced PHP coder so i don`t know all the syntaxes etc. . What i did find in the SQL is that a Ship to address has ST on the address_type and a Bill To address had BT. Dut i don`t have a clue how i could arrange that it would select between ST or BT. I noticed there are no seperate fields for i.e. shipto_last_name or something like that. I tried adding the last_name field to the line that has the ship to name but it picks the last name from the Bill To address.
Is there any way you can help me with this ?
Thank you.
I have the plugin now working after i upgraded to VM1.1.2

One thing i noticed is that the Ship To address isn`t rendered correctly. It shows only the first name from the Ship To address. I tried working in the code but not a very experienced PHP coder so i don`t know all the syntaxes etc. . What i did find in the SQL is that a Ship to address has ST on the address_type and a Bill To address had BT. Dut i don`t have a clue how i could arrange that it would select between ST or BT. I noticed there are no seperate fields for i.e. shipto_last_name or something like that. I tried adding the last_name field to the line that has the ship to name but it picks the last name from the Bill To address.
Is there any way you can help me with this ?
Thank you.