Asignar un ShopperGroup diferente dependiendo de si está clickado un checkbox (Shopper Field) en la creación de un usuario durante la compra.

IN PROGRESS
Bids
4
Avg Bid (EUR)
264
Project Budget (EUR)
€30 - €250

Project Description:
Necesitamos una modificación del código fuente, ó un plugin instalable que permita crear usuarios en diferentes shopper group distintos al por defecto dependiendo de si se ha marcado ó no un checkbox existente en el formulario de registro (shopper field). Nos gustaría que fuese editable de alguna forma, por si necesitamos configurarlo. Por ejemplo, si existe un grupo de radios, que se pueda establecer que:

=== EJEMPLO DE CODIGO FICTICIO - NOT REAL CODE EXAMPLE ===
if ( $_POST['value1'] == true ) {
$ShopperGroup = 1;
} elseif ( _POST['value2'] == true ) {
$ShopperGroup = 2;
} else {
$ShopperGroup = "default one";
}
=== EJEMPLO DE CODIGO FICTICIO - NOT REAL CODE EXAMPLE ===

VIRTUEMART 2.X y JOOMLA 2.5

Additional Project Description:
01/31/2013 at 16:29 CET
Ok, we no longer want the code modification, only a Joomla Plugin will be accepted
----------------------------------------------------------------------------------------------------------
Ok, ya no queremos una modificación de código, tan sólo aceptaremos un plugin de joomla.


02/01/2013 at 17:58 CET
ENGLISH DETAILED DESCRIPTION OF WHAT WE NEED:

We need a Joomla 2.5 PLUGIN for Virtuemart 2, (not a core code modification) that can set the default shopper group of a new registered customer depending the checkboxes that customer clicks when create the account in the checkout process. For example, we have a shopper group created for VAT Relief customers, but we have to set this group manually after the customer contact us to request it.

We have an extra shopper field created (a checkbox) that is shown in registration form, and that we want the plugin do is that it can respond to the Virtuemart hook event "plgVmOnUserStore()", that is fired before the user is stored. So, the plugin will be able to intercept the user data before it stores to the database, analyze the submitted data, and set the VAT Relief group to the defined one in the plugin config page, instead using de default shopper group. We would like to have the option to set a list of values sent in the registration form and if that value is present, assign to one or other shopper groups.

This plugin should be transparent to the virtuemart working process, and installable from the back-end.

Thanks for your time.

Skills required:
MySQL, PHP, Virtuemart
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


€ 275
in 8 days
€ 200
in 10 days
€ 400
in 10 days
€ 180
in 5 days