Plugin Directory

Changeset 3407078


Ignore:
Timestamp:
12/01/2025 05:13:17 PM (3 months ago)
Author:
zeshanb
Message:

Tested with version 6.9-RC3

Location:
easy-cart/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • easy-cart/trunk/plugin.php

    r2972425 r3407078  
    33 * Plugin Name:       Easy Cart
    44 * Plugin URI:        https://www.zdatatech.com/portfolio/plugins/easy-cart
    5  * Description:       A simple shopping cart using shortcodes. You desginate a page with slug /cart and add  [easy_cart/] shortcode to the /cart page and post [add_to_cart] shortcodes in other places on your wordpress site. This also serves as a example on using transient storage instead of sessions.
     5 * Description:       A simple shopping cart using shortcodes. You designate a page with slug /cart and add  [easy_cart/] shortcode to the /cart page and post [add_to_cart] shortcodes in other places on your wordpress site. This also serves as a example on using transient storage instead of sessions.
    66 * Version:           1.8
    77 * Requires at least: 5.3
    8  * Tested up to:      6.3
     8 * Tested up to:      6.9
    99 * Requires PHP:      5.6
    1010 * Author:            Zeshan B
  • easy-cart/trunk/readme.txt

    r2972425 r3407078  
    33Tags: Shopping Cart, Transient Storage, Sessions, shortcode
    44Requires at least: 5.3
    5 Tested up to: 6.3
     5Tested up to: 6.9
    66Requires PHP: 8.0
    77Stable tag: 1.8
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    10 
     10A simple shopping cart using shortcodes. You designate a page with slug /cart and add  [easy_cart/] shortcode
    1111
    1212=== Description ===
     
    1818Create add to cart buttons using [add_to_cart /] shortcodes on other posts or pages of your WordPress site.
    1919
     20To display cart:
     21```
     22[easy_cart /]
     23
     24```
     25
     26To display empty cart link on cart page:
     27```
     28[empty_cart /]
     29
     30```
     31
    2032Use the following attributes to define your add_to_cart products:
    2133
     
    26381. price
    2739
    28 Here is a example usage of add_to_cart shortcode using all the attributes. Be sure to use single quotes:
     40Here is a example usage of add_to_cart shortcode using all the attributes. Use quotes around text but not numbers:
    2941
    30 [add_to_cart itemid='your-item-id' product_name='Your product name' product_desc='description of your product.' product_qty=1 price=1.00 /]
     42[add_to_cart itemid=your-item-id product_name="Your product name" product_desc="description of your product." product_qty=1 price=1.00 /]
     43
     44```
     45[add_to_cart itemid=1111 product_name="Your product name" product_desc="description of your product." product_qty=1 price=1.25 /]
     46
     47```
    3148
    3249You can have as many add_to_cart shortcodes as you like, in posts and pages.
Note: See TracChangeset for help on using the changeset viewer.