Customer Quick Add
Miva 10.00.05 introduces a new Customer Quick Add Action (ICSQ) which allows you to create a new customer account
in Miva with only a customer login/email and a password. All the other bill to or ship to fields are optional.
In addition, if this quick add is used on the order invoice page, the current order will automatically be linked
to the newly created account.
The default theme for Miva, Shadows, has been updated to include the Quick Add on the invoice page by default.
Example Quick Add Form:
Below is the default code to add this to your INVC screen if you are using Shadows.
Shadows Template Changes
10.00.05 introduces a new runtime action, ICSQ, which allows customer accounts to be created with a limited set
of fields, bypassing the configuration for required shipping and billing fields. Field names are identical to
the existing ICST action. The following fields are required:
- One of Customer_LoginEmail or Customer_Login
The remaining fields are optional:
Any validation errors that occur in the new action result in the customer_invalid_addinfo UI
exception being thrown. If a customer enters a password that does not meet the minimum password requirements or
tries to create an account using an email for an account which already exists, they will be send to the Account
Create Page (ACAD) with the appropriate error message
If the customer fixes the error and continues to create the account, the order they just placed will be correctly linked to the newly created account.
The ICST and ICSQ actions now support the ability to link a recently created order to a newly created customer account when the following criteria are met:
- The basket has an associated, completed Order ID (g.Basket:order_id NE 0 AND g.Basket:order_proc)
- The referenced order does not already have an assigned customer
The order will be automatically linked to the new account if the above conditions are met.
Basket Handling Post Order
To facilitate this functionality, baskets are handled differently post-order. In previous versions of the software, after resetting the existing basket contents, a new basket entry was created only when the order was placed by a logged-in customer (this allowed the customer to stay logged in post order). Now, a new basket entry is created for all transactions. This could result in slightly more entries in the sNN_Baskets table than in previous versions, but since the basket is only created post-order, and the intention is to encourage those users to create a customer account (which would have created a basket anyway), we do not believe this will be a major impact.