WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Simple Paypal Shopping Cart
[resolved] Add cart to top of site (2 posts)

  1. kathydtg
    Member
    Posted 10 months ago #

    Hi

    Is it possible to add a shopping trolley to the top right hand side of the website, so people can see how many items they have in then click on that icon and go to a checkout page?

    Or does it have to go in the sidebar? Which is a problem if I have a full width page or they navigate away from that page & say back to the home page which has no sidebar, how can they then find their shopping cart?

    Thanks

    Kathy

    http://wordpress.org/extend/plugins/wordpress-simple-paypal-shopping-cart/

  2. mra13
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Kathy, You can place the shopping cart where ever you want on your site. Adding it to a post, page or sidebar is easy as you just use a shortcode. If you want to place it somewhere else (eg. header or footer) then you will simply need to edit your template file and use the PHP code that outputs the shopping cart. Here is an example snippet:

    <?php echo print_wp_shopping_cart() ?>

    The following shopping cart documentation has more info:
    http://www.tipsandtricks-hq.com/ecommerce/simple-wp-shopping-cart-installation-usage-290

Reply

You must log in to post.

About this Plugin

About this Topic