Knowledgebase: One Page Checkout
I'm attempting to edit the layout of the checkout, but every time I delete a <div> tag with an ID, or move the location of a template, the checkout crashes or submit button stops working
Posted by Nick Poindexter on 04 March 2010 05:16 PM
The checkout is a very advanced system. It is easy to break the internal code of the checkout when removing an element with an id assigned, ex:
. When editing the checkout it is important to keep the id attribute tags and template structure in place.

There are multiple sections that can be updated through the AJAX functions:

1. Shipping Options
2. Cart Display
3. Totals

Be sure to test your checkout page frequently when editing the .tpl files.

If removing an element causes an error on your page you can do one of the following:

1. Go into the skin1/modules/Checkout_One/checkout_one.js file and remove refrences to this tag (Advanced users only).

2. Restore the removed section.

3. Add style="display:none;" to the tag so that it is still working on the page, but not viewed by the customer.

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: