PDF Template common to all vendors

WCMp PDF Invoice

Resolved
Viewing 61 reply threads
  • Author
    Posts
    • #125021
      MaxenceTP
      Participant

      Hello,

      Is it possible to remove this tab from the dashboard https://prnt.sc/1c6ukp8 ?
      And that all the vendors have the same configuration for “Invoices Settings” as the “Admin Template Settings” defined by the store admin ?

      Thanks

    • #125069

      Hello @Maxence , thank you for connecting with us.
      Our replies are inline.
      1.Is it possible to remove this tab from the dashboard https://prnt.sc/1c6ukp8 ?
      And that all the vendors have the same configuration for “Invoices Settings” as the “Admin Template Settings” defined by the store admin ?
      >> Admin can set the invoices settings fortheir invoices only but each vendor needs to set the invoices settings according to them suiting their business criteria . So, if you want you can remove the invoice settings for each vendor. Bit in order to apply admin’s invoice settings for the vendors too, in that case you have to do custom code.

      Let us know what you think regarding the changes required.
      Hello,
      2.Which option do I have to select ?
      https://prnt.sc/1c6twcg
      >> Thank you for reporting this issue . We will fix this issue in our next update and will share you the fixed plugin file by tomorrow.

    • #125169

      Hello @Maxence , our answers are inline to yours.
      1. Can you help me with the custom code I have to do ?
      /* please add this code in the function.php of the current active theme :*/
      add_filter(‘wcmp_vendor_dashboard_nav’, ‘callback_wcmp_vendor_dashboard_nav’, 99);
      function callback_wcmp_vendor_dashboard_nav($vendor_nav){
      unset($vendor_nav[‘store-settings’][‘submenu’][‘pdf-invoice’]);

      return $vendor_nav;
      }
      >>
      2., no problem, keep me informed when it’s ready
      Sorry for the inconvenience , it was not an issue . you have to select download pdf invoice / download packaging slip from the apply dropdown.
      you can see this video for reference :
      https://www.awesomescreenshot.com/video/4542966?key=cfe18bc2986c20fa1fce3b1e5431d024

    • #125184
      MaxenceTP
      Participant

      Okay thanks !

      But why I have the “packing slip” option in the dropdown even if “Enable Packing Slip” is not checked on the admin config page ?
      How to fix the error “Image not found” : https://prnt.sc/1diprv0 ? I put a JPEG logo in the “Company logo” on the admin config page.
      How to change the colors of the template 4 : https://prnt.sc/1diq4sd ?

    • #125810
      MaxenceTP
      Participant

      Hey, any update about my reply ? 🙂

    • #125872
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #125904
      This reply has been marked as private.
    • #125922
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #125946

      Hi,
      Kindly give us some time, we will debug your issue and let you know,

      Regards,

    • #125986
      This reply has been marked as private.
    • #126019
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #126085

      Hi,
      We have found this issue on our end also. This is due to dom pdf updated librery. We will fix this in our next update.
      Thanks

    • #126114
      MaxenceTP
      Participant

      Okay thanks, when the update will be release ?

    • #126126

      Hopefully, within a week, we can release the update.

    • #126131
      MaxenceTP
      Participant

      Oh thanks, I’m waiting for it to use the plugin.

    • #126253

      We will keep you posted @MaxenceTP

    • #126587
      MaxenceTP
      Participant

      And also, how to change the colors of the template 4 ? Maybe by overwriting it, but how

    • #126603

      @MaxenceTP, yes you need to override the template. You can get the instruction on how to override the template, inside the template file.

    • #126620
      MaxenceTP
      Participant

      Thanks, I found how to overwrite the template, however to change the colours it’s a bit more complex as the HTML comes directly from get_order_details_table_as_html.
      Is it possible to send the colours as an argument? Or another way to change the table colours?

      By the way, have you been able to release the update for the logo bug?

    • #126633

      @MaxenceTP, let me consult with our dev team regarding this solution.

      We will keep you posted.

    • #126651
      MaxenceTP
      Participant

      Thanks for your help 🙂

    • #126694

      Hi,
      You can add using table class=”product-price-table”

      <table class="product-price-table">
      Copy

      Regards,

    • #126733
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #126799
      This reply has been marked as private.
    • #126805
      MaxenceTP
      Participant

      The error in the apache logs is fixed.

      For the second problem I didn’t do anything specific, just opened the invoices. Can you test on your side if you have the same thing?

      On the screenshots I sent, here are the problems I see:
      – On the customer’s full invoice when a product is refunded it would be nice to set quantity to 0 (and recalculate accordingly) or to write after the product name that it is refunded, for example here “Car Painter – Fully refunded”
      – On the invoice of seller 1 (here Maxence) is displayed the refund of the product which does not concern this seller
      – Still on Maxence’s invoice, the total amount is not correct, it should be 17,99€ without any discount
      – On the invoice of seller 2 (here MaxenceTest) it is the same remarks as my dashes 1 and 3

    • #126836

      @MaxenceTP, can you share temporary vendor access of either Maxence or MaxenceTest

    • #126839
      MaxenceTP
      Participant

      You can access the invoces using the credentials in my reply #125872
      Go to Woocommerce -> Orders -> #71790 -> Download the files on the top right

    • #126870

      @MaxenceTP, thanks for the info.

      Our team is looking into this.

    • #126875
      MaxenceTP
      Participant

      Thanks, keep me informed 🙂

    • #126887

      Hi our replies are inline :

      – On the customer’s full invoice when a product is refunded it would be nice to set quantity to 0 (and recalculate accordingly) or to write after the product name that it is refunded, for example here “Car Painter – Fully refunded”
      >> We will add this in our next update/

      – On the invoice of seller 1 (here Maxence) is displayed the refund of the product which does not concern this seller

      – Still on Maxence’s invoice, the total amount is not correct, it should be 17,99€ without any discount

      >> As you can see there is no such issue : https://www.loom.com/share/a9c9257cd4ad4120960db8a1233ae6ec

      – On the invoice of seller 2 (here MaxenceTest) it is the same remarks as my dashes 1 and 3
      >> For now we only display resulted amount as 0
      we will work on this in our next update. scheudled to be relased in our next update.

    • #126939
      MaxenceTP
      Participant

      I cannot reply on the forum, my answer is not posted…

      Thanks, I’m waiting for your update 🙂

      About your video, on the suborder #71801 the invoce is correct. But on the parent order, if I download the vendor invoce, there is an error :
      Here is screenshots :
      – Parent order : https://prnt.sc/1qnz65ce
      – Child order : https://prnt.sc/1qnz76q

    • #127235
      MaxenceTP
      Participant

      Hey, any update ?

    • #127272

      Maxence, can you please share this scrrenshot again :
      Parent order : https://prnt.sc/1qnz65ce

    • #127289
      MaxenceTP
      Participant
    • #127327

      Thanks, Maxence. The team has been notified regarding adding this support.

      Hopefully, we will release an update by this week, with all the fixes.

    • #127328
      MaxenceTP
      Participant

      Thanks, I’m waiting for it 🙂

    • #127639
      MaxenceTP
      Participant

      Hey! Any update about the update ? 😉

    • #128155

      @MaxenceTP, we checked all the marketplaces and how invoicing should work. Generally, an invoice displays data of the order that was placed. Even after a refund it shows what product was ordered and the cost. So we can’t add this in our plugin’s update.

      However, if you need we can provide the code for so you can display the same.

    • #128218
      MaxenceTP
      Participant

      No worries, you’re right.
      However, is it possible to clearly mark somewhere that the product has been refunded?

    • #128249

      @MaxenceTP, we can’t display refund status in an invoice, as this is not standard practice. However each vendor or customer can see whether the order has been refunded from the order status itself.

    • #128310
      MaxenceTP
      Participant

      How can I do this on my end then?
      I think it is important that it is written on the invoice the products that have been refunded for the seller but especially for the customer

    • #128340

      @MaxenceTP, let us know which template are you using, so we can share the code according to that.

    • #128343
      MaxenceTP
      Participant

      I’m using template 4

    • #128407
      This reply has been marked as private.
    • #128554
      MaxenceTP
      Participant

      Thanks it’s working 🙂

    • #128561
      MaxenceTP
      Participant

      What about the fix for other bugs I reported in this post ?
      For example the logo is still not visible : https://prnt.sc/1diprv0

    • #128590

      We have already fixed this in our update.
      Kindly check the Pdf version that you are using and update to the new version.

    • #128635
      MaxenceTP
      Participant

      I already have the latest version

    • #128657

      @MaxenceTP, in that case, please create a staging site and share the admin, FTP access.
      While sharing the access don’t forget to mark the response as private.

    • #128665
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #128612
      MaxenceTP
      Participant

      I already have the latest version (2.1.2) : https://prnt.sc/1urhb1c
      But this version was released 4 months ago : https://prnt.sc/1urhcyg

      So I think the update with the bug fix was not released yet

    • #128698

      Hi,
      Sorry for the miscommunication.
      We have released an update today.
      Kindly update to the new version, the issues should be fixed.

    • #128715
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #128709
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #128751

      Hi,
      >> The logo is well displayed but is oddly sized
      Using below filter you can change the height and width

      apply_filters('wcmp_pdf_invoice_header_logo_width', 110);
      Copy

      >> And the “Packing slip” button is still present while it is well deactivated in the settings
      We removed this from vendor dashboard not admin end.

      Regards,

    • #128817

      Hi,
      Please add this code in the function.php of the current active theme :

      add_filter( 'wcmp_pdf_invoice_header_logo_width', 'pdf_width_height' );
      function pdf_width_height() {
          return 200; 
      }
      Copy

      Regards,

    • #128820
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #128878
      This reply has been marked as private.
    • #128887
      MaxenceTP
      Participant

      Yes, that’s what I understood, but my logo is really rectangular so I can leave some space above and below to have a square, but there will be a lot of empty space.
      How can I put a rectangular logo without it being distorted?

    • #128946
      This reply has been marked as private.
    • #128960
      MaxenceTP
      Participant

      Thank you it’s perfectly working !
      You can release your update 🙂

    • #129028
      This reply has been marked as private.
Viewing 61 reply threads

The topic ‘PDF Template common to all vendors’ is closed to new replies.