• Resolved photomj

    (@photomj)


    I’ve been using this plug in with no errors (mostly). I only ship to customers billing addresses, so I “unchecked” “show shipping address” within the plug in.

    Today, I received an order that showed both a billing AND shipping address, on the invoice! The address was exactly the same, so I don’t know why it is showing if it’s the same address, and why a shipping address is showing, when within the plug in I chose to NOT show the shipping address?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @photomj,

    Could you double-check if the option for the Display shipping address setting is No, under WooCommerce > PDF Invoices > Document > Invoice?

    Thread Starter photomj

    (@photomj)

    Thanks for the quick reply.

    Yes, the option is set to “no” within the plug in.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Is this happening on new invoices? If not, it’s possible that you have activated this setting after generating the invoice that you’re mentioning.

    Since our plugin stores the current settings in the order data at the moment of the document generation, the invoices previously generated will not be affected if you update the settings later.

    However, you can update your previously documents applying your latest settings. See Show PDF documents with the latest settings to learn more.

    Plugin Contributor Ewout

    (@pomegranate)

    Could you also tell us if you are using the default Simple template or a custom template (in the General settings tab under Woocommerce > PDF Invoices)? If it’s a custom template, it’s possible that it’s not compatible/up to date with the newer versions and can’t read this setting properly.

    Thread Starter photomj

    (@photomj)

    I haven’t changed any settings, so therefore, new invoices should NOT be showing a shipping address.

    I have been using this plug in for over 2 years, on 3 different websites, and have never had this happen until today.

    I don’t have anything “custom” set up. It’s a simple check box that says: “Display shipping address” to which the box has been checked “No” for all time.

    Plugin Contributor Ewout

    (@pomegranate)

    @photomj I definitely agree that things shouldn’t change when you don’t change settings. The reason we’re asking all these additional questions is precisely because under normal circumstances this wouldn’t happen, so we’re trying to figure out why it’s not working for you.

    Could you check the “General” settings tab to see if the template that is selected there is named “Simple”? For now, the only reason I can think of for this to happen would be a custom template being selected there (perhaps created long ago?).

    Thread Starter photomj

    (@photomj)

    The setting is for “simple.”

    Plugin Contributor Ewout

    (@pomegranate)

    Quite strange… Which plugin version are you using? You write

    It’s a simple check box that says: “Display shipping address” to which the box has been checked “No” for all time.

    But that option is not a checkbox but a dropdown select option.

    Is this happening with all incoming orders?

    Thread Starter photomj

    (@photomj)

    You are commenting on semantics now….Whether it’s a dropdown or box, the answer is the same. The “setting” has been set to “NO” for all time.

    Now…I am having this happen on a second website of mine. The DROPDOWN is set to “No” to display shipping address, and (in another related problem) Woo Commerce is set to “force” ship to billing address, yet I just had a new order come thru, on a second website, that showed both the billing and shipping address on the invoice itself.

    Is there ever going to be a solution for this issue? All you guys keep asking about is my settings, which I already answered a week ago. The settings are fine. The plug in isn’t working properly on all orders, on multiple websites now.

    Thread Starter photomj

    (@photomj)

    I have just had this same issue happen on another website of mine.

    BTW – I am using V2.9.0 of your software.

    Same issue as on the other website I reported above….Plug-in is set to show shipping address only, but on one order, on the second website, it shows both a shipping and billing address, which are different.

    I have open topics in the Woo Commerce forum because their plug in is sometimes charging sales tax when it shouldn’t be, and I also have “Force shipping to billing address” chosen as the setting for all my websites. Therefore, a different “shipping” address shouldn’t have come thru and also should not have shown up on your invoice.

    Of course Woo’s solution is for me to deactivate all my plug-ins, to see which one is causing the problem. It seems pretty obvious to me that the Woo plug in and your plug in are the ones that are not working properly, together.

    If I have “Force shipping to billing address” chosen in Woo, the customer shouldn’t even be able to enter an alternate shipping address. If I have “NO” chosen, to “show shipping address” in your plug-in, then the shipping address shouldn’t show.

    Again, this isn’t happening on every order. It has happened several times on the first website I reported, and now it has happened on a second website.

    Do I need to hire a programmer off Fiverr in order to get this all working properly again? I haven’t heard any sort of solutions from either you guys or Woo yet, and I opened these topics over a week ago.

    Thread Starter photomj

    (@photomj)

    Update: For the order that came thru on the 11th, that shows a different billing and shipping address on your Invoice, on the Invoice that is generated and emailed from Woo, it only shows the billing address. Both the billing and shipping addresses show within the Woo order on the website, which is where I assume your plug-in is pulling the info from?

    With the “force shipping to billing address” chosen on Woo, the customer should only see one field for address entry, yet within this one order, the two separate addresses show, both in the admin area, and in your Invoice, even though I had chosen “NO” to show shipping address on your invoices.

    Plugin Contributor Ewout

    (@pomegranate)

    I really want to help you in resolving this issue, but the infrequent occurrence and the fact that we have not had any other reports of this issue and are not able to reproduce on our end make this very hard. Not seeing the actual order data and the context makes it even harder.

    You certainly shouldn’t need to pay a coder on fiverr to fix this.

    If you send an email to [email protected] referring to this topic we’ll do our best to get to the bottom of this!

    Plugin Contributor Ewout

    (@pomegranate)

    @photomj as a temporary solution (until we’ve found the root cause of why the shipping address is displaying even though you have the setting to “No”) you could use the following code snippet:

    
    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 );
    function wpo_wcpdf_custom_styles ( $document_type, $document ) {
        ?>
        .invoice .shipping-address { display: none !important; }
        <?php
    }
    

    This will hide the shipping address from the invoice.

    If you want to prevent the shipping address from displaying anywhere (including the packing slip) you can use:

    
    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 );
    function wpo_wcpdf_custom_styles ( $document_type, $document ) {
        ?>
        .shipping-address { display: none !important; }
        <?php
    }
    

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Invoice changed format?’ is closed to new replies.