WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Print Invoice & Delivery Note
[resolved] Problem with link with mqtranslate & deliver notes printing frontend (3 posts)

  1. arthurdent2003
    Member
    Posted 8 months ago #

    Hi there,

    When I want to print from the front end i am getting a link like this on my englisch site:

    http://.../mein-konto/?lang=en%2Fprint-order%2F2067%2F&print-order-type=receipt

    and on my german site:

    http://.../mein-konto/print-order/2067/&print-order-type=receipt

    So the problem is, that I am getting a 404 on my englisch site, when I want to print - on the german page it works.

    I don't understand why there's everywhere a "%2F" instead of a normal "/" - how can I fix this? Any idea?

    Another problem is the "/?lang=en" in the middle of the url, that brakes the whole url - i have tried to remove it with jquery, which works, but it's not perfect.

    has it something to do with esc_url( $action in my-orders.php at line 91?

    Thanks!

    Ad

    https://wordpress.org/plugins/woocommerce-delivery-notes/

  2. piffpaffpuff
    Member
    Plugin Author

    Posted 8 months ago #

    The Plugin was never tested with qtranslate. But qtranslate modifies every URL. In your case it adds ?lang=en to any english URL. Try to switch to a SEO friendly scheme like /en. But even then qtranslate can generate massive issues with this plugin, WooCommerce and WordPress. Not to talk about the performance issues.

    I would recommend to not use qtranslate. And if you are looking for a good multilanguage Shop try to switch to Magento or OpenCart if it isn't to late. WooCommerce is not worth the multilanguage hussle. Trust me, I've tested every possible WordPress/WooCommerce multilanguage combination out there. Of course there is WPML, but it feels so cumbersome and inappropriate to use.

  3. arthurdent2003
    Member
    Posted 5 months ago #

    Thanks for the info

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.