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

How To Change The Item Description and More?

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › How To Change The Item Description and More?

  • This topic has 7 replies, 2 voices, and was last updated 12 years, 7 months ago by Bob Rockefeller.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • November 26, 2012 at 5:12 pm #8009
    Bob Rockefeller
    Member

    I have a sidebar with a shopping cart in it by using the short code [wp_eStore_cart] in a text widget.

    The item descriptions show up as “kim-tracy (4×6) ([pid:14])” as a link that doesn’t go anywhere.

    I’d like to:

    1) Change the text so something more like “kim-tracy (4×6)”

    2) Drop the link

    3) Get rid of the “Items in Your Cart” text block

    How do I go about that?

    Is there a PHP file I can customize? Which one drives the cart display in the sidebar widget?

    Bob

    November 26, 2012 at 5:42 pm #51805
    Bob Rockefeller
    Member

    Also, the input fields for the Quantity are too narrow for double digits. How do I set the width for those?

    .eStore_cart_item_qty {

    width: 100px;

    }

    didn’t do it because wp_eStore_style.css line 23 sets the width to auto with an !important override.

    Bob

    November 26, 2012 at 6:23 pm #51806
    Bob Rockefeller
    Member

    And while I’m at it. :)

    I’d like the price column to be right aligned. Or maybe decimal aligned.

    Can that be done?

    Bob

    November 27, 2012 at 6:21 am #51807
    admin
    Keymaster

    1) It looks like you are using the NextGen gallery integration method 2. If my assumption is correct then you can’t drop the “[pid:14]” string. it is required for this integration option

    2) The link goes to the page where the item was added from. This can be dropped by applying a tweak in the PHP file. Open the “eStore_cart.php” file and find the following line of code:

    <a href='".$item['cartLink']."'>".$item['name']."</a>

    Change that to the following to remove the link:

    ".$item['name']."

    3) You can customize the message using this method:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-customize-various-textmessages-displayed-by-the-plugin

    4) Did you try adding something like the folloiwng in the custom CSS file of the estore plugin (the custom css file loads after the normal CSS file):

    .eStore_cart_item_qty {
    width: 100px;
    }

    Please post a link to the page where you have the cart so I can check it too.

    November 30, 2012 at 1:54 pm #51808
    Bob Rockefeller
    Member

    1) Is there a way to filter the ‘name’ to strip the “[pid:14]” for display only?

    2) Works!

    3) OK. I wanted it completely gone, not reworded, so I just used display:none; in the CSS.

    4) I moved that CSS to wp_eStore_custom_style.css but it was still overridden by wp_eStore_style.css. I’ll work on moving the site from my MAMP development server to a public server somewhere.

    Bob

    December 2, 2012 at 8:28 pm #51809
    Bob Rockefeller
    Member

    OK, I’ve set up a test site for you to look at. It’s at:

    [http://testmule.robertrockefeller.com]

    Click the Clients menu at the top and log in as test/test. Add a couple of images from the galleries there and see the size of the quantity box in the shopping cart in the right sidebar. I’d like to change it’s width. Right now I have:

    .eStore_cart_item_qty {

    width: 100px;

    }

    in the wp_eStore_custom_style.css file, but that is being overruled by the CSS in wp_eStore_style.css.

    How do I properly target my CSS?

    Bob

    December 3, 2012 at 1:22 am #51810
    admin
    Keymaster

    I had a look at your site and I don’t think the quantity field’s size is an issue. It looks good just the way it is. Anyway, if you add the following to the custom CSS file, it should override the width:

    .shopping_cart input, .eStore_cart_fancy1 input, .eStore_cart_fancy2 input {
    width: 100px !important;
    }

    December 3, 2012 at 12:39 pm #51811
    Bob Rockefeller
    Member

    That works. So I guess I needed to out !important the wp_eStore_style.css !important.

    Thanks.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 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