I did do that. Unless I have to put it somewhere else in my structure? I also replaced the word "zen-Cart" in the instructions with the word "shop".
Can I email you to continue with this? I'd prefer not posting some of the details of my shop online?
my email: office AT mccarthyhighland.com
Scratch that....works now. Quite nice! Very compact. Great job!
I forgot to copy the renamed folder up to the server.
Dohhh! Thanks for your help.
One issue though. Every second page printed is blank. The list continues uninterupted on the page after that. Why?
That is possible (by changing some lines of code). The only thing is that the categories that have subcats won't show products anymore then (the pricelist will just show the "no products found" message). So if you show the list to your customers that might confuse them.
@highlander2:
That happens when your available papersize height (height minus margins etc) is less than the height set in the stylesheet.Every second page printed is blank. The list continues uninterupted on the page after that. Why?
Maybe I will release another update soon which will add an admin configuration for the subcategories dropdown and ad admin configuration for the paper height setting.
The only real solution to the memory problems is to get a limited number of products of course. But I am am not sure if/when I will get to that (a total rewrite would probably the best solution, the way this currently works is a mess...).
In my case we don't want to show the pricelist to customers. We want to use it to generate a hard copy catalog to take to shows. My sub-cats should be small enough to avoid the memory problem.
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
Special xmas edition
I am a bit in a hurry, so it might have last minute bugs. Please try on a test shop first and backup before install (as always...).
Remove or overwrite the old YOUR_TEMPLATE/pricelist/ files when upgrading!######################################
# price-list v1.44 2007/12/20 #
######################################
1) Added "Printable page height setting" setting to admin
(Removed height setting from stylesheet file, added as in document style now depending on admin setting)
If every second page printed is blank this usually means you need to lower this value (depends on your paper size and margins etc).
2) Added "Category tree main cats only" feature setting
Depending on this setting the category dropdown will show main the cats only, or the whole category tree.
So now you can print all products in a main category + its subcats (like in older versions of the pricelist) OR all products in a subcategory.
3) Added "Specials" switch to admin
Now it's possible to switch of the Specials display. This will reduce the amount of queries dramaticly (4 queries per product less)
4) Added "Specials expiry" switch to admin
5) Added "Truncate descriptions" feature + admin config
+Lots of other changes
Last edited by paulm; 21 Apr 2008 at 09:00 AM.
woops, that should say: price-list v1.5.0 2007/12/20# price-list v1.44 2007/12/20 #
Thank you for the update on a great add-on.
Hi Folfs
Installed the mod
Can use the external link ie /shop/index.php?main_page=pricelist and it generates the price list.
However none of the configuration keys appear in Admin>Configuration.
Any clues?
Using
ZenCart 1.3.7
Mod 1.4.1
Thanks
Bookmarks