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

Printable Price list :: support thread

Views: 232,005

Results 241 to 260 of 739
14 Dec 2007, 02:38
#241
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Printable Price list :: support thread

paulm:

  1. How do I move the product image up so it is on the same row as the pricing to the right? Do you mean you don't know or you don't understand?

Sorry, but it meant that I did not have a quick answer (and not much time to look into it). Note that the images and descriptions were added as a quick hack only.

I tried looking for the id/class for the price list thumbnail image in tpl_main_page.php but with no luck. Any suggestion? :)

14 Dec 2007, 16:35
#242
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Re: Printable Price list :: support thread

I installed it as per the instructions but it doesn't work. One thing I did differently is that my site begins with Shop folder ...not ZenCart folder. I get several errors:

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

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

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 /home/mccarthy/public_html/shop/includes/templates/template_default/common/tpl_main_page.php on line 119

Any body know what I'm not doing correctly?

:dontgetit

14 Dec 2007, 19:30
#243
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

New install? Version?

14 Dec 2007, 22:18
#244
highlander2 avatar

highlander2

New Zenner

Join Date:
Oct 2007
Posts:
27
Plugin Contributions:
0

Re: Printable Price list :: support thread

New install of the module. Never been on there before. Have installed Canada post module, superorders module, & edit orders module successfully.
I run Zen-cart 1.3.7

My website is https://www.mccarthyhighland.com

15 Dec 2007, 06:17
#245
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Printable Price list :: support thread

/* hide all images in .imgDescrPL /
.imgDescrPL img {
display: none;
}
/
make .imgPL images visible again */
.imgDescrPL img.imgPL {
display: inline;
}

I still still trying to figure out where to put this code because it doesn't achieve what I want. If this can be done, I will then want to truncate description. I believe this can be done. Standard zencart can show list all products this way, i.e. no images in description and truncated description.

15 Dec 2007, 06:19
#246
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Printable Price list :: support thread

The following code might be useful to help us figure out how to make description truncated. It's taken from tpl_modules_products_all_listing.php. What do you think?

if (PRODUCT_ALL_LIST_DESCRIPTION != '0') {
        $disp_text = zen_get_products_description($products_all->fields['products_id']);
        $disp_text = zen_clean_html($disp_text);

        $display_products_description = stripslashes(zen_trunc_string($disp_text, 150, '<a href="' . zen_href_link(zen_get_info_page($products_all->fields['products_id']), 'products_id=' . $products_all->fields['products_id']) . '"> ' . MORE_INFO_TEXT . '</a>'));
      } else {
        $display_products_description = '';
      }
15 Dec 2007, 08:35
#247
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Printable Price list :: support thread

Success! :) :) :)

Managed to achieve what I want.

  • Display description without within images.
  • Display truncated description with more info link at the end.
  • Hyperlink thumbnail product image.

There is one more thing I would like to do...
Is it possible to show subcategories in the dropdown menu?

15 Dec 2007, 08:59
#248
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

highlander2:

I run Zen-cart 1.3.7Sorry, I meant: pricelist module version?

15 Dec 2007, 16:10
#249
highlander2 avatar

highlander2

New Zenner

Join Date:
Oct 2007
Posts:
27
Plugin Contributions:
0

Re: Printable Price list :: support thread

Sorry.

1.4.1

15 Dec 2007, 17:38
#250
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: Printable Price list :: support thread

There is one more thing I would like to do...
Is it possible to show subcategories in the dropdown menu?

This is what I would like to figure out. Having the ability to populate the dropdown with the sub-cats would make this mod useful for me. My top-cats are so large I run into the memory problem

15 Dec 2007, 22:15
#251
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

highlander:

Warning: main(includes/templates/template_default/templates/tpl_pricelist_default.php): failed to open stream: No such file or directory in /home/mccarthy/public_html/shop/includes/templates/template_default/common/tpl_main_page.php on line 119I think you missed this:
readme.txt:

  1. Rename the YOUR_TEMPLATE directory inside the zen-cart directory (inside the price-list zip file you downloaded) to the name of your custom over ride template.
16 Dec 2007, 18:42
#252
highlander2 avatar

highlander2

New Zenner

Join Date:
Oct 2007
Posts:
27
Plugin Contributions:
0

Re: Printable Price list :: support thread

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

16 Dec 2007, 19:05
#253
highlander2 avatar

highlander2

New Zenner

Join Date:
Oct 2007
Posts:
27
Plugin Contributions:
0

Re: Printable Price list :: support thread

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?

19 Dec 2007, 22:22
#254
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

dealbyethan.com:

There is one more thing I would like to do...
Is it possible to show subcategories in the dropdown menu?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:

Every second page printed is blank. The list continues uninterupted on the page after that. Why?That happens when your available papersize height (height minus margins etc) is less than the height set in the stylesheet.

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...).

20 Dec 2007, 04:14
#255
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: Printable Price list :: support thread

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.

20 Dec 2007, 14:10
#256
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

Special xmas edition :smartalec:

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...).

######################################

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

Remove or overwrite the old YOUR_TEMPLATE/pricelist/ files when upgrading!

20 Dec 2007, 14:45
#257
paulm avatar

paulm

Totally Zenned

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

Re: Printable Price list :: support thread

price-list v1.44 2007/12/20 #woops, that should say: price-list v1.5.0 2007/12/20

03 Jan 2008, 22:35
#258
tacoma avatar

tacoma

Zen Follower

Join Date:
Dec 2007
Posts:
125
Plugin Contributions:
0

Re: Printable Price list :: support thread

Thank you for the update on a great add-on.

09 Jan 2008, 18:11
#259
ekles avatar

ekles

New Zenner

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

Re: Printable Price list :: support thread

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

14 Jan 2008, 16:48
#260
ekles avatar

ekles

New Zenner

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

Re: Printable Price list :: support thread

ekles:

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

Okay my fault here. My Admin profiler had a small glitch - now fixed