Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Sunday 26 November 2006 10:23:20 am - 1 reply
Nuno Portugal
Wednesday 06 December 2006 4:13:38 am
Solved it
In orderview.tpl just added this code to make possible user register after payment. The user chosses is password and login, every other atributes are taken from userregister(shop) from that was asked in confirmorder.
{$content_attributes[13].contentclass_attribute.name} {attribute_edit_gui attribute=$content_attributes[13]}<br>{$content_attributes[14].contentclass_attribute.name} {attribute_edit_gui attribute=$content_attributes[14]}<br>
<input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[0].id}" value="{$order.account_information.first_name} {$order.account_information.last_name}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[1].id}" value="{$order.account_information.street2}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[2].id}" value="{$order.account_information.zip}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[3].id}" value="{$order.account_information.place}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[4].id}" value="{$order.account_information.datanasc}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[5].id}" value="{$order.account_information.naturalidade}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[6].id}" value="{$order.account_information.bi}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[7].id}" value="{$order.account_information.contribuinte}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[8].id}" value="{$order.account_information.telefone}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[9].id}" value="{$order.account_information.telemovel}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[10].id}" value="{$order.account_information.localtrabalho}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[11].id}" value="{$order.account_information.habprofissional}"/> <input type="hidden" name="{$attribute_base}_ezstring_data_text_{$content_attributes[12].id}" value="{$order.account_information.catprofissional}"/> <input type="hidden" name="ContentObjectAttribute_id[]" value="{$content_attributes[13].id}" /> <input type="hidden" name="ContentObjectAttribute_id[]" value="{$content_attributes[14].id}" /><input type="hidden" name="ContentObjectAttribute_id[]" value="{$content_attributes[15].id}" />
You must be logged in to post messages in this topic!