Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2007
    Posts
    328
    Plugin Contributions
    0

    Default Number of thumbnails on packing slip

    How can I change how many thumbnails of the product images there should be on the packing slip / invoice?
    For example if the customer purchase 2 products then it is okay with 2 product thumbnails on the packing slip, but if the customer purchase 10 products then there should only the product description and no product images.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Number of thumbnails on packing slip

    Quote Originally Posted by DML73 View Post
    How can I change how many thumbnails of the product images there should be on the packing slip / invoice?
    For example if the customer purchase 2 products then it is okay with 2 product thumbnails on the packing slip, but if the customer purchase 10 products then there should only the product description and no product images.
    I can't remember off the top of my head which routine actually generates the packslip/invoice though I believe the files are called packing_slip.php and invoice.php respectively. Inside of there, where ever the. Image is to be displayed, would need to compare the total number of cart items to your magical number and if there are more items in the cart than your magic number not to display the image. Would suggest that this number be a value set in your database so that it could be easily modified rather than lost in the code somewhere. There are fields associated with $cart that can be used for this comparison, but I don't have easy access to the code at the moment to advise.

    The developer's tool kit found in the admin tools section will help if you have an idea of what you are searching for (like "packing slip") which may get you to a define, then follow the all cap word to the function/program area that uses that defined variable, etc.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v139g Not show Model number on packing slip?
    By xandros2000 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 May 2013, 06:20 PM
  2. Include Total Number of Items Purchased in Packing Slip
    By maineiac13 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 1 Feb 2011, 05:15 PM
  3. Order number barcode on packing slip
    By harry2cool in forum General Questions
    Replies: 0
    Last Post: 12 Sep 2008, 08:04 PM
  4. packing slip
    By bean_2k1 in forum Managing Customers and Orders
    Replies: 5
    Last Post: 20 Mar 2008, 09:27 AM
  5. Packing Slip to Dropship Slip
    By PaintBall in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 28 Oct 2007, 12:10 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