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

eStore – compact shopping cart shortcode output layout

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – compact shopping cart shortcode output layout

Tagged: Compact Cart, Image Layout

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 8 months ago by WebGuy123.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 16, 2013 at 1:31 am #9685
    WebGuy123
    Member

    Please see the following screenshot:

    [http://i.imgur.com/jIWRsz9.png]

    How can I configure the layout of that compact cart plugin, so that the cart icon image is to the left of the text (not on top of the text)?

    FYI, I am using the following code:[wp_eStore_display_compact_cart show_empty=1

    show_sub_total=1 show_title=0 show_cart_image=1]

    Thanks!

    September 16, 2013 at 2:12 am #57775
    Peter
    Member

    Hi,

    To achieve what you want you will have to modify some code from the eStore extra shortcodes plugin – something we don’t usually recommend and which you should only do if you feel you are confident enough to do so.

    More specifically, you will need to modify the file called “shortcode_include.php” inside the root directory of the eStore extra shortcodes plugin.

    Go to the code inside the function called “eStore_display_compact_cart” and remove the applicable <br /> tags which are displaying the text underneath the cart image.

    NOTE: You will need to keep a backup copy of the file you modified because your changes will be overwritten if you update the extra shortcodes plugin in the future.

    September 17, 2013 at 2:38 am #57776
    WebGuy123
    Member

    Thanks. That worked great. In case it helps anyone, I also aligned the image left and added a right margin as follows:

    $output .= “<input type=’image’ src='”.WP_ESTORE_URL.”/images/shopping_cart_icon.gif’ value=’Cart’ title=’Shopping Cart’ align=’left’ style=’margin-right:10px’/>”;

  • 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