Results 1 to 3 of 3
  1. #1
    Join Date
    May 2007
    Location
    Virginia, USA
    Posts
    101
    Plugin Contributions
    0

    image problem Attribute Image in Shopping Cart - How?

    Hello Everyone! I have a product that comes in multiple colors. The attributes show a small picture of the product in each color (not color swatches but actual photos of the product in that color).

    When someone selects the attribute (colors) they want and puts the product in the shopping cart, the main product image is shown, which is not likely to be the color they selected (there are over 40 colors).

    I have looked for how to add images to the attribute in the shopping cart but cannot find a workable solution.

    This is very confusing to the customer who, for example, knows they put a purple product in the shopping cart but the picture is showing green.

    Can you help me with a snippet of code that will make the selected attribute image show in the shopping cart? It would need to show the attribute image for each color they buy, so if someone buys three of the product - one in red, one in green and one in yellow - each attribute listed in the shopping cart should have the appropriate photo next to it in the shopping cart.

    I'm hoping it is something as simple as a snippet of code to be inserted on the shopping cart page, or that's it's something someone can give me instructions for doing.

    Thanks for anything you can share.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: Attribute Image in Shopping Cart - How?

    It's an older posting, so you need to take the line numbers with a grain of salt: http://www.zen-cart.com/showthread.p...hopping%20cart

  3. #3
    Join Date
    May 2007
    Location
    Virginia, USA
    Posts
    101
    Plugin Contributions
    0

    Default Re: Attribute Image in Shopping Cart - How?

    Thanks!

    Here is what I did:


    • Go to /includes/templates/YOUR-TEMPLATE-NAME/css/stylesheet.css
    • Use the search feature to find “popupShippingEstimator”
    • Add “background-image: none;”


    Worked perfectly, plus it removed the background image from all the popups (because all of them were listed on the same row as "popupShippingEstimator", so the instruction I added effected them all).

 

 

Similar Threads

  1. how to show attribute image on Shopping Cart page?
    By Player in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 14 Jul 2010, 07:08 AM
  2. Shopping cart image & shopping cart to appear all the time
    By 4dw in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Nov 2009, 09:44 AM
  3. Shopping Cart - how to not show product image
    By richter in forum Basic Configuration
    Replies: 2
    Last Post: 11 Jul 2007, 06:02 PM
  4. Attribute image in the shopping cart overview
    By mikajlo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Oct 2006, 10:24 PM

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