Page 12 of 19 FirstFirst ... 21011121314 ... LastLast
Results 111 to 120 of 181
  1. #111
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Shoppingcart/Freeship in Header support

    rxalex - post your specific needs here and I will advise you.

  2. #112
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: Shoppingcart/Freeship in Header support

    How do I re-align the box to be smaller vertically?

  3. #113
    Join Date
    Jul 2009
    Location
    California
    Posts
    18
    Plugin Contributions
    0

    image problem Re: Shoppingcart/Freeship in Header support

    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??

    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>';
    }  ?>
    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?

  4. #114
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Shoppingcart/Freeship in Header support

    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.

  5. #115
    Join Date
    Jul 2009
    Location
    California
    Posts
    18
    Plugin Contributions
    0

    Default Re: Shoppingcart/Freeship in Header support

    Excellent - I was able to fix that! Thank you so much!

  6. #116
    Join Date
    Apr 2007
    Posts
    649
    Plugin Contributions
    0

    Default Re: Shoppingcart/Freeship in Header support

    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!

  7. #117
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Shoppingcart/Freeship in Header support

    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.

  8. #118
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Shoppingcart/Freeship in Header support

    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.

  9. #119
    Join Date
    Jul 2006
    Posts
    90
    Plugin Contributions
    0

    Default Re: Shoppingcart/Freeship in Header support

    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?

  10. #120
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Shoppingcart/Freeship in Header support

    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.

 

 
Page 12 of 19 FirstFirst ... 21011121314 ... LastLast

Similar Threads

  1. Shoppingcart question
    By arbmil in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 29 Nov 2011, 06:34 PM
  2. freeship after discounts - code
    By makenoiz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Feb 2011, 09:50 PM
  3. Shopping Cart Totals in Header Support
    By georgiepants in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 8 Feb 2010, 04:23 PM
  4. Trying to Add Live Support to my Header
    By CoolCarPartsOnline in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Sep 2008, 02:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR