Author Topic: View/Print a complete Price List  (Read 270837 times)

ruudjonk

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 106
Re: View/Print a complete Price List
« Reply #90 on: February 04, 2008, 00:00:56 am »
Hey thanks for this, this is very handy :), Hopefully someone could add the picture and quanity option for this :)


Pisu

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: View/Print a complete Price List
« Reply #91 on: February 08, 2008, 09:54:06 am »
Great!

Here is Slovenian Translation.  (Slovenian NOT Slovak!)

Siclaw
Thanks, package updated with your translation!
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

Andrew

  • Beginner
  • *
  • Posts: 1
Re: View/Print a complete Price List
« Reply #92 on: February 12, 2008, 05:16:52 am »
on the first page you say to put this into the root of the website, what exactly do you mean by that?  If i'm running joomla, and put the administrator folder into the root of my site it would break everything.  I tried to copy the files that were in each folder and place them in their respective folders under com_virtuemart, but i'm still not getting this to work.  Can you give a little more direction on installation of this?  Thanks,

Fragrancer

  • Beginner
  • *
  • Posts: 6
Re: View/Print a complete Price List
« Reply #93 on: February 13, 2008, 01:05:49 am »
Any ideas how to show p product`s with product_in_stock 0 ? ....

Pisu

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: View/Print a complete Price List
« Reply #94 on: February 14, 2008, 19:35:01 pm »
on the first page you say to put this into the root of the website, what exactly do you mean by that?  If i'm running joomla, and put the administrator folder into the root of my site it would break everything.  I tried to copy the files that were in each folder and place them in their respective folders under com_virtuemart, but i'm still not getting this to work.  Can you give a little more direction on installation of this?  Thanks,
In the package, you will find the "administrator" folder; you can place this in you Joomla root (where you already find folder "administrator") ; you will not overwrite files, because all files in packages are new.
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

NickyV

  • Beginner
  • *
  • Posts: 46
    • WebSolutionZ
Re: View/Print a complete Price List
« Reply #95 on: February 15, 2008, 09:42:34 am »
Can this be modified easily to show product images?
This is a little harder, but can be done creating IMG tags, with the correct src attribute, made in similar way as in shop.browse.php page:

Code: [Select]
314          if( $product_thumb_image ) {
 315              if( substr( $product_thumb_image, 0, 4) != "http" ) {
 316                  if(PSHOP_IMG_RESIZE_ENABLE == '1') {
 317                      $product_thumb_image = $mosConfig_live_site."/components/com_virtuemart/show_image_in_imgtag.php?filename=".urlencode($product_thumb_image)."&newxsize=".PSHOP_IMG_WIDTH."&newysize=".PSHOP_IMG_HEIGHT."&fileout=";
 318                  }
 319                  else {
 320                      if( file_exists( IMAGEPATH."product/".$product_thumb_image )) {
 321                          $product_thumb_image = IMAGEURL."product/".$product_thumb_image;
 322                      }
 323                      else {
 324                          $product_thumb_image = IMAGEURL.NO_IMAGE;
 325                      }
 326                  }
 327              }
 328          }
 329          else {
 330              $product_thumb_image = IMAGEURL.NO_IMAGE;
 331          }

The $product_thumb_image variable can be took from database: $dbp->f($product_thumb_image).
[/quote]

Hi, I tried to do this and managed to get a PDF with a new column, but instead of the actual image it had the image name. If you have a moment could you please post the right code - I don't really know enough about PHP to write this myself! Thanks in advance :>
Cheers,
Nicky

ciprianrpp

  • Beginner
  • *
  • Posts: 15
Re: View/Print a complete Price List
« Reply #96 on: February 20, 2008, 22:10:14 pm »
great stuff, thank you!

MacAcer

  • Beginner
  • *
  • Posts: 34
Re: View/Print a complete Price List
« Reply #97 on: February 23, 2008, 16:41:05 pm »
This is a great add-on!  :D

I only seem to have one slightly disturbing issue, which I don't quite understand how to deal with.
The language file is just right and it looks all good in the PDF and when listed on the site, but the short info for the links; View, Print and Download PDF don't seem to read the characters right. I can't get the characters Å, Ä and Ö to display properly on that first page (/index.php?option=com_virtuemart&page=shop.pricelist) instead I get "Ã¥", "ä" and "ö".

Does anyone know why this might occur and how to set it right?

Your help would be much appreciated!

hamouda

  • Beginner
  • *
  • Posts: 18
Re: View/Print a complete Price List
« Reply #98 on: February 26, 2008, 15:23:20 pm »
Hello

I ve tested This in a standard joomla 1.0.4& VM1.0.4 It work perfectly
but when I make the exact thing in site with the same component it give me a blank result
Some idea please
Thanks

NickyV

  • Beginner
  • *
  • Posts: 46
    • WebSolutionZ
Re: View/Print a complete Price List
« Reply #99 on: February 26, 2008, 23:59:33 pm »
Hi, has anybody managed to add an image to this?  I'm wanting to use the report as a catalogue showing all our products and I tried inserting the code that Pisu suggested in #87 but I got the image name, not the actual image. If anybody has this working could you please post the code because I'm a PHP-dummy!
Cheers,
Nicky

joseagro

  • Beginner
  • *
  • Posts: 6
Re: View/Print a complete Price List
« Reply #100 on: February 29, 2008, 09:24:05 am »
Hello all.
Great mod, congratulations.
All works great, but i can´t get PDF, when i try to show PDF i get:

Parse error: syntax error, unexpected $end in /home/agromayo/public_html/escuelavertical/administrator/components/com_virtuemart/html/pricelist/class.ezpdf.php on line 743

Could someone help me??
Thanks

joseagro

  • Beginner
  • *
  • Posts: 6
Re: View/Print a complete Price List
« Reply #101 on: February 29, 2008, 09:39:11 am »
Ok, solved, i missed one font file.
Sorry

meehal

  • Beginner
  • *
  • Posts: 15
Re: View/Print a complete Price List
« Reply #102 on: March 05, 2008, 13:38:11 pm »

Just a question to know if this will do something im after.

I want to display products separated by category just like this addon but not all at once. So when the user clicks on 1 cat, then sub cat, display those products and sub cats w/ products.

Can this be done using this addon?

Any help would be great. Nice work on this as well, its a top feature.

Ozibob

  • Beginner
  • *
  • Posts: 6
Re: View/Print a complete Price List
« Reply #103 on: March 06, 2008, 11:08:48 am »
Just a few quick questions
1. do i upload using the com installer in joomla. if yes then i keep getting these errors
1a. Upload component - Upload Failed
ERROR: Could not find an XML setup file in the package.
1b. Upload component - Failed
Installation file not found:
/home/xxxxx/public_html/soyrenitycandles/media/install_47cfc1777b4d8/administrator/

2. If i try to use a ftp progam i keep getting "access denied" can i change it to allow access?

Joomla 1.0.14
Viturmart 1.0.14

Pisu

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: View/Print a complete Price List
« Reply #104 on: March 06, 2008, 22:26:41 pm »
Added translations: hungarian and romenian utf-8 (thanks to Csurulya Laszlo)!

Package updated, link in first post.
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net