Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Oct 2006
    Posts
    10
    Plugin Contributions
    0

    How do I suppress product names in the Shopping Cart Sidebox?

    Probably a simple solution for this somewhere, but I haven't been able to find one that works ...

    I need to hide the product names in the Shopping Cart sidebox. This list gets very long sometimes with customers frequently adding up to 30 or 40 products to their carts.

    Is there a way to configure the cart to do that, only displaying the total fiscal amount and maybe the total number of items in the cart?

    Thanks for any help
    Last edited by trondos; 18 Oct 2006 at 01:54 PM. Reason: typo

  2. #2
    Join Date
    Oct 2006
    Location
    Maine
    Posts
    51
    Plugin Contributions
    0

    Default Re: How do I suppress product names in the Shopping Cart Sidebox?

    I was wondering if you got an answer to this (or figured it out yourself). I would like to do the same thing....

    Anyone know the answer?

  3. #3
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: How do I suppress product names in the Shopping Cart Sidebox?

    can you tell me in detail what you want

    what i mean:

    you do not want to display any product name in shopping cart side box.

    so what will remain in that box ?

    only total price?


    see do u want this?

    http://netclues.net/demo1/caytech/images/madad.jpg

  4. #4
    Join Date
    Oct 2006
    Location
    Maine
    Posts
    51
    Plugin Contributions
    0

    Default Re: How do I suppress product names in the Shopping Cart Sidebox?

    Hi Indian,

    I sent you an email. Yes, I want a cart similar to yours but showing total items. e.g 4 items, $27.99.

    Thanks,

    Amy

  5. #5
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: How do I suppress product names in the Shopping Cart Sidebox?

    ok

    it can be easily done

    you just send me the format you want.

    i need IMAGE .. in which way you wnat to disply. so i will make it

    make image in photo shop or ms paint.

  6. #6
    Join Date
    Oct 2006
    Location
    Maine
    Posts
    51
    Plugin Contributions
    0

    Default Re: How do I suppress product names in the Shopping Cart Sidebox?

    Hi Indian,

    Could you just tell me how you suppressed the items in your shopping cart? Is there something I need to turn OFF?

    Thanks,

    Amy

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: How do I suppress product names in the Shopping Cart Sidebox?

    You could also try out this download:
    http://www.zen-cart.com/index.php?ma...roducts_id=345
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Oct 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: How do I suppress product names in the Shopping Cart Sidebox?

    Hi, everyone.

    I sort of solved this - the "bad" way.

    I've edited the tpl_shopping_cart.php file. I know it's wrong, but I was desperate. I bypassed the loop traversing the $products. Adding only:

    [FONT="Courier New"]$content .= '<div id="cartBoxListWrapper"><ul><li>Contains ' . $_SESSION['cart']->count_contents() . ' item(s)' . '</li></ul></div>';[/FONT]

    But that's not right either: if I add an amount that's not an integer value, the cart adds that to the count. And that's not wat I want either, but I see that there is a post here with a possible download to fix it. I'm shecking that out...

  9. #9
    Join Date
    Oct 2006
    Location
    Maine
    Posts
    51
    Plugin Contributions
    0

    Default Re: How do I suppress product names in the Shopping Cart Sidebox?

    DrByte,

    Thanks for the link to the download! That is exactly what I was looking for. My only question now is how to make the sidebox shopping cart a link so my customers can view it and checkout.

    Thanks!

    Amy

  10. #10
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: How do I suppress product names in the Shopping Cart Sidebox?

    I suppose you could change the line in /includes/modules/sideboxes/cart_summary.php, line 26
    from this
    Code:
      $content = $totalsDisplay;
    to this:
    Code:
      $content = '<a href="' . zen_href_link(FILENAME_SHOPPING_CART) . '">' . $totalsDisplay . '</a>';
    This way when they click on the text explaining their cart contents, they'll be taken to the shopping-cart page.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 How to suppress New Products [more] left sidebox?
    By QuickBooksDev in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Dec 2015, 10:55 PM
  2. Replies: 1
    Last Post: 23 Jan 2010, 09:54 PM
  3. How to control the display of the shopping cart sidebox
    By ajhb in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Aug 2008, 05:45 AM
  4. How can I switch the positions of images and product names in the product list?
    By candylotus in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 6 Aug 2008, 03:41 AM
  5. Replies: 9
    Last Post: 23 Jan 2007, 10:38 AM

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