Plugin Directory

Changeset 2580044


Ignore:
Timestamp:
08/08/2021 10:13:09 PM (5 years ago)
Author:
zeshanb
Message:

Removed quotes around product_qty and price from example shortcode in description

File:
1 edited

Legend:

Unmodified
Added
Removed
  • easy-cart/trunk/readme.txt

    r2580042 r2580044  
    2929Here is a example usage of add_to_cart shortcode using all the attributes:
    3030
    31 [add_to_cart itemid="your-item-id" product_name="Your product name" product_desc="description of your product." product_qty="1" price="1.00" /]
     31[add_to_cart itemid="your-item-id" product_name="Your product name" product_desc="description of your product." product_qty=1 price=1.00 /]
    3232
    3333You can have as many add_to_cart shortcodes as you like, in posts and pages.
     
    8787In a pagetemplate-cart.php file in your wordpress you may do as you wish with the total amount and the post requests. Use the results and pass to a checkout slug, pagetemplate-checkout.php. Have fun!
    8888
    89 == Screenshots == 
     89== Screenshots ==
    9090 
    91911. After activating the plugin create a page with name (also known as slug) cart and add [easy_cart /] and [empty_cart /] shortcodes.
     
    94944. Cart page displays and totals the items selected using add to cart button.
    95955. This is the JSON error in the editor you can simply ignore.
    96 6. Use shortcode blocks to create cart page.
     966. Use shortcode blocks and column block to create cart page slug.
    97977. Minimum permalink setting uses post name for the cart to function properly
    98988. Add to cart buttons using shortcode blocks. Notice there are no quote marks used for product_qty and price.
Note: See TracChangeset for help on using the changeset viewer.