Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › "Update cart" button? or text "Hit enter to update cart"
- This topic has 8 replies, 3 voices, and was last updated 12 years, 8 months ago by sourceflix.
-
AuthorPosts
-
February 29, 2012 at 9:17 pm #5707sourceflixMember
Is there an “update cart” button?
And if not, what php or css code can I add to have the text
(Hit the “Enter” key to update quantities in cart)
added inside the bottom right area of the cart.
Thank you for your help!
March 1, 2012 at 5:46 am #42519adminKeymasterWhen someone changes the quantity in the shopping cart it will automatically warn them to hit the “Enter” button to update the cart. You can customize the message that gets displaying using this method:
You can also show a quantity field next to the “Add to Cart” button of the product using the “Display Quantity Field” field in the additional details section of the product.
March 1, 2012 at 8:57 am #42520sourceflixMemberTHANK YOU! I confess that I had not seen that message on the screen — and possibly others won’t. Per your instructions, I found the php file, but I don’t really want to change the wording, just make the font bigger so people don’t miss it. Where would I go to the CSS code to increase the font? Again, thank you for your help. It is greatly appreciated!
March 1, 2012 at 11:57 am #42521PeterMemberHi,
You can put something like the following in the file called wp_eStore_custom_style.css:
.shopping_cart #pinfo {
font-size: 15px !important;
}
Note: I’m using 15px as an example but you can change the font size to suit your needs
March 1, 2012 at 3:54 pm #42522sourceflixMemberThank you very much! I will try that.
March 3, 2012 at 2:10 am #42523adminKeymasterWe have added an option so that you can show an “Update” button next to the quantity field in the shopping cart. Do the following to enable this:
1. Find the following line of code in the “eStore_advanced_configs.php” file:
define('WP_ESTORE_SHOW_UPDATE_BUTTON_FOR_QTY_CHANGE', '0');
2. Once you find it change it to the following to enable this option:
define('WP_ESTORE_SHOW_UPDATE_BUTTON_FOR_QTY_CHANGE', '1');
March 3, 2012 at 9:46 am #42524sourceflixMemberFirst — THANK YOU for the addition!
Unfortunately, I did not find that first line of code in my “eStore_advanced_configs.php” file. I see the list of define… but there is no line to show_update_button…
I went ahead and added the correct line, but that did not cause a button to appear. I just purchased eStore last week, so I assume that I have the latest version.
March 3, 2012 at 10:12 pm #42525adminKeymasterThis option was added yesterday so you will need to get a new build from here:
March 3, 2012 at 10:26 pm #42526sourceflixMemberThanks!
-
AuthorPosts
- You must be logged in to reply to this topic.