Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Shipping by Rules for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Invoice has no detail, only heading and footer 22 Aug 2015 15:46 #1

  • lvth
  • lvth's Avatar Topic Author
Hi, I'm very puzzled by this very strange behaviour:
- ecommerce on Joomla 3.4.3 Stable, VirtueMart 3.0.9 and Shipping by Rules for VirtueMart 5.5.
- choose product, put in cart, correct quantity, verify correct item of shipping rule applied, order confirmed
- VM send the mail to buyer, with attached invoice, but invoice contains ONLY heading and footer, no item detail at all.
But before installing Shipping by Rules for VirtueMart 5.5 (last step done) invoice was correct.
Any idea?
TIA
Luigi

Invoice has no detail, only heading and footer 23 Aug 2015 13:02 #2

Dear Luigi,
This type of problem usually occurs when you include incomplete/broken HTML code in the descriptions of shipping or payment methods. The library that creates the PDF files is very picky about incorrect HTML code, in particular missing end tags. Please check whether you have any HTML code in the titles/descriptions of the shipment methods or in the rule names. Please also notice that a < indicates an HTML start tag, so you cannot directly use < in a payment method descript.

Best regards,
Reinhold

Invoice has no detail, only heading and footer 23 Aug 2015 16:46 #3

  • lvth
  • lvth's Avatar Topic Author
Tanks Reinhold,
I know of two problems with TCPDF, one is what you mention (broken HTML) the second is image type supported (NO gif, png, ONLY jpg).
I've already checked those possible causes, but can be possible that also HTML inside some product descriptio be the reason?.
Luigi

Invoice has no detail, only heading and footer 30 Aug 2015 15:23 #4

Dear Luigi,
HTML inside the product description should normally not be included in the invoice (unless you use a template / style that includes the product descriptions into the invoice, too). Product titles are of course included in the invoice and might cause problems.
If it were really due to broken product descriptions, then the issue should not happen if you try to order only a dummy product with definitely no broken HTML in any of its title/description fields. If the problem also happens with such a product, then the issue lies elsewhere.

You say the issue only appeared after you installed the plugin (I suppose you mean after you created a shipping method to be used). What are your exact rules? Maybe I can spot an issue with the exact rules that you use?

Best regards,
Reinhold

Which template do you use?

Invoice has no detail, only heading and footer 02 Sep 2015 11:20 #5

  • lvth
  • lvth's Avatar Topic Author
Hi Reinhold, thanks for your suggestions, but due to our Customer pressure we went on a different way, suspecting bad html in product descriptions (they were filled by the Customer itself using copy/paste from MS Word documents...).
We started on a clean joomla/VM/etc setup and loaded again all products "by hand" (by luck they were only around 20...) and now everything is ok. I think this confirms the "bad html" hypothesis.
Again thanks for your help.
Luigi

[SOLVED] Invoice has no detail, only heading and footer 03 Sep 2015 17:25 #6

Problem solved.
  • Page:
  • 1