1 / 7
Jun 2014

That text gets inserted in the #tdPmnt section of the cart (which normally just says "Checkout:" when there aren't any editable price fields in the cart), so you can customize that with this line in your cart customization function EJEJC_shown(){} section:



jQuery("#tdPmnt").attr("innerHTML", "Any <b>HTML</b> you want to show");

18 days later

Hi, there are two problems.

First, if I set a minimum and a suggested price the overlay cart shows only the minimum price while the sales page shows the suggested price.



Second, the correct code for costumizing the text was:



EJEJC_jQuery("#tdPmnt").attr("innerHTML", "Any <b>HTML</b> you want to show");

jQuery is usually sufficient on its own, but if your site is already using jQuery elsewhere then ejejc_jQuery will work in its stead:

http://www.e-junkie.com/ej/trouble.custom-cart.jquery.htm



If the product in your cart is showing the minimum price instead of the suggested price be sure that you've emptied your cart by removing all existing items before testing that button again. If the minimum price is still showing be sure that you've updated your button code since adding in the min and suggested price settings because these need to be coded into the button itself. This is one of the few times that a change in product settings requires an update to the button.