Layout and design
Place the panels on the page, choose the colours, add images to your payment and shipping methods and insert your own code. This chapter covers five tabs.
Layout guest and Layout logged
The checkout has two layouts. Layout guest is used for shoppers who are not logged in, and Layout logged for logged-in customers. Both tabs have the same settings.
The page is built on a grid of 12 units. You choose up to three columns, give each column a width, and place each panel in a column. The preview on the right of the tab updates as you change the settings.
| Setting | Options | What it does |
|---|---|---|
| Layout columns | 1, 2, 3 | How many columns the page has. Default 3. |
| Col. 1 size | 3/12, 4/12, 6/12, 8/12, 12/12 | Width of column 1. Default 12/12. |
| Col. 2 size | as above | Width of column 2. Default 6/12. |
| Col. 3 size | as above | Width of column 3. Default 6/12. |
Columns are placed side by side while their widths add up to 12 or less; a column that does not fit moves under the previous ones. For example, the default 12/12 + 6/12 + 6/12 places column 1 across the whole width, with columns 2 and 3 side by side below it. For three columns side by side, use 4/12 + 4/12 + 4/12.
The panel table
| Column | What it does |
|---|---|
| Panel | The name of the panel: Identification, Addresses, Shipping methods, Payment methods, Cart or Confirm. |
| Status | Shows or hides the panel. Only Identification and Cart can be hidden; the other panels are always needed. |
| Size inside column | The width of the panel inside its column: 3/12 to 12/12. Default 12/12. Two panels of 6/12 in the same column sit side by side. |
| Column | The column the panel goes in: 1, 2 or 3. |
Drag the rows of the table to change the order of the panels inside a column.
Default positions:
| Panel | Layout guest | Layout logged |
|---|---|---|
| Identification | Column 1 | Column 1, hidden |
| Addresses | Column 2 | Column 1 |
| Shipping methods | Column 3 | Column 3 |
| Payment methods | Column 3 | Column 3 |
| Cart | Column 3 | Column 2 |
| Confirm | Column 3 | Column 3 |
On small screens the columns stack one under the other, in column order.
Style and colors
Every colour is chosen with a colour picker or typed as a hexadecimal code without #, for example 23a0d0.
| Block | Settings and defaults |
|---|---|
| Panels | Heading background f5f5f5, Heading text color 666666, Border color dddddd, and the same three for a panel with an error: Error - Heading background a94442, Error - Heading text color ffffff, Error - Border color a94442. |
| Buttons default | The normal buttons: Gradient top fbfbfb, Gradient bottom e6e7e7, Font color 7c7c7c, Font color hover 333333, Border color bababa. |
| Button active | The selected button: Gradient top 23a0d0, Gradient bottom 1f90bb, Font color and Font color hover ffffff, Border color 1f90bb. |
| Button confirm order | The confirm button: same settings and defaults as Button active. |
| Steps general | Container steps border color e2e2e2. |
| Step default | A step not reached yet: Border color D4D4D5, Background color ffffff, Font color 666666, Number color c4c4c4. |
| Step completed | A finished step: background 21BA45, font ffffff, other colours as above. |
| Step error | A step with an error: background a94442, font ffffff, other colours as above. |
| Discount zone | The area of the cart panel with the coupon, gift certificate and reward points fields: Icon gift, Icon color 9edfff, Background color c3f6ff. Leave Icon empty for no icon. |
| Panel confirm | Container panel border color c2e4ff, and Confirm button selectors. |
Confirm button selectors
When the shopper confirms, the payment method shows its own confirm button inside the Confirm order panel. Buttons with the standard OpenCart id button-confirm and submit buttons already get the colours of Button confirm order. If a payment method uses another kind of button, it may look different from the rest of the checkout. Enter the CSS selector of that button here, for example div.payment_info .btn-primary, to give it the same style. Separate several selectors with commas.
Payment - shipping methods
This tab lists every payment method and then every shipping method installed in your shop, so you can show a small logo next to each one in the checkout.
For each method:
- Click the image and choose a picture with the OpenCart image manager. The recommended size is 60 x 25 pixels.
- Or upload a PNG file, named after the code of the method, by FTP to the path shown under the method, for example
/catalog/view/theme/default/quick_n_easy_checkout/img/payment/cod.png. The text next to the path says File exists or File does not exist.
Click Apply changes after choosing images.
Custom code
The Custom code field adds your own CSS or JavaScript to the checkout page. The content is inserted into the page as it is, so wrap it in the right tags:
<style>
/* your CSS */
</style>
<script>
// your JavaScript
</script>Use it for small adjustments to your theme. Test the checkout after any change, and remove the code if something stops working.
Still need help?
Open a support ticket from your account and our team will look at your store with you.