
Originally Posted by
Craft Magick
I installed this and everything worked perfectly (the info form, the response email I received, etc.) EXCEPT that I have noticed that it has completely altered two of my CSS checkout buttons --- the one to 'checkout' and the one to 'update cart'
Any suggestions would be apprecaited because this seems like it would be a wonderful mod to add to my site but i can't leave it with these buttons messed up because customers would not know how to checkout.
My website is:
www.ZenCrystals.com
running zencart version 1.3.8
with the zencart_zen template
and Empty_Cart_Manager_1.2
Zencart ROCKS

I fixed the buttons and for anyone else that has that issue here is the solution that worked for me...
1. opened the button_names.php file located at:
includes/languages/english/button_names.php
2. found the definition name for the 'checkout button
(in my case it was BUTTON_IMAGE_CHECKOUT)
3. opened the tpl_shopping_cart_default.php file located at:
includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php
4. changed the definition name for the 'checkout' and 'update' buttons (the two buttons that were messed up in my case) to match the definition name in the button_names.php file.
The names of the buttons are:
BUTTON_IMAGE_CHECKOUT
BUTTON_IMAGE_UPDATE
See below for exactly where I changed them:
PHP Code:
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, CHECKOUT_ALT) . '</a>'; ?></div>
<div class="buttonRow back"><?php echo zen_image_submit(BUTTON_IMAGE_UPDATE, UPDATE_ALT); ?></div>
I have no idea how these two button name definitions got changed during the 'empty cart manager' installation but at least i can now keep the mod and everything is working perfectly!
If you want to see an example of the working mod you can see it on my website at www.ZenCrystals.com Just add something to your cart and then delete it...
Thanks for a GREAT mod!
Zencart ROCKS