Forums / All Other Contributions/Addons / Printable Price list :: support thread

Printable Price list :: support thread

Views: 232,325

Results 21 to 40 of 739
24 Nov 2006, 5:40 PM
#21
meltdown avatar

meltdown

Totally Zenned

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

Printable Price list :: support thread

Hi Paul - Concerning 1.3-pre2: You mentioned unfinished code to show products images and desciptions. Will this version show images? (Using it at my own risk, of course)

Thanks

24 Nov 2006, 7:46 PM
#22
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

MeltDown:

Hi Paul - Concerning 1.3-pre2: You mentioned unfinished code to show products images and desciptions. Will this version show images?Yep it will :-)

24 Nov 2006, 8:12 PM
#23
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

in extra_configures/ there is a pricelist.php file that contains some settings for the images/decriptions:

define('PL_IMGDESC_EXTRALINES', 5);

// can not use IMAGE_PRODUCT_LISTING_HEIGHT and IMAGE_PRODUCT_LISTING_WIDTH since these are not yet defined here (?)
define('PL_IMAGE_PRODUCT_HEIGHT', '80');
define('PL_IMAGE_PRODUCT_WIDTH', '100');
```PL_IMGDESC_EXTRALINES is a correction for the amount of space the images/decriptions take (to correct the "line counter" which determines when the page is full).

(and the "// can not use.... " remark can be ignored, not sure why I added it, the image size settings seem to work fine after all)
25 Nov 2006, 12:59 PM
#24
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Printable Price list :: support thread

paulm:

It's a configuration file setting in 1.3-pre2 (it switches both the logo and text on each page on/off, maybe separate switches should be added for the logo and text)...

About the documentation: sorry, but don't expect to much on that part. It consumes lots of time for me to write docs, and it certainly is not my favorite way to pass the time ;-)

Hey Paul,

Thanks for the note on commenting out the NAVBAR_TITLE define. Wondering why I could not figure that out myself. Doh! ;-)

Regarding the define file, where is "%s" variable called from?
For example in:
define('TEXT_PL_HEADER_TITLE', '%s Printable Price List');

Yes I vote for separate switches on displaying logo and text. But not a big priority. I can easily manually edit out the logo/text myself if needed.

And your documentation is very thorough. I was just inquiring if any special points to be aware of in v.1.23, if any significant differences from the readme v.1.20. But I suspect all the info I need to read is in the readme history and this support thread.

I like the idea of being able to toggle on product images and/or product descriptions, if needed. I will sit still and play with your v.1.23 for awhile and wait for reports to come in on 1.30pre2.

Checking out the archive support thread I can now see you have been working on this mod for awhile! Cool!

Thanks again,

Woody

25 Nov 2006, 1:21 PM
#25
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Printable Price list :: support thread

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

  • custom columns for additional data
  • hide prices for non approved customers
  • show prices to the store owner only

And more?

Some more questions/ideas...

Is therea recommended method to control access to the pricelist page to logged in users only?

And have the pricelist link show up in info sidebox (and elsewhere) for logged in customers only?

Or have the pricelist link show up for everyone, including in the shop sitemap. But if pricelist link is clicked while not logged in then make the browser redirect to login/create account page, and after logging in, redirect to the price list page.

Woody

25 Nov 2006, 2:31 PM
#26
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 :: support thread

Woodymon:

Yes I vote for separate switches on displaying logo and text. But not a big priority. I can easily manually edit out the logo/text myself if needed.

Woody

Paul, Thanks SO MUCH for adding photos to the Pricelist. It is a fantastic module!

Paul / woodymon - concerning manually editing-out the text: How would I do that?

Thanks!

Tim

26 Nov 2006, 8:02 AM
#27
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 :: support thread

MeltDown:

Paul / woodymon - concerning manually editing-out the text: How would I do that?

Thanks!

Tim

To Clarify - If I set the "define('PL_IMGDESC_EXTRALINES'," to 0 I still have quite a bit of text being displayed. is it possible to have just have the settings from the original Pricelist (product link, model, qnty, price) and a photo?

Thanks

Tim

26 Nov 2006, 9:57 AM
#28
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

Not much time now and I will get back to some other things later, but PL_IMGDESC_EXTRALINES is just a correction for the line/row counter that determines when a new page has to start. Normally on a page would fit 30 lines/rows for example, but when lines/rows are added to show images and/or descriptions these will take up more space than "normal" lines/rows. So if your images take the space of 5 lines for example the PL_IMGDESC_EXTRALINES has to be set to 5 (and then the price list script should start a new page just before the page is full).

Depending on the amount of other data you want to print (and how much space it takes) it might be smarter (save some space) to "float" the image left or right to the other data. But that is not how it's curently programmed.

And printed images will always take up more space than a singel row of product data, won't they?

23 Dec 2006, 1:54 PM
#29
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Printable Price list :: support thread

This is great module!Can someone guide me how to add wholesale prices to this module?At this time,it just can print retail prices .

Thanks for help,

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

2 Jan 2007, 2:02 PM
#30
crabacle avatar

crabacle

New Zenner

Join Date:
Apr 2005
Posts:
26
Plugin Contributions:
0

Re: Printable Price list :: support thread

This a great module. - Many Thanks.

Just a few queries though for the stupid like me!

Can anybody please explain what the various CSS entries actually amend (ie which elements of the print/display they refer to)?

When mine prints off I get truncation of the product description for some products.

How can I make the box 'grow' to fit a large description please?

Also I have had to cut out the 'Model' field to fit in large product names. - Again I need the fields to 'grow' where necessary.

Any help please would be much appreciated?

PS - getting tios out to an RTF file would be a complete bonus!

Thanks

4 Jan 2007, 11:08 AM
#31
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

@kimson: I sent you a PM.

@crabacle: I must addmit the css classnames do not make much sense, at some point I decided to abbreviate the classnames as much as possible, which was a bad idea.

But finding out what CSS classes and id's are for is not something which is typical for this pricelist contribution. (In general) you just need to look at the html source what the available classes and id's are, and then look in the stylesheet if and how they are being used and then add/edit to the stylesheet whatever you need.

If I remember well I added some comments to the stylesheet. It's a long time ago I wrote that, so I am not sure how extensive these comments are, but it might help a little.

20 Jan 2007, 7:38 AM
#32
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Printable Price list :: support thread

So its been a while since you posted the 1.3-pre release with WARNING... and no comments, so I am guessing (and crossing fingers) that it works as intended... and about to install... if you don't find me on your dorr screaming then it worked perfectly :-) :lol:

20 Jan 2007, 7:55 AM
#33
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Printable Price list :: support thread

SUCCESS! it worked flawlessly over version 1.08. I didn't even replace the SQL... going to do that next. I do wonder if there is a "profile" in there to show the reduced version as well.. I can see needing that on occasion, although the "Boss" loves the new one.. so I hope I don't mess it up.

BTW, I also just upgraded ZC to 1.3.7 today as well

22 Jan 2007, 12:49 AM
#34
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Printable Price list :: support thread

So only comments I have are...

  1. If done with EZ Pages and you ask it to open in NEW PAGE,it adds a query param to the link which causes the pricelist not to operate for some reason. Not sure if this is a problem with EZPages, PriceList or ZenCart, but works fin if a specific page is specified.
<li><a href="http://www.totalgarage.ca/products/index.php?main_page=pricelist?target=&quot;_blank" target="_blank">Price List</a></li>
<li><a href="http://www.totalgarage.ca/products/rss2.php?target=&quot;_blank" target="_blank">RSS2 Feed</a></li>

above is an example where it works for RSS2. but not for price list.

And is there a way to configure it (query params even) that allow the older minimalistic version to show?

23 Jan 2007, 8:48 AM
#37
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

On the minimalistic version... is there a toggle to show that?Sorry, I don't understand. A toggle to show what?

23 Jan 2007, 4:36 PM
#38
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Printable Price list :: support thread

I like the new detailed price list with the images and descriptions... but I also liked the old one that was a more minimalistic view. Is there a way to add a query parameter to select which one is shown?

23 Jan 2007, 6:43 PM
#39
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

quentinjs:

I like the new detailed price list with the images and descriptions... but I also liked the old one that was a more minimalistic view. Is there a way to add a query parameter to select which one is shown?:blush: I think that was one of the reasons it was not ready for an "official" release...... I added the (more or less) unfinished code for images and descriptions, and made preparations to add on/off switches, but it looks like I did not get to adding any switch at all :shocking:

I will probably update soon to add those switches :-)

23 Jan 2007, 8:00 PM
#40
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Printable Price list :: support thread

That easily happens, you start on something get distracted with another aspect of it, then the next thing you know life over takes you and when you go back you remember the las stuff you were doing, but forget what you had been doing before that. I have had that happen way to many times as of late.