Impreza Knowledge Base WooCommerce How to customize the "Cart" page

How to customize the "Cart" page

What is a Cart page? #

Cart is the required page of the site with WooCommerce if you want to sell online. It's created automatically after installation WooCommerce plugin, and you can easily find it in the list of pages: 

2688.png

By default, the cart page has the [woocommerce_cart] shortcode/element, which shows the predefined WooCommerce template for the cart elements.

2689.png

The default WooCommerce template for the cart page could be adjusted at Theme Options > Shop > Cart Page.

2699.png

 

How to Customize the Cart Page #

You can customize the Cart Page like any other page with WP Bakery page builder or the Theme's Live Builder. You can add rows, columns, and other elements of content and structure as you like.

Start customizing by removing the default [woocommerce_cart] shortcode/element and using the relevant cart elements from the Theme's library:

2690.png

Elements marked as "Required" are needed for the work of the Cart page.

  1. Cart - Product Table — shows the table with the list of cart items allowing to adjust the table head, table styling, thumbnails, quantity buttons, remove link. The "Design" tab allows you to apply any colors, background, padding, margins, animation, and other styling tools as you like. 

    2691.png
  2. (Required) Cart - Totals — shows the total price for your cart items. While editing, you can decide if you want to show sub-total price for it (before discount), adjust wording and styles for the title and button. The "Design" tab allows you to apply any colors, background, padding, margins, animation, and other styling tools as you like. 

    2692.png
  3. Coupon Form  — shows the input for applying the coupon code. While editing, you can adjust its placeholder as well as styling and label for the submit button. The "Design" tab allows you to apply any colors, background, padding, margins, animation, and other styling tools as you like.

    2693.png
  4. Notices Box — shows the validation messages and notifications about the cart page adjustments (such as coupon application and others). While editing, you can apply one of the pre-defined styles for the message box. The "Design" tab allows you to apply any colors, background, padding, margins, animation, and other styling tools as you like. 

    2694.png

You can combine and move these elements, use different columns layout for them, and apply styling via the "Design" tab to create your own unique Cart page appearance. 

Custom Upsells and Cross-Sells #

You can show related products in your custom Cart page by adding a Grid element that is set up to show the Upsells or Cross-Sells products:

2701.png

Upsells are products that you recommend instead of the currently viewed product, for example, products that are more profitable or better quality or more expensive.

Cross-sells are products that you promote in the cart, based on the current product.

When editing the product, you can set up other products related to it as an Upsell or Cross-sell via the Product data > Linked Products.

2702.png

You might also want to hide Grid with Upsells/Cross-sells in case there are no relevant products specified. You can implement this behavior in the Grid element’s General tab > Action when no results found > Hide this Grid.

2703.png

Cart Page Examples #

Example 1. Fashion Shop

2696.png

Example 2. Online Courses

2697.png

Example 3. Beauty Shop

2698.png