VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: drazen on August 21, 2013, 15:22:39 PM

Title: Additional user fields doesn't appear in thank you page
Post by: drazen on August 21, 2013, 15:22:39 PM
Hi,

I'm trying to get additional informations about third party customers in my affiliate network.
I'm using Joomla 2.5.14 an virtuemart 2.0.22a and post affiliate pro 5.

When I insert integration code in

/plugins/vmpayment/standard/standard.php

sale.setTotalCost(\''.$order['details']['BT']->order_subtotal.'\');
sale.setData1(\''.$order['details']['BT']->first_name_field.'\');
sale.setData2(\''.$order['details']['BT']->last_name_field.'\');
sale.setData3(\''.$order['details']['BT']->phone_1_field.'\');
sale.setData4(\''.$order['details']['BT']->company_field.'\');
sale.setOrderID(\''.$order['details']['BT']->order_number.'\');

In thank you page I only get this fields

sale.setTotalCost('2000.00000');
sale.setData1('');
sale.setData2('');
sale.setData3('');
sale.setData4('');
sale.setOrderID('8d90023');

How can I get
first_name_field, last_name_field,phone_1_field, company_field

when customer insert this infromation in buying process.

Please help
Title: Re: Additional user fields doesn't appear in thank you page
Post by: drazen on August 22, 2013, 19:37:37 PM
Anyone...
Title: Re: Additional user fields doesn't appear in thank you page
Post by: Maxim Pishnyak on August 24, 2013, 12:02:15 PM
You could touch other affiliate system which is more compatible with VM then post affiliate pro 5.
Title: Re: Additional user fields doesn't appear in thank you page
Post by: drazen on August 24, 2013, 16:04:12 PM
For example?
Title: Re: Additional user fields doesn't appear in thank you page
Post by: Maxim Pishnyak on August 24, 2013, 19:00:11 PM
VMA?
Title: Re: Additional user fields doesn't appear in thank you page
Post by: drazen on August 24, 2013, 21:59:04 PM
VMA is good affiliate software for one shopping cart and one website.
But PAP 5 serve multiple websites with many affiliates. That is my business.

So is there any way to set additional fields on thank you page?
Title: Re: Additional user fields doesn't appear in thank you page
Post by: Maxim Pishnyak on August 25, 2013, 19:34:44 PM
I didn't say that you could use VMA out of the box. I said ...
Quote from: Maxim Pishnyak on August 24, 2013, 12:02:15 PM
You could touch other affiliate system which is more compatible with VM then post affiliate pro 5.
I.e. dig VMA code.