rxalex - post your specific needs here and I will advise you.
rxalex - post your specific needs here and I will advise you.
How do I re-align the box to be smaller vertically?
I looked all over in this thread and can't seem to find an answer for what I think is a very simple question. I want to change the default graphic that shows up in the header to "checkout" when an item is added to the cart. I thought I maybe needed to just change the "CHCKOUT" part of BUTTON_IMAGE_CHECKOUT in tpl_cart_header.php on this line to whatever image it is I want it to hit. But that does not work. How do I select a checkout logo that is just for my header cart??
Also, I would like to get rid of the "totals" in the cart completely. Again, I haven't found out how to do that. Any help?Code:<?php if ($cart_count) { echo '<div id="cartCheckout"><a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT) . '</a></div>'; } ?>
zen_image_button(BUTTON_IMAGE_CHECKOUT)
This uses the filename defined for BUTTON_IMAGE_CHECKOUT; to use another file without changing the regular button elsewhere, you would need to use a different constant name and define that constant to be the desired filename. Something like
zen_image_button(BUTTON_IMAGE_CART_HEADER_CHECKOUT)
and put a define in a language file like
define('BUTTON_IMAGE_CART_HEADER_CHECKOUT', 'yourbuttonimage.gif');
Pattern the define after the define for BUTTON_IMAGE_CHECKOUT.
Excellent - I was able to fix that! Thank you so much!
I made some adjustments to my site text and it threw my header off. Now my image for my cart is cut off on the right side. When something is in the cart it shows completely. Any suggestions? squishytushy.com
thanks!
Odd... I can only get the cut-off border/image on the product info page.
You appear to have slightly different rules for product info and for other pages.
product info:
min?f=...2619730 (line 113)
#cartHeader {
background: url("/includes/templates/future_zen/images/cartheader.jpg") no-repeat scroll 0 0 transparent;
padding: 0 2em 1em 0;
position: absolute;
right: 2.9em;
top: 1em;
}
other pages:
min?f=...2619730 (line 113)
#cartHeader {
background: url("/includes/templates/future_zen/images/cartheader.jpg") no-repeat scroll 0 0 transparent;
padding: 0 2em 1em 0;
position: absolute;
right: 0;
top: 0.1em;
}
I don't yet know why or how this would be happening - that may take some digging, and minimized stylesheets are a real pain to sift through.
I really can't see any reason for this to happen. In both cases, the same stylesheets are being used, and the location and surroundings of that rule look the same. It just has different position spacings for the two cases. Since I can't find anything else, I will guess that the css/js loader that minifies the files masks whatever is causing the difference, or maybe causes the difference itself.
Hi Glenn,
Great mod, thanks!
We only offer free shipping in the UK; can this module be changed so that the amount needed to qualify will only show in the box for UK customers and be hidden for those that don't get free shipping?
Yes, with some new custom coding. You would need some code to detect where the customer is located; then you could switch the free shipping section on or off accordingly. User locale detection is not something I have worked with, so you would need someone to advise on how best to do that. If the user is logged in, it becomes easy to check if the address is in the UK.
Bookmarks