• Resolved lmarco

    (@lmarco)


    Good evening,
    After updating the plugin, the product code in the invoices is misaligned, taking up more space than it should in the document. Is there a way to align the SKU with the “product code” label?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hi @lmarco

    Can you share a screenshot of the issue with us? You can host it here.

    Thread Starter lmarco

    (@lmarco)

    Hello Alex,
    Done!

    This only happens with receipts. I have no problem with invoices.

    Image Link:
    https://ibb.co/2FmdqRc

    • This reply was modified 1 month, 2 weeks ago by lmarco.
    • This reply was modified 1 month, 2 weeks ago by lmarco.
    • This reply was modified 1 month, 2 weeks ago by lmarco.
    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @lmarco

    Receipt is a document from our Professional extension. We are not allowed to give support to paid products here in the forums. Please contact us by email to: [email protected]

    We will do our best to help you!

    Thread Starter lmarco

    (@lmarco)

    Ok, thank you.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @lmarco,

    Are you maybe using the “Fluid Checkout for WooCommerce – PRO” plugin?

    If so, please note that we have received a similar report from a customer in our premium support channel, and it turned out an issue introduced by this plugin, which override <p>?tags with?<dd>?tags from the default WooCommerce output for the HTML markup for the item meta.

    That said, please try activating the following code snippet to restore the default output only in the PDF documents:

    /**
    * PDF Invoices & Packing Slips for WooCommerce:
    * Replace <dd> with <p> in the item meta HTML markup if the "Fluid Checkout for WooCommerce - PRO" is activated.
    */
    add_filter( 'wpo_wcpdf_html_filters', function( $filters ) {
    $filters[] = array( 'woocommerce_display_item_meta', 'wpo_wcpdf_replace_dd_with_p_tags_item_meta', 9999, 3 );
    return $filters;
    } );
    function wpo_wcpdf_replace_dd_with_p_tags_item_meta( $html, $item, $args ) {
    if ( class_exists( 'FluidCheckout_PRO' ) ) {
    $html = str_replace( '<dd>', '<p>', $html );
    $html = str_replace( '</dd>', '</p>', $html );
    }
    return $html;
    }

    Let me know if it fixed the issue, or not!

    Thread Starter lmarco

    (@lmarco)

    Hello Yordan,

    No, i’m using WooCommerce PDF Invoice Italian Add-on and Checkout Field Editor for WooCommerce.

    I hope you can help me with my problem.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @lmarco,

    Maybe they are using a previous version of our default “Simple” template.

    However, the problem should be solved now, because we have improved our styles as well, so when using dd tags, the layout should not be affected.

    Could you please try updating the plugin to the latest version and let me know whether it is fixed indeed, or not?

    Thread Starter lmarco

    (@lmarco)

    Hi @yordansoares,
    Everything is updated, but I still have problems with receipts.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for the notification, @lmarco:

    Is this receipt document generated by “WooCommerce PDF Invoice Italian Add-on” or is it the new document added by our Professional extension?

    Thread Starter lmarco

    (@lmarco)

    @yordansoares I think from WooCommerce PDF Invoice Italian Add-on.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for checking that, @lmarco:

    Unfortunately, we do not provide support for custom PDF documents, but you can contact them directly, and share this topic with them, so they can understand the issue, and check their styles and the PHP code in their custom documents, to adjust them accordingly.

    Here is the link of their support forum: https://www.ads-software.com/support/plugin/woocommerce-pdf-invoices-italian-add-on/

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.