Customizing the checkout steps

Author Message

Sandeep Patel

Thursday 03 February 2011 4:25:24 am

Hi,

I am working on an ecommerce site and want to customize all the 3 default EZ checkout steps (Shopping Basket, Account Information and Confirm Order) to match my custom need, something similar as done here: https://www.restava.com/shoppingcart.php?id=ABVLTM

I am done with the shopping cart page and it is working rightly, now i want to customize the next checkout step (Account Information). I want to collect 2 addresses from the buyer i.e billing address and shipping address.

But the default module allows for only 1 address and also i want few additional details from the buyer such as the phone number and email address (because anonymous user can also buy the products).

So anyone can help me in this customization? I want the admin section to work as it is working now (default working).

Thanks,

Peter Keung

Thursday 03 February 2011 7:10:44 am

A custom shop account handler might be a good start: http://ezpedia.org/ez/shop_account_handler

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Sandeep Patel

Sunday 06 February 2011 9:48:46 pm

Hi Peter,

Thanks for the help.

I tried to follow the steps shown on your passed link but was not able to implement it successfully.

Every time i click on the checkout button on shop/basket page, it asks me to login (eventhough i have given the "buy" policy to the anonymous user) and once i login it don't ask me any details(shipping and billing details) and do the checkout directly.

Can you help me with the changes that i may need to do, to make it work mainly in the .php file.

And also i don't see any of the new template eg. "example_com/design/standard/templates/shop/accounthandlers/html/ez.tpl" in effect on any of the checkout pages(i have my debugging mode on).

"example_com" in this url is the name of the ez installation folder, am i right?

Any other reference on this topic will really be helpful.

Thanks

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