Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2010
    Posts
    33
    Plugin Contributions
    0

    Default Picture in shopping cart instead of text

    Hi to all hope ive put this in the right section, wonder if anyone knows if this can be done, instead of having the name of the product thats been added to your shopping cart, if this could be changed to a small picture of the item, perhaps the price of the goods next to the picture.

    Any help would be greatly apprciated

    Thanks Dean

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Picture in shopping cart instead of text

    On the page in question - what is the address in your browser bar?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: Picture in shopping cart instead of text

    Hi ya

    Its the actual (added) to shopping cart on the main page, when you add an item to your shopping cart/trolley it displays in the cart the item name of what your have brought.

    Ive attached 2 pictures below the pink one is of the new zencart site iam working on which shows text description in the shopping cart.

    The other picture the blue one is a live webshop i run selling underwear which is xcart, but in this picture you can see i have pictures with the price next to it.

    This is what iam trying to acheive if its possable

    Many thanks Dean
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	simplypierced.jpg 
Views:	136 
Size:	13.1 KB 
ID:	7133   Click image for larger version. 

Name:	othershop.jpg 
Views:	139 
Size:	10.9 KB 
ID:	7134  

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Picture in shopping cart instead of text

    Use the override system and look at the /sidebox file tpl_shopping_cart.php for
    Code:
    $content .= $products[$i]['name'] . '</span></a></li>' . "\n";
    Replace 'name' with the record name for the image -
    You will have to look at the table to get the precise name to insert
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: Picture in shopping cart instead of text

    Thanks for your help hmmmmmmmmm this looks a little to much for someone like me, i know a little bit but still learning zencart.

    Think i may have to pay someone who knows what their doing to sort this out.

    Thanks alot for your help
    Dean

  6. #6
    Join Date
    Feb 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: Picture in shopping cart instead of text

    Iam back right i found the correct tpl file just not sure know how to find the images name,,, also table ???

    Many thanks again

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Picture in shopping cart instead of text

    just not sure know how to find the images name,,, also table ???
    Use phpmyadmin or equivalent to browse you database and I suspect the
    "product" table structure
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Feb 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: Picture in shopping cart instead of text

    No iam lost know in this code

    $content .= $products[$i]['name'] . '</span></a></li>' . "\n";

    Were it says ['name'] wouldn't i need to put some other code in there
    so it calls for the image id what has been added to the cart.

    Alittle over my head now.... lol

 

 

Similar Threads

  1. Adding picture of shopping cart in side boxes
    By kobra8 in forum Addon Sideboxes
    Replies: 9
    Last Post: 20 Nov 2009, 12:38 PM
  2. Replies: 8
    Last Post: 13 Apr 2009, 04:29 AM
  3. placing picture in shopping cart box - how to?
    By stephenn in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Dec 2008, 06:27 PM
  4. Step 3 takes me to shopping cart instead of google checkout
    By BigToe in forum Addon Payment Modules
    Replies: 6
    Last Post: 9 Jul 2008, 08:56 PM
  5. Attributes in Shopping Cart instead?
    By inspiration100 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 Jun 2007, 06:39 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