Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

VMInvoice and Virtuemart Custom Fields
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: VMInvoice and Virtuemart Custom Fields

VMInvoice and Virtuemart Custom Fields 11 years, 9 months ago #36620

Hi to all,
we have a problem with VMInvoice and some Custom Fields we made in VirtueMart.

We have created some Custom Fields in our VirtueMart products.
Now we need, if it's possible, to print one specific Custom Fields in the Invoice Template maded by VMInvoice.

Is that possible?
How is it possible?

E.G.
How is it possible to print in the invoice the custom field with the 23 id?

Thank you in advance,
Maurizio

Joomla 2.5.8
VirtueMart 2.0.10
VM Invoice 2.22
The topic has been locked.

Re: VMInvoice and Virtuemart Custom Fields 11 years, 9 months ago #36667

  • miun
  • OFFLINE
  • A pesimist is just a well-informed realist.
  • Posts: 563
Yes, it should be possible, in "Global Configuration", you can set "Extra Field 1" and "Extra Field 2" that will show on the invoice. Custom fields also should be shown in the list.
ARTIO Support Team
The topic has been locked.

Re: VMInvoice and Virtuemart Custom Fields 11 years, 9 months ago #36682

Thank you, but we have to explain better our problem:

We don't need to insert extra fields from the client of virtuemart, but we need to insert the product's extra filed (see my example attachment).

For example, in Virtuemart we use to print (recall) the value of a field in this way:

<div class="date">
<?php
$con = mysql_connect("myhosting-db","myuser_db","mypassword_db");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}

mysql_select_db("myname_db", $con);


$result = mysql_query("SELECT custom_value FROM zzd8y_virtuemart_product_customfields WHERE virtuemart_product_id=".$product->virtuemart_product_id." AND virtuemart_custom_id=22" );

while($row = mysql_fetch_array($result))
{
echo htmlentities($row['custom_value']) ;
}

mysql_close($con);
?>
</div>



But using VMINovice, we are not able to insert in any files this code, to show it in the invoices.

We would like to know if it's possible to do it from the back-end of VMInvoice or if you know how insert my code in your files.

Thank you
Attachments:
Last Edit: 11 years, 9 months ago by Pocomalo.
The topic has been locked.

Re: VMInvoice and Virtuemart Custom Fields 11 years, 3 months ago #40488

I was actually looking for the same thing. Is this already possible?
The topic has been locked.

Re: VMInvoice and Virtuemart Custom Fields 11 years, 2 months ago #40745

same here !
also nee the custom-fields on the invoice etc.
( in our shop we need those fields as struktured form of produkt-features. for example :
- capacity : 100 L
- temperature : -25C
- coating : carbon
- etc
instead of havin al those infos unstructured in the product-description's text.
Now it's important for us, to also have those infos in the bill / invoice etc..


what would it cost to make u develop this feature ?

pls answer soon
The topic has been locked.

Re: VMInvoice and Virtuemart Custom Fields 11 years, 2 months ago #40776

  • miun
  • OFFLINE
  • A pesimist is just a well-informed realist.
  • Posts: 563
Hello,
ok, we can add this as a custom feature. The question is, whether you always want to show all attributes, or want to select only some, that will be shown.

Eg. from you example, if you have attributes capacity, temperature, coating, maybe you want just the coating and capacity to be shown on the invoice?
(adding the interface to specify only some attributes would be slightly more work, but can be done of course)

An offer for this has just been sent to your email.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný