Changeset 2580044
- Timestamp:
- 08/08/2021 10:13:09 PM (5 years ago)
- File:
-
- 1 edited
-
easy-cart/trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-cart/trunk/readme.txt
r2580042 r2580044 29 29 Here is a example usage of add_to_cart shortcode using all the attributes: 30 30 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 /] 32 32 33 33 You can have as many add_to_cart shortcodes as you like, in posts and pages. … … 87 87 In 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! 88 88 89 == Screenshots == 89 == Screenshots == 90 90 91 91 1. After activating the plugin create a page with name (also known as slug) cart and add [easy_cart /] and [empty_cart /] shortcodes. … … 94 94 4. Cart page displays and totals the items selected using add to cart button. 95 95 5. This is the JSON error in the editor you can simply ignore. 96 6. Use shortcode blocks to create cart page.96 6. Use shortcode blocks and column block to create cart page slug. 97 97 7. Minimum permalink setting uses post name for the cart to function properly 98 98 8. 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.