Zen Cart Logo
Forums / All Other Contributions/Addons / printable price list

printable price list

Locked

Views: 14,408

Results 1 to 20 of 27
This thread is locked. New replies are disabled.
17 May 2006, 12:27 PM
#1
sparxs avatar

sparxs

New Zenner

Join Date:
Jan 2006
Posts:
37
Plugin Contributions:
0

printable price list

Ok ..so this is a strange place to be putting this but I cant work out how to add replies to existing threads e.g. about printable pricelist contrib.

So here goes for those intersted and those who tried to install that contrib and failed like I did.

I found through another zenner a lady that can sork miracles with code and presto!!!

It works!!

If you want her name you best email me at [email protected] and I'll pass on your request.

Graeme

17 May 2006, 2:20 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,607
Plugin Contributions:
0

Re: printable price list

You can .zip the contrib and attach it to your post and make it easier for all to access it.

(you could not answer those posts because they are locked and archived)

19 May 2006, 2:53 AM
#3
sparxs avatar

sparxs

New Zenner

Join Date:
Jan 2006
Posts:
37
Plugin Contributions:
0

Re: printable price list

Thanks Kim

I'd zip etc if I could but that would mean copying each and every part incl sql ...that last bit is beyond me LOL

Her comment was that it was quite a mess and too much to expalin...mind you it took her just one hour to fix ...like WOW

Anyway if anybody wants her email address let me know.

Graeme

20 Jul 2006, 8:58 PM
#4
dgwyn avatar

dgwyn

New Zenner

Join Date:
Nov 2005
Posts:
18
Plugin Contributions:
0

Re: printable price list

Does anyone have style sheets for printing the price list on US 8.5" x 11" paper?

23 Jul 2006, 4:57 PM
#5
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: printable price list

If you rather show a full section on your shop the price list or printable catelog you can download v2.0 price list here

Just make sure you use caution when installing due to core file editing.

You can see it in action here

8 Sep 2006, 1:58 PM
#6
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: printable price list

Is there a way to add an image to the list ?
it would be nice to see an image next to each product.

4 Oct 2006, 10:57 PM
#7
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: printable price list

Alik:

Is there a way to add an image to the list ?
it would be nice to see an image next to each product.
anyone ?

....
..
.

5 Oct 2006, 1:14 AM
#8
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Re: printable price list

Is there a way to add an image to the list ?
Look at knuckle's post -- it looks like you can add an image in pricelist v2.

5 Oct 2006, 9:06 AM
#9
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: printable price list

knuckle-101:

If you rather show a full section on your shop the price list or printable catelog you can download v2.0 price list
That one has been removed on my request. I downloaded it a while ago and it appeared to be based on an somewhat older version of the pricelist which did not include some fixes for 1.3.x.

Not sure how it got there, but somebody took an older 1.x version, editted the readme (removing the version history and credits to several helpfull coders :wacko: :blink: ) and then uploaded it as version price-list_v2.0 ;-)

5 Oct 2006, 9:36 AM
#10
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: printable price list

dgwyn:

Does anyone have style sheets for printing the price list on US 8.5" x 11" paper?Not sure if it still matters, but the main change would be to edit the stylsheet and change:

.pagePL, #pageOnePL, .pageOnePL
{
height: 25.5cm;
/* overflow: hidden; */
}

To this for example

.pagePL, #pageOnePL, .pageOnePL
{
height: 8inch;
/* overflow: hidden; */
}
```Or in cm if inch does not work, I think inch will work just fine, but I never use inches myself... Of course the exact setting depends on your margins etcetera.

Besides that you may want to tweak the width settings a little (in the same stylesheet) and/or what columns to print (admin).
5 Oct 2006, 9:42 AM
#11
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

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.

5 Oct 2006, 9:54 AM
#12
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: printable price list

I got a question too this time :P

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:

    $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:

    $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 :unsure:

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.

13 Oct 2006, 5:08 PM
#13
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: printable price list

paulm:

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

1 Nov 2006, 11:47 AM
#14
connexhosting avatar

connexhosting

New Zenner

Join Date:
Jan 2006
Posts:
17
Plugin Contributions:
0

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:

$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?

1 Nov 2006, 12:06 PM
#15
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

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.

1 Nov 2006, 12:09 PM
#16
connexhosting avatar

connexhosting

New Zenner

Join Date:
Jan 2006
Posts:
17
Plugin Contributions:
0

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';

1 Nov 2006, 12:10 PM
#17
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: printable price list

BTW, I have setup a support thread here:
http://www.zen-cart.com/forum/showthread.php?p=283332#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)

1 Nov 2006, 12:13 PM
#18
connexhosting avatar

connexhosting

New Zenner

Join Date:
Jan 2006
Posts:
17
Plugin Contributions:
0

Re: printable price list

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

1 Nov 2006, 12:17 PM
#19
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

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)

1 Nov 2006, 12:22 PM
#20
connexhosting avatar

connexhosting

New Zenner

Join Date:
Jan 2006
Posts:
17
Plugin Contributions:
0

Re: printable price list

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