<v:store:register>
Outputs an HTML form (<form>
tag) that will save a customer’s billing
information, shipping information, and E-Mail address.
You may use the form validation tools provided by the Vae form tags to make certain fields required.
Required Attributes
redirect
- users will be redirected to this page once they have successfully entered all their information.
Optional Attributes
-
formmail
- set to an E-Mail address and all the data from the form will be E-Mail address specified. This uses the same mechanism as the<v:formmail>
tag. -
from
- if using theformmail
attribute, specify a value here and we will make the E-Mail that is sent come from this address. -
from_field
- if using theformmail
attribute, specify a value here and we will make the E-Mail that is sent come from the address specified in this form field. Good for making the E-Mail look like it came from the person who sent the form. -
newsletter
- supply a newsletter code here and the user will automatically be subscribed to that newsletter when registering. -
newsletter_confirm
- if specified, the user will only be subscribed to the newsletter specified in the newsletter code if this request variable is passed on. This is usually used to make a checkbox that the user can check to opt-in.
Since this tag generates an HTML <form>
tag, you may also use any
standard HTML attributes that are valid in the <form>
tag. These will
be passed through unchanged into the generated tag.
Form Parameters
These are the request (POST) parameters that should be submitted with the form:
Billing Information
Always required, except company, address 2, and state (for non-US/Canada).
-
billing_name
- billing name. -
billing_company
- billing company (optional). -
billing_address
- billing address. -
billing_address_2
- billing address 2 (optional). -
billing_city
- billing city. -
billing_state
- billing state/province (required for US/Canada). -
billing_zip
- billing ZIP/postal code. -
billing_country
- billing country. -
billing_phone
- billing phone number. -
e_mail_address
- E-Mail Address.
Shipping Information
Not required if you are not shipping.
-
shipping_name
- shipping name. -
shipping_company
- shipping company (optional). -
shipping_address
- shipping address. -
shipping_address_2
- shipping address 2 (optional). -
shipping_city
- shipping city. -
shipping_state
- shipping state/province (required for US/Canada). -
shipping_zip
- shipping ZIP/postal code. -
shipping_country
- shipping country. -
shipping_phone
- shipping phone number.
Creating an Account
Not required.
password
- password for the account.