Easy Cart

Easy Cart

Details
View on WordPress

A simple shopping cart using shortcodes.

Be sure your permalinks in WordPress settings supports slug urls e.g. your-domain.tld/slug. Once you have proper permalink setting, Create a page with slug /cart. Then edit the cart page and add [easy_cart /] and [empty_cart /] shortcodes.

Create add to cart buttons using [add_to_cart /] shortcodes on other posts or pages of your WordPress site.

To display cart:
`
[easy_cart /]

`

To display empty cart link on cart page:
`
[empty_cart /]

`

Use the following attributes to define your add_to_cart products:

  1. itemid
  2. product_name
  3. product_desc
  4. product_qty
  5. price

Here is a example usage of add_to_cart shortcode using all the attributes. Use quotes around text but not numbers:

[add_to_cart itemid=your-item-id product_name=”Your product name” product_desc=”description of your product.” product_qty=1 price=1.00 /]

`

[add_to_cart itemid=1111 product_name=”Your product name” product_desc=”description of your product.” product_qty=1 price=1.25 /]

`

You can have as many add_to_cart shortcodes as you like, in posts and pages.

Shopping cart allows you to store items and calculate total but doesn’t allow you to checkout. At least not yet as of version 1.2.

Details

Plugin code:
easy-cart
Plugin version:
1.8
Author:
Outdated:
No
WP version:
5.3 or higher
PHP version:
5.6 or higher
Test up to WP version:
6.9
Total installations:
0
Last updated:
2025-12-01
Rating:
Times rated:
0
sessions
shopping-cart
shortcode
transient-storage