Easy Cart

A simple shopping cart using shortcodes.

Author:zeshanb (profile at wordpress.org)
WordPress version required:5.3
WordPress version tested:6.9
Plugin version:1.8
Added to WordPress repository:05-03-2021
Last updated:01-12-2025
Rating, %:0
Rated by:0
Plugin URI:https://www.zdatatech.com/portfolio/plugins/e...
Total downloads:1 179
plugin download
Click to start download

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.


Screenshots
FAQ
ChangeLog