Page 15 of 218 FirstFirst ... 513141516172565115 ... LastLast
Results 141 to 150 of 2177
  1. #141
    Join Date
    Nov 2007
    Location
    south carolina
    Posts
    43
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    cartProductDisplay already exists and is used in the regular shopping cart to show images. It shows a fairly large image and probably too big for your needs. I just added the XXX as an arrbitrary difference so your regular shopping cart wouldn't be changed.

    Before you try this, remember, I've been using Zen cart for less than a month and my knowledge of PHP, Zen and CSS leaves much to be desired. In theory, I think this should work...

    Add to your stylesheet
    PHP Code:
    img.cartProductDisplayXXX  {
      
    width2em;
      
    height2em;

    Then, wherever it was you put your code, put this in...

    PHP Code:
    <span class="cartProductDisplayXXX">
    <?php
    $products 
    $db->Execute("SELECT products_image
    FROM " 
    TABLE_PRODUCTS "
    WHERE products_id ='" 
    $order->products[$i]['id'] . "'");

    echo 
    '' zen_image(DIR_WS_CATALOG DIR_WS_IMAGES $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHTSMALL_IMAGE_WIDTH) . '</a>&nbsp;';
    ?>
    </span>
    Like I said, in theory, this should work, unless my theory is wrong, which it very well could be. I haven't tested it and have no idea if it will work or not.

    Let us know if it worked for you

  2. #142
    Join Date
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    Hi osdude,

    Thanks for your help. Unfortunately, it didn't work.
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


  3. #143
    Join Date
    Nov 2007
    Location
    south carolina
    Posts
    43
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    PHP Code:
    <?php
    $products 
    $db->Execute("SELECT products_image
    FROM " 
    TABLE_PRODUCTS "
    WHERE products_id ='" 
    $order->products[$i]['id'] . "'");

    echo 
    '<span class="cartProductDisplayXXX">' zen_image(DIR_WS_CATALOG DIR_WS_IMAGES $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHTSMALL_IMAGE_WIDTH) . '</a></span>&nbsp;';
    ?>
    maybe this will work? I dunno?

    tell me where you're putting the code and I'll try to do it as well.

  4. #144
    Join Date
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    Still no luck
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


  5. #145
    Join Date
    Nov 2007
    Location
    south carolina
    Posts
    43
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    to what file are you adding this code?

  6. #146
    Join Date
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    I added the following code in my stylesheet.css

    Code:
    img.cartProductDisplayXXX  {
      width: 2em;
      height: 2em;
    }
    I also added the following code in my checkout page at those places you suggested.

    <span class="cartProductDisplayXXX"></span>
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


  7. #147
    Join Date
    Nov 2007
    Location
    south carolina
    Posts
    43
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    PHP Code:
    <?php
    $products 
    $db->Execute("SELECT products_image
    FROM " 
    TABLE_PRODUCTS "
    WHERE products_id ='" 
    $order->products[$i]['id'] . "'");

    echo 
    '<span class="cartProductDisplayXXX">' zen_image(DIR_WS_CATALOG DIR_WS_IMAGES $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHTSMALL_IMAGE_WIDTH) . '</a></span>&nbsp;';
    ?>
    this, what file are you putting this in and where. I didn't suggest a location for this and I have no idea which file you're editing

  8. #148
    Join Date
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    this, what file are you putting this in and where. I didn't suggest a location for this and I have no idea which file you're editing
    I put this in includes/template/template_default/templates/tpl_checkout_default.php at the shopping cart table section where it is in between the "Quantity" and "Product Name" fields. Hope that make sense.
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


  9. #149
    Join Date
    Nov 2007
    Location
    south carolina
    Posts
    43
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    ok, cool.

    I'll play around and see if I can do anything with it

  10. #150
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Fast and Easy Checkout for Zen Cart

    Has anyone else experienced checkout_default not automatically refreshing as soon as you land on the page to add the shipping to the cart total? It will work correctly with everything except UPS (although I haven't checked USPS since we don't use it). Since we only use UPS this is creating a problem for us since the customer doesn't see the shipping in the total unless they happen to refresh the page for some reason.

    This is beyond my fledgling PHP skills, does anyone have an idea of what needs to be corrected? The cheapest UPS shipping radio box is selected when you land on the page, it just doesn't reflect in the cart total.

    This is with v1.3.7.1, I thought that it was a clash with one of the many mods I have running but I tried it on our live test site with no mods and this still occurs. I have tried it with the latest version of Fast&Easy, too, with the same results.

    Thanks!

    Matt

 

 

Similar Threads

  1. Replies: 4
    Last Post: 25 Jan 2012, 07:37 PM
  2. Fast and Easy Checkout - Checkout Without Account not showing
    By Lee-oh in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 3 Feb 2010, 05:09 PM
  3. Go To Checkout Error - with Fast and Easy Checkout installed
    By RFree190 in forum General Questions
    Replies: 3
    Last Post: 10 Mar 2009, 07:08 AM
  4. checkout page not redirect (Fast and Easy Checkout module)
    By wowemall in forum Addon Templates
    Replies: 0
    Last Post: 27 Sep 2008, 02:36 PM
  5. Fast and Easy Checkout
    By cmes in forum General Questions
    Replies: 5
    Last Post: 15 Feb 2008, 04:07 PM

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