Page 1 of 2 12 LastLast
Results 1 to 10 of 741

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Printable Price list :: support thread

    Some more info about the price list I have written recently:

    The (Printable) Price List obviously is a price list that's mainly targeted at printing (obviously ;-) ) the information on paper. Another (non printing related) usage is that it adds quick links to all your products, which is handy for several purposes.

    It currently prints (sorted by category):

    * price inc tax
    * price ex tax
    * special price
    * category names
    * model nr.
    * manufacturer
    * weight
    * stock
    * two extra notes columns (empty, for adding written notes after printing)

    Most of which columns are optional. It has a basic sorting feature and opttions to show all categories or only one category at the time (the latter is better for speed and memory usage, with large stores).

    And more.... An example stylesheet is included for printing on A4 (should be easy to adapt to other formats).

    Most wanted (so the the features mentioned below are not implemented yet!) features are:

    * custom columns for additional data
    * products descriptions
    * products images
    * hide prices for non approved customers
    * show prices to the store owner only

    And more?

    (As said, I do not expect to have time for all this soon. But, if time permits, I do have some ideas on how to add some of the above features)

  2. #2
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Printable Price list :: support thread

    @tim and rnet:

    In general new columns are added by editting zen-cart\includes\modules\pages\pricelist\header_php.php . One of the columns added a while after the first release was the stock. The modifications that where needed for that are marked by "// stock by bmoroney", this can be used as an example on how to add more columns.

    Of course the sql file would need to be editted as well (to switch the new column on/off and set the sort order through admin).

    @tim: I think it would be nice to be able to dynamicly add the columns you want. That way adding even more, or other of those "empty columns", later on would be very easy. By dynamicly I mean adding a configuration file for example, which contains an array of column settings for column names, and sort order settings.
    Last edited by paulm; 17 Oct 2006 at 04:26 PM.

  3. #3
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Printable Price list :: support thread

    Version 1.2:

    1. Several minor code changes (trying to clean up a bit of the the old mess ;-) ).

    2. Removed the need to overwrite or edit the currencies class. (So no core code changes are needed anymore for this mod!)

    3. Merged several files into one. For easier layout edits (I hope). Header, footer and body all moved to pricelist/tpl_main_page.php

    4. Some small changes to the stylesheet (screen header, the printing css is unchanged)

    For now I will attach the zip to this thread. If more important changes are made, or features are added (hopefully soon), it will be uploaded to the Zen downloads section.
    Last edited by paulm; 8 Nov 2006 at 03:19 PM.

  4. #4
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Printable Price list :: support thread

    Quote Originally Posted by paulm View Post
    2. Removed the need to overwrite or edit the currencies class. (So no core code changes are needed anymore for this mod!)
    Oops, I just noticed I left in the currencies.php file. Better remove it form the zip before installing, or else do not overwrite your currencies.php file while installing.

    It won't break anything, but the idea was to not overwrite or edit any core file with this version :-)

  5. #5
    Join Date
    Apr 2005
    Location
    Wales
    Posts
    58
    Plugin Contributions
    0

    Default Re: Printable Price list :: support thread

    Great mod, thank you for making my life easier for postal customers!!

    One question - is there any way of removing the header logo from each page of the price list. It will save me about 5 pages on the pricelist if this is removed, and I don't really need it as all company info is on each page anyway...

    Thanks

    Sara
    Last edited by sajiepaj; 25 Oct 2006 at 02:15 PM. Reason: typo
    DIY Favour Boxes
    One Eyed Cat
    I've been Zenned - how come I still have to think?

  6. #6
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Printable Price list :: support thread

    Hi Sara,

    maybe I should add switches so that it will be possible to switch headers and footer on and off per listing profile?

    But for now you can edit YOUR_TEMPLATE/pricelist/tpl_main_page.php and remove the lines between (latest version only):
    Code:
    <!-- bof Price List page header -->
    and:
    Code:
    <!-- eof Price List page header -->

    *Or* you can add this to the stylesheet (all recent versions):
    Code:
    .headPL{
    display: none;
    }
    When adding the above CSS to YOUR_TEMPLATE/pricelist/stylesheet.css it wil be hidden from all lists, screen and print. It's also possible to add it to a specific stylesheet (like profile-a4-portrait.css for example), then it will only be hidden from that one (and if you put it between the *media print CSS the headers will only be hidden when printing)
    Last edited by paulm; 26 Oct 2006 at 12:47 PM.

  7. #7
    Join Date
    Apr 2005
    Location
    Wales
    Posts
    58
    Plugin Contributions
    0

    Default Re: Printable Price list :: support thread

    Thanks - the switch sounds like a good idea;-)

    But for now you can edit YOUR_TEMPLATE/pricelist/tpl_main_page.php and remove the lines between (latest version only):
    Code:
    <!-- bof Price List page header -->
    and:
    Code:
    <!-- eof Price List page header -->
    All I have in tpl_main_page.php is this:

    Code:
     $header_template = 'tpl_header.php';
      $footer_template = 'tpl_footer.php';
      $left_column_file = 'column_left.php';
      $right_column_file = 'column_right.php';
      $body_id = str_replace('_', '', $_GET['main_page']);
      
     // this file can be copied to /templates/your_template_dir/pagename
     // example: to override the privacy page
     // make a directory /templates/my_template/privacy
     // copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php
     // to override the global settings and turn off columns un-comment the lines below for the correct column to turn off
    
     // $flag_disable_left = true;
     // $flag_disable_right = true;
    ?>
    <body id="<?php echo $body_id; ?>">
    
    
    
    <?php require($body_code); ?>
    
    </body>
    so nothing to remove!

    I tried change the css file, which worked fine but didn't reduce the number of pages, rather just left a space at the bottom of each as big as the header used to be!

    Is there another tpl_main_page I missed!!

    Sara
    DIY Favour Boxes
    One Eyed Cat
    I've been Zenned - how come I still have to think?

  8. #8
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Printable Price list :: support thread

    Quote Originally Posted by paulm View Post
    Most wanted (so the the features mentioned below are not implemented yet!) features are:

    * custom columns for additional data
    * products descriptions
    * products images
    * hide prices for non approved customers
    * show prices to the store owner only

    And more?
    Yes Of course :-) how did you missed?
    All my products are listed with attributes and I can not see prices when listed
    Downunder QLD

  9. #9
    Join Date
    Sep 2012
    Posts
    42
    Plugin Contributions
    0

    Default Re: Printable Price list :: support thread

    I have been using this mod successfully for many years now. (Great Plugin!) I am busy testing the upgrade of my site to 1.5.5 and installed the latest upgrade of the mod. Everything was working fine until I installed the Responsive Sheffield Blue template. Now I cant get the link to the price list to show up in the footer anymore. (Everything looks to be set up correctly in the EZ pages menu). There is no mention of this problem in the template's support thread but I am guessing it has something to do with Flexible Footer?

    I have tried reinstalling the mod. Anyone else have this problem or can help with some suggestions?

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Printable Price list :: support thread

    Quote Originally Posted by Francois View Post
    I have been using this mod successfully for many years now. (Great Plugin!) I am busy testing the upgrade of my site to 1.5.5 and installed the latest upgrade of the mod. Everything was working fine until I installed the Responsive Sheffield Blue template. Now I cant get the link to the price list to show up in the footer anymore. (Everything looks to be set up correctly in the EZ pages menu). There is no mention of this problem in the template's support thread but I am guessing it has something to do with Flexible Footer?

    I have tried reinstalling the mod. Anyone else have this problem or can help with some suggestions?
    Since the price-list link was showing in the footer before you installed the template, I'll suggest that you post in that template's support-thread to see if someone more familiar with its inner-workings can help.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Printable Price List by Paulm
    By helshop in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 25 Jan 2007, 12:27 PM
  2. printable price list
    By sparxs in forum All Other Contributions/Addons
    Replies: 26
    Last Post: 1 Nov 2006, 03:18 PM
  3. printable price list
    By Alik in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Sep 2006, 03:35 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