Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2009
    Location
    Serbia
    Posts
    349
    Plugin Contributions
    0

    Default Adding picture of shopping cart in side boxes

    Hi, I attempt to put picture of shopping cart in side boxes.
    Then I put something of product in basket, the shopping cart com on side boxes, byt in text not in picture.

    Hay to modify the code, to have picture of shopping sart in side boxes?

    Is the file:
    includes/modeles/sideboxes/shopping_card.php ?

  2. #2
    Join Date
    Mar 2009
    Location
    Serbia
    Posts
    349
    Plugin Contributions
    0

    Default Re: Adding picture of shopping cart in side boxes

    Heloou...
    Somebodu...

  3. #3
    Join Date
    Mar 2009
    Location
    Serbia
    Posts
    349
    Plugin Contributions
    0

    Default Re: Adding picture of shopping cart in side boxes

    Heloooooooooooooooo, help, somebody

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Adding picture of shopping cart in side boxes

    OKAY ALREADY... Just don't shoot us with that big gun of yours !

    So when a product is added to the cart, you want a PICTURE of the product to show in the cart sidebox?
    19 years a Zencart User

  5. #5
    Join Date
    Mar 2009
    Location
    Serbia
    Posts
    349
    Plugin Contributions
    0

    Default Re: Adding picture of shopping cart in side boxes

    Star wars is the best film ever

    Yes, when someone inserted in the cart in side box show a list of these products, I want to show only pictures I choose, without the list of products in the basket.

    Hay to do thet?

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

    Default Re: Adding picture of shopping cart in side boxes

    You want the Shopping Cart with Image Sidebox in Free Addons.

    If you need to tweak it to display the way you want after you install it, ask again and let us see what you have.

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Adding picture of shopping cart in side boxes

    Quote Originally Posted by kobra8 View Post
    Star wars is the best film ever
    No it isn't...

    The Sound of Music - with Julie Andrews, is the best movie of all time.

    The hills are alive, with the sound of music...
    19 years a Zencart User

  8. #8
    Join Date
    Mar 2009
    Location
    Serbia
    Posts
    349
    Plugin Contributions
    0

    Default Re: Adding picture of shopping cart in side boxes

    I install the contributed Shopping Cart With Image Sidebox.
    BUT
    I want to show only pictures I choose, without the list of products in the basket with picture.

    For example, in the side box I want a picture of empty carts, and when something is selected for purchase in the box side a picture of full cards.

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

    Default Re: Adding picture of shopping cart in side boxes

    So you don't want to show any pictures of products? You only want to show an "empty cart" picture or a "full cart" picture?
    Then you can use a test for empty/full cart and switch between images depending on the value of that.
    PHP Code:
    //show empty or full cart picture
    if($_SESSION['cart']->count_contents() > 0) {
      echo 
    '<img src="full_cart.gif" />';
    }else{
      echo 
    '<img src="empty_cart.gif" />';

    Put your image file/pathnames in those places, and add the code to whatever sidebox you choose. If you truly do not want any information beside the pictures, you can use the Blank Sidebox mod from Free Addons.

  10. #10
    Join Date
    Mar 2009
    Location
    Serbia
    Posts
    349
    Plugin Contributions
    0

    Default Re: Adding picture of shopping cart in side boxes

    Works great, thanks people.


    P.S. Where can I learn how to solve the problem of messages:

    Table 'C251393_zencart.products' doesn't exist

    Let the force is with you

 

 

Similar Threads

  1. v150 Left side boxes drop down on homepage & shopping cart?
    By spiggles87 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2013, 11:35 PM
  2. Adding Custom side boxes?
    By lupine73 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Oct 2007, 11:13 PM
  3. Getting rid of side boxes when shopping
    By shackle in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Jan 2007, 09:52 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