checkout: adding fields and shipping

Author Message

bisk

Wednesday 27 August 2003 6:18:28 am

Hi,

For the checkout procedure I would like to add some fields for the address information. Now the address has only one field, but I would like it to have multiple fields. After checking the templates and the register.php I'm a bit confused on how to proceed next. What's the best way to add extra fields, so that all the information from the extra fields shows up correctly in the admin panel and in the order mails?

And is there some documentation available on how the ezsimpleshipping workflow works and how to implement it?

I'm sorry if these are basic questions, as with all the ez publish documentation and information available it's sometimes hard to locate what you're looking for.

Thanks for any pointers.

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Paul Forsyth

Wednesday 27 August 2003 8:19:30 am

For our site we created a special shop user that allowed us to add more details. For example, we are using the ezmatrix datatype to expand the address field which gives us the fields we need to capture address information.

In the site.ini file you can specify which user class is used when new users are created, and where the user objects then get pubished to.

Once you have done this you need to follow the current ez templates and override those that you need. For example, user/login and user/register are prime templates for overriding to put in your own information. User/register is where you would input information using your new user class.

There are many other templates such as those within:
design/standard/templates/shop/ you may wish to override. Sometimes i leave the standard templates in place so i can see which ones i miss.

Hope this helps

Paul

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.