Results 1 to 10 of 2177

Hybrid View

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

    red flag Re: Fast and Easy Checkout for Zen Cart

    Thanks for your suggestion. I tried putting your code in stylesheet but it didn't work. By the way, what's with the XXX? I still can't get it to work as I have no idea what controls the size of the images and which files they are calling from.

    Code:
    img.cartProductDisplayXXX  {
      width: 2em;
      height: 2em;
    }
    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


  2. #2
    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

  3. #3
    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


  4. #4
    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.

  5. #5
    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


  6. #6
    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?

  7. #7
    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


 

 

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