May 182014
 

Create A Simple PayPal Shopping Cart shows you how to add a shopping cart to your website by simply adding a couple of shortcodes.

Last Updated: July 18, 2017

Latest News: I have added more information.

Create A Simple PayPal Shopping Cart Steps

Step 1 ) Create a page or post for your shopping cart. I created a page with a title Shop and added 1 item with a price tag of $20. See images below.

Shortcodes added

[wp_cart_button name="Test Product" price="20" shipping="2.00"]
[show_wp_shopping_cart]

In version 3.9.3 a new shortcode was added [wp_compact_cart].

wordpress-shopping-cart-page

Step 2 ) View your shop online and click on Add to Cart button and the shopping cart will appear.  See images below.

wordpress-shopping-cart-item

Step 3 ) The next image illustrates  the following points:

  1. Cost of Item
  2. How many items selected
  3. Amount for the total items selected
  4. Shipping cost added = This cost includes the the shipping cost of $2 added above in the shortcode plus the Base Shipping Cost of $5 added in the plugin.
  5. Total amount of cost
  6. Ready to make the purchase

wordpress-shopping-cart-cost

Step 4 ) Once you clicked on the PayPal shopping button above you will be taken the the PayPal secure site. See images below.

Note: The shipping cost is only triggered if a shipping=”Amount added here” value is added in the shortcode as illustrated above in Step 1 ).

wordpress-shopping-cart-paypal

Step 5 ) The customer then has a few choices to choose from. Either create a new PayPal account or Pay with a credit or debit card.

wordpress-shopping-cart-paypal-payment

Click on the following link PayPal Redirect URL to complete the tutorial.

I will be updating this post from time to time. So keep coming back for more.

Enjoy.

WordPress Simple PayPal Shopping Cart List

Manuel Ballesta Ruiz is a web developer, Blogger and WordPress Enthusiast.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

The following GDPR rules must be read and accepted:
This form collects your name, email and content so that we can keep track of the comments placed on the website. For more info check our privacy policy where you will get more info on where, how and why we store your data.