Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Nov 2003
    Location
    Haarlem | Netherlands
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: printable price list

    Is there a way to add an image to the list ?
    That is not difficult, but it takes time....

    The amount of time it takes also depends on how well it should be implemented. The main problem with the images is that everyone may use different sizes, so it will easily get messy. There are several ways to solve this problem of course.

  2. #12
    Join Date
    Nov 2003
    Location
    Haarlem | Netherlands
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: printable price list

    I got a question too this time

    I was wondering if some who knows more about sql than me, reads this thread (and I know almost nothing about sql so .....).

    The current version gets the info from the database like this:
    Code:
        $query = 'SELECT p.products_id, p.products_quantity, p.products_model, p.products_price, p.products_status, p.products_tax_class_id, p.manufacturers_id, pd.products_name, pc.categories_id, p.products_weight ';
    Maybe it is smarter to do it like:
    Code:
        $query = 'SELECT * ';
    to improve the speed. But I am not sure if it really would help, and I am afraid it will increase the memory usage

    If it does not make much difference for the speed, it might be wise to change it to reduce the number of fields that are read from the database (= only query the fields that are enabled to show).

    Also several other improvements on the same matter might be possible.

  3. #13
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: printable price list

    Quote Originally Posted by paulm View Post
    That is not difficult, but it takes time....

    The amount of time it takes also depends on how well it should be implemented. The main problem with the images is that everyone may use different sizes, so it will easily get messy. There are several ways to solve this problem of course.
    Hi Paulm - Thanks for the great module, it really has been a life-saver for me.
    I too, however, badly need to add photos to the pricelist. Would you be willing to give some specifics as to what one must do? I'm not the person to take on this task by any stetch of the imagination, believe me, but would be willing to try, depending on the level of difficulty.

    Thanks so much - Tim

  4. #14
    Join Date
    Jan 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: printable price list



    As you can see i have added the image colums on the price list, however im stuck because it is not showing the product image. Im using:

    Code:
    $prodRow .= '<td class="modPL"><div>' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_id'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT) . '</div></td>' . '<td class="prdPL"><div><a href="' . zen_href_link($handler_page, 'products_id=' . $products_id) . '" target="_blank">' . $cats[$cat_index][$prod_index]['products_name'] . '</a></div></td>' . "\n";
    Any ideas anyone?

  5. #15
    Join Date
    Nov 2003
    Location
    Haarlem | Netherlands
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: printable price list

    Did you add the products_image to the query as well? You can also use * to get all products info.

    I am working on a new version, but I am alo working on a thousands of other things ..... (one of which is trying to make some money ;-) ). Maybe I will upload the a beta soon, it includes images and products descriptions, I only would like to improve it before "official" release, and make it easyer to fit the printed pages.

  6. #16
    Join Date
    Jan 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: printable price list

    i have:

    $query = 'SELECT p.products_id, p.products_quantity, p.products_model, p.products_price, p.products_status, p.products_tax_class_id, p.manufacturers_id,

    pd.products_name, pc.categories_id, p.products_weight, p.products_image';

  7. #17
    Join Date
    Nov 2003
    Location
    Haarlem | Netherlands
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: printable price list

    BTW, I have setup a support thread here:
    http://www.zen-cart.com/forum/showth...332#post283332

    The latest version in that thread lets you install the price list without the need to edit any core file (previous versions required editting, or replacing, the currencies.php class)

  8. #18
    Join Date
    Jan 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: printable price list

    I just need to get this working for a client other wise i would wait for the beta

  9. #19
    Join Date
    Nov 2003
    Location
    Haarlem | Netherlands
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: printable price list

    I think you need pd.products_image i.s.o. p.products_image

    (edit: pd is the products description table here)

  10. #20
    Join Date
    Jan 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: printable price list

    i now get: Unknown column 'pd.products_image' in 'field list'

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Printable Price List Problem
    By misty16 in forum General Questions
    Replies: 0
    Last Post: 15 Apr 2008, 04:33 AM
  2. Printable Price List by Paulm
    By helshop in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 25 Jan 2007, 12:27 PM
  3. printable price list
    By Alik in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Sep 2006, 03:35 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