If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Pricelist For Printing

Pricelist For Printing

Locked

Started by paulm on 8 Jun 2004, 10:44 PM · Views: 48,373

Results 221 to 240 of 326
This thread is locked. New replies are disabled.
8 Sep 2005, 1:57 PM
#221
paulm avatar

paulm

Totally Zenned

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

Pricelist For Printing

Just finished v1.05:

**
New in 1.05:

  1. fixed sort desc bug (before only sorting ascending worked)
  2. updated currencies.php file from zen v1.2.5 to v1.2.6
  3. updated tpl_categories.php example to v1.2.6
  4. Thanks to hareslade:

modded the code in function show_products to go get the correct product type (e.g. document...) handler so the price list product links show the correct style/ layout for the product in the cart when a price-list link is used.

  1. some other small changes (mainly preps for next version, and templates clean up) **

I hope it will be available at the downloads section soon.

8 Sep 2005, 10:32 PM
#222
paulm avatar

paulm

Totally Zenned

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

Re: Pricelist For Printing

paulm:

I hope it will be available at the downloads section soon.
Yep, it's there already, thanks Kim :)

12 Sep 2005, 5:54 AM
#223
andrewhearne avatar

andrewhearne

New Zenner

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

Re: Pricelist For Printing

Ok i'm getting

**Forbidden
You don't have permission to access /shop/includes/languages/english/pricelist.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. **

I want to be able to put on CD - would this be possible

Thanks

Andrew

12 Sep 2005, 5:58 AM
#224
andrewhearne avatar

andrewhearne

New Zenner

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

Re: Pricelist For Printing

Sorry now

Warning: main(includes/templates/template_default/templates/tpl_pricelist_default.php): failed to open stream: No such file or directory in /home2/andy2005/public_html/shop/includes/templates/template_default/common/tpl_main_page.php on line 74

Warning: main(includes/templates/template_default/templates/tpl_pricelist_default.php): failed to open stream: No such file or directory in /home2/andy2005/public_html/shop/includes/templates/template_default/common/tpl_main_page.php on line 74

Fatal error: main(): Failed opening required 'includes/templates/template_default/templates/tpl_pricelist_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/andy2005/public_html/shop/includes/templates/template_default/common/tpl_main_page.php on line 74

12 Sep 2005, 6:42 AM
#225
paulm avatar

paulm

Totally Zenned

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

Re: Pricelist For Printing

Hi Adrew,

it seems that you are using "template_default" as your template? Then the "YOUR_TEMPLATE" (directory inside the includes/templates dir in the pricelist zip) should be renamed to "template_default" before copying it to your shop. Did you do it that way?

Note that using template_default as your custom template directory is probably not the best choice, better create a new custom template directory, and make your changes to that custom template.

13 Sep 2005, 2:33 AM
#226
kiyuzg avatar

kiyuzg

New Zenner

Join Date:
Sep 2005
Posts:
1
Plugin Contributions:
0

Re: Pricelist For Printing

I have Pricelist 1.02 installed with ZC 1.2.6. we have 526 Items in our store and when I run the report, I get:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9928 bytes) in /var/www/industrialweb/giftbasketree/includes/classes/db/mysql/query_factory.php on line 66

I increased my maximum memory limit in my php.ini to 40MB and got the same, only with the higher limit; I increased it to 64 and it ran perfectly.

What is the issue here? Surely this shouldn't consume that much RAM. Most of our products are in two categories. Would that make a difference?

-Kiyu

13 Sep 2005, 9:23 PM
#227
paulm avatar

paulm

Totally Zenned

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

Re: Pricelist For Printing

Hi Kiyu,

that's weird. The price-list consumes quite a lot of memory, but I've seen shops listing up to several thousands of products without any memory problems. Ten thousends becomes seems about the limit for most shops if I recall well. But 526 products should not be a problem at all! Maybe it is a typical 1.2.6 + price-list problem, or something typical for your store, I really would not know at this moment.

There is a setting to show products by cat only, so not all products are displayed at once then, only the products of the selected cat. Not sure if it's usefull that way for you, but it saves memory and it's a lot faster that way too.

1.02 is an old version btw, could you try 1.05, I don't think it will help, but you never know :)

hth,
Paul

BTW: I just noticed the new version has the old description at the zen-cart downloads (but it is the new 1.05 file, so that's ok).

30 Sep 2005, 1:00 PM
#228
einnej avatar

einnej

New Zenner

Join Date:
Oct 2004
Posts:
60
Plugin Contributions:
0

Re: Pricelist For Printing

Hi! Might be a simple question and I'm sorry - not the best with SQL quite yet...

I followed the instructions to add teh SQL files and I'm getting the following error:

1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '1', '2', '3' ),' )' at line 1

Thanks for your help.

30 Sep 2005, 1:30 PM
#229
paulm avatar

paulm

Totally Zenned

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

Re: Pricelist For Printing

Hi einnej,

I don't know much about sql either, but I recentley installed the price-list again to test it on zen-cart v1.2.6 and I just copied and pasted the sql into the text box which appears under "Tools :: Intall SQL Patches" and everything works just fine here.
(using PHP4.3.11 and MySQL 4.1.9-log)

That's all I can say :)

30 Sep 2005, 1:31 PM
#230
mtm avatar

mtm

New Zenner

Join Date:
Sep 2004
Posts:
16
Plugin Contributions:
0

Re: Pricelist For Printing

Is there an easy way to implament this for admin use only?

I would like to use it for internal use and not have access for the customers.

30 Sep 2005, 1:47 PM
#231
paulm avatar

paulm

Totally Zenned

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

Re: Pricelist For Printing

Hi mtm,

coïncidentley I want exactly the same :D

Originally the price-list was online for our customers too. But that's not what I need/want anymore. A.o. because my current lists mainly are being used as inventory lists and include margins and such.

It should not be very difficult to make it an admin list, but I haven't looked into it yet. I hope to get to it soon...

Paul

30 Sep 2005, 4:18 PM
#232
mtm avatar

mtm

New Zenner

Join Date:
Sep 2004
Posts:
16
Plugin Contributions:
0

Re: Pricelist For Printing

Cool,

Let me know if you get around to doing it

Thanks
Mike

30 Sep 2005, 9:13 PM
#233
paulm avatar

paulm

Totally Zenned

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

Re: Pricelist For Printing

It might take some time because there are a lot more mods that I need to do. So if you (or anyone else) gets the admin version of this price-list working before I do, please let me know too :D

2 Nov 2005, 3:15 PM
#234
sean046 avatar

sean046

Inactive

Join Date:
Feb 2004
Posts:
42
Plugin Contributions:
1

Re: Pricelist For Printing

As my client uses this contrib purely for admin purposes, is there any way to add a column before the product name and show the product image where it exists, the default 'no-image' if it doesn't.

If it could, that would be wonderful - all my prayers answered.

Many, many thanks in advance, moreso if it can be done. By the way, I'm a complete novice at php, a pre-coded tpl_pricelist_default.php would be super. I'm sure I can persuade the client to make a financial contribution, give me a decent price and I'll confirm.

I'm aware of the extra loading time as there's > 1000 products. To reduce this, the hyperlink of the products name to the product details in the store can go, it's not needed. This would make it more of a catalogue, perfect.

2 Nov 2005, 4:17 PM
#235
paulm avatar

paulm

Totally Zenned

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

Re: Pricelist For Printing

Hi sean,

sean046:

I'm aware of the extra loading time as there's > 1000 products. To reduce this, the hyperlink of the products name to the product details in the store can go, it's not needed.maybe the admin version would be ok for your purposes. Allthough it certainly isn't perfect yet! I will do some basic testing and, if I think it works, send you the admin version link by pm.

And if you really can "persuade the client to make a financial contribution" (I do hope so) I think it should benefit zen-cart itself :)

btw the buttons link in your sig seems to be wrong, shouldn't it be :
http://www.rack04.org.uk/index.php?option=...id=24&Itemid=37
or something like that?

2 Nov 2005, 7:49 PM
#236
sean046 avatar

sean046

Inactive

Join Date:
Feb 2004
Posts:
42
Plugin Contributions:
1

Re: Pricelist For Printing

Perfect. For what is needed as long as it's all the products, stock #, price and the images (first) then perfect. I can save it as a flat web page and edit it as required by the customer... and if we get that done I'm sure I can squeeze $25 out of them, hopefully more.

I'll beta your admin version for you if you like.

Cheers.

Sean

2 Nov 2005, 9:35 PM
#237
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Pricelist For Printing

paulm, I forgot, I fixed an older version
of your price list to run by doing header first, rather than waiting for the whole page. It wasn't easy :)

Plus recently I realised one could make the list automatically
show only the particluar top category 'see a list' link clicked on in the catalogue menu, which makes everything quick if in a hurry

click on the 'see a list' links in the product categories
demo, .................

that means 'fixing' the 'see a list' link generation code properly so it sends the right top category querystring to your list page

but its an interesting idea
unfortunately i only did it for my weird categories box, its not a standard zencart one

2 Nov 2005, 10:48 PM
#238
paulm avatar

paulm

Totally Zenned

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

Re: Pricelist For Printing

@sean: I hope to get to it in a couple of days (but I allways say that so...). If you can multiply the donation 10x, and donate it to zen in advance, I will hurry :D

@hareslade: nice ideas, especially the "see a list" I like. Not for myself though, I don't really use the lists anymore (only for admin purposes now and then).

Another idea to make it a lot faster, if you need to list lots of products at once, would be to cache the results btw.

3 Nov 2005, 9:51 AM
#239
sean046 avatar

sean046

Inactive

Join Date:
Feb 2004
Posts:
42
Plugin Contributions:
1

Re: Pricelist For Printing

paulm:

@sean: I hope to get to it in a couple of days (but I allways say that so...). If you can multiply the donation 10x, and donate it to zen in advance, I will hurry :D
I wish. If I could squeeze that much out of my customers (small businesses) then I'd be rich (I wish).

Willing to wait for a few days - will try get more money... As with most customers, they'll pay for what they can see. I doubt that they'll pay for a 'it might work'. Mighty noble spirit donating to Zen, hats off to you.

Dank U.

19 Jan 2006, 6:40 PM
#240
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: Pricelist For Printing

Two questions:

  1. How do I check to see what version of the price list I am using?

  2. In Firefox and Netscape my logo.gif at the top of each page is enroaching into the text of the category. Yet in IE it looks ok.
    Is there a work-around for that?

Jacque
http://www.freshabundance.com

Just knowledgeable enough to be dangerous.