PublishPress Cart can sell more than one product in a single order. Customers browse a Shop page, add products to a cart and pay once on a Checkout page. This guide shows how to create those three pages, change how they look and use shortcodes instead of blocks.
This feature is available in PublishPress Cart Free and Pro.
Before you start #
You need:
- PublishPress Cart Free or Pro installed and active.
- At least one product. Create products under Cart → Products.
- Show in Shop Page turned on in the product settings, for each product you want on the Shop page.
Create the Shop, Cart and Checkout pages #
- Go to Cart → Settings and open the Shop & Cart tab.
- Check that Enable shopping cart is turned on.
- Under Pages, click Create missing pages.
Cart creates the pages and fills in the Shop page, Cart page and Checkout page menus for you. A message confirms that the pages are ready:

You can use pages you already have instead. Choose them from the three menus.
Show your products on the Shop page #
Open the Shop page on your site to see your products in a grid. Each card has the product name, the price and a button:

The button depends on the product. One-time products show Add to cart, subscriptions show Subscribe, and a collection shows View.
Change the Shop page block settings #
Go to Pages → All Pages, edit the Shop page and click the PP Cart Shop block. The block settings open in the sidebar:

These are the options:
- Pagination: Choose how customers move between pages of products. The default is page numbers.
- Products per page: Enter how many products to show on each page. The default is 12.
- Columns: Choose how many products sit side by side.
- Order by: Choose how products are sorted. The default is date.
- Category IDs and Tag IDs: Show only products in certain categories or tags. Separate the IDs with commas.
- Show image, Show description and Show price: Choose what appears on each card.
- Include collections and Include subscription products: Add these product types to the grid.
- Link to product page: Link each card to its product page.
- Description: Choose the kind of description to show, such as a short excerpt.
Click Save to publish your changes.
Add products to the cart #
When a customer clicks Add to cart, the button changes to In cart and the mini cart opens at the side of the page:

The mini cart shows the product, the subtotal, a Checkout button and a View cart link. Customers can remove a product from here.
To change what happens after a customer adds a product, go to Cart → Settings → Shop & Cart and use After add to cart under Add to cart. The default is Open the mini cart.
Review the cart #
The Cart page lists every product the customer has added, with an order summary and a Checkout button:

To change the page, edit it and click the PP Cart Shopping Cart block. Under Continue shopping link, show or hide the link back to the Shop page and change its text. Leave the text empty to use the default.
Check out with the whole cart #
The Checkout page shows the contact fields, the payment method and an order summary. The button shows the total, for example Pay $149.00:

Edit the Checkout page and click the PP Cart Checkout block. The Product setting is Cart, which means the form pays for the shopping cart:

Change the checkout form fields and confirmation #
The fields on the checkout form come from Cart → Settings → Shop & Cart, not from the block. Scroll down on the Shop & Cart tab to the Checkout form and After payment sections:

These are the options:
- Show phone field and Show address fields: Add these fields to the form. Both are off by default.
- Terms checkbox and Terms URL: Ask customers to agree to your terms and link to them.
- Pay button text: Change the text on the button. The default is Pay (total).
- Confirmation: Choose what customers see after they pay. The default is Show a message, and you write the text in Confirmation message. You can also send customers to a Confirmation page or a Confirmation URL.
- Keep carts for (days): Choose how long Cart remembers a customer’s cart. The default is 7 days.
Click Save changes when you are done.
Use shortcodes instead of blocks #
Every block has a matching shortcode. In the block editor, type /pp in a new paragraph to see the Cart blocks, including PP Cart Shop, PP Cart Mini Cart, PP Cart Shopping Cart and PP Cart Checkout. For a classic editor or a page builder, use the shortcodes.
Go to Cart → Settings → Shortcodes to copy them. Each one has a Copy button:

| Shortcode | Where to put it |
|---|---|
[ppcart_shop] | The Shop page. It lists the products that have Show in Shop Page turned on. |
[ppcart_mini_cart] | The site header. It shows a cart icon with the item count and opens the cart drawer. |
[ppcart_cart] | The Cart page. It shows the items in the cart and the order summary. |
[ppcart_cart_checkout] | The Checkout page. It shows the checkout form that pays for the whole cart. |
