Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Display text link to shopping cart only when items are in cart

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Display text link to shopping cart only when items are in cart

Tagged: cart, shopping, shortcode

  • This topic has 2 replies, 2 voices, and was last updated 13 years, 3 months ago by Brian.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 23, 2012 at 12:54 pm #5331
    Brian
    Spectator

    Hi all,

    I’m using a stand-alone page for my shopping cart. I’d like to display a simple text link (“Checkout”) to the checkout page ONLY when the cart has items.

    I’ve looked through the docs and didn’t see any shortcodes that can do this. This seems like a simple function…but maybe not?

    Does anyone have a suggestion as to how I can get this done?

    January 24, 2012 at 4:23 am #41089
    admin
    Keymaster

    There are a couple of things that you can do:

    1. Enable the “Automatic redirection to checkout page” option from the settings menu of the eStore plugin. This will automatically redirect the user to the checkout page when they add an item

    2. Add the eStore widget to the sidebar then check the “Show Compact Cart in Widget” option which will place a compact cart with “View cart” link in there when you have items in the shopping cart.

    January 25, 2012 at 1:51 am #41090
    Brian
    Spectator

    Admin,

    Option #2 worked the best.

    I am using a stand-alone checkout page (no sidebars). Customers are taken to the checkout page once they click “Buy Now”.

    In case this might help someone else looking for a similar fix:

    I widgetized a section of my header (where I want the cart link, since I’m not using sidebars on my separate checkout page) and used a WP 3.3 custom menu. I then inserted the compact cart on the “Header” custom menu and applied custom styles to achieve the “effect” I was looking for. This enables customers who leave the checkout page to click a link in the header that returns them to the checkout page.

    It isn’t perfect since I had to modify some core files from the shortcode extender plugin (which I assume will need re-modified upon plugin updates), but I got it just the way I wanted nonetheless. Thanks!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ