WCMp PDF Invoice
-
AuthorPosts
-
-
February 11, 2021 at 1:55 PM #115494JamesParticipant
Hello,
How do i translate the invoice ?
How can i change the info in the bottom of the invoice :
website is “https://name.com” and i want it to be “name.com”
email isn’t the one it suppose to be.
Best Regards.
James. -
February 11, 2021 at 6:53 PM #115514MVX Support NinjaKeymaster
Hello,
Thank you for reaching out to us.
Regarding invoice translation, you can use Loco translator to translate it.
Kindly refer to our knowledge base document (https://multivendorx.com/knowledgebase/wcmp-translation-guide/) which will help you further.Regarding the other part, can you please provide us some more details about your query so that we can guide you more efficiently.
-
February 11, 2021 at 8:28 PM #115527JamesParticipant
Hello,
thanks for the answer, my 2nd question was :
i want to change the website and the email you can see at the bottom of an invoice how can i do it ?
Best Regards.
James.
-
February 12, 2021 at 9:54 AM #115547MVX Support NinjaKeymaster
Hello,
Can you please share a screenshot explaining where you want to change the website and email. It would be more helpful for the team to understand the requirement and guide you accordingly.
-
February 12, 2021 at 1:52 PM #115553JamesParticipantThis reply has been marked as private.
-
February 12, 2021 at 6:54 PM #115580MVX Support NinjaKeymaster
Hi,
using below filter you can change the textapply_filters('wcmp_pdf_invoice_pdf_footer_content', implode(' | ', $footer_content), $footer_content, $pdf_type, $args);
CopyRegards,
-
February 13, 2021 at 2:43 PM #115610JamesParticipant
Hello,
Thanks for the answer, but where do i put this code line ? 🙂
Bests Regards.
James.
-
February 13, 2021 at 6:40 PM #115628MVX Support NinjaKeymaster
Hi,
You have to add custom code using above filter and change the footer content.Kindly add your custom code on your active theme function.php using above filter.
Let me know if you need any help.
Regards,
-
February 15, 2021 at 2:16 PM #115705JamesParticipant
Hello,
Do you have any tutorial to give me ? because i dont know how and where to acces the “theme function.php” and i don’t want to crash my website 😀
An other question in my product customer have choice off option to select when they buy the product and a text to add on it. and on the invoice there is only the text, how do i do to make the option chosen by the customer on the invoice ?
Best regards.
James.
-
February 15, 2021 at 5:23 PM #115721MVX Support NinjaKeymaster
Hello,
Please add this code in the function.php of the current active theme :
add_filter('wcmp_pdf_invoice_pdf_footer_content','wcmp_pdf_invoice_content_change', 10, 1); function wcmp_pdf_invoice_content_change( $added_footer_content ){ $new_footer_content = array('your_web_site', 'your_email');// change this as per your requirement. $added_footer_content = implode(' | ', $new_footer_content); return $added_footer_content; }
CopyRegarding the other part, can you please explain your requirement further with the help of some screenshot / video clip so that we can guide you more efficiently.
-
February 15, 2021 at 8:34 PM #115753JamesParticipantThis reply has been marked as private.
-
February 16, 2021 at 10:20 AM #115786MVX Support NinjaKeymaster
Our team is looking into it and will update you by tomorrow.
-
February 17, 2021 at 5:21 PM #115861MVX Support NinjaKeymaster
Hi,
our replies are inline:
— The problems with adding this code in the function php of the theme it’s i need to do it ina child theme because it would erase the code at the next theme update. dont you have an other solution like updating you’r pluggins with the possibility to custom the footer
>> Kindly create a child theme and add this on the child theme function.php— For the other part i will give you 2 screenshots then you will understand :
>> to show more mata data on PDF please use below filterwcmp_pdf_extra_items_added
CopyRegards,
-
February 17, 2021 at 9:48 PM #115902JamesParticipant
Hello,
Thanks for this answer i have done the child theme,1rts part work fine but for the second part ca you give me the full code i have to add in function.pvp because the “wcmp_pdf_extra_items_added” doesn’t work.
Best Regards.
James.
-
February 18, 2021 at 7:42 PM #115963MVX Support NinjaKeymaster
Hi,
please add this code in the function.php of the current active theme :add_filter( 'wcmp_pdf_extra_items_added', 'wcmp_add_meta_data', 20, 1); function wcmp_add_meta_data($show_order_itemmeta){ $show_order_itemmeta = array( '_qty', '_tax_class', '_product_id', '_variation_id', '_line_subtotal', '_line_subtotal_tax', '_line_total', '_line_tax', 'method_id', '_vendor_item_commission', 'cost', 'commission', '_vendor_id', 'vendor_id', '_vendor_order_item_id' ); return $show_order_itemmeta; }
CopyRegards,
-
February 18, 2021 at 9:03 PM #115967JamesParticipantThis reply has been marked as private.
-
February 18, 2021 at 10:09 PM #115970JamesParticipant
It’s might be a problems from somewhere else now i can’t create the variation anymore from vendor dashbord when i click add nothing happen
https://snipboard.io/gwCGfx.jpg
Best Regards.
James.
-
February 19, 2021 at 6:43 PM #116026MVX Support NinjaKeymaster
Due to the weekend the team is away and we will update you by Monday.
-
February 22, 2021 at 1:59 PM #116108MVX Support NinjaKeymaster
Hi,
Our replies are inline:
>> solve the problem :“-option1 : (color) : degraded pink
-option2 : (type of font) : font 1
-option3 : (thermostick) : with thermostick
-text : Sasha”
— For this you have to add the absolute meta key using the below hookwcmp_pdf_extra_items_added
Copykindly check out the meta key name and add this using this hook.
>> It’s might be a problems from somewhere else now i can’t create the variation anymore from vendor dashbord when i click add nothing happen
— Our latest version of WCMp supports bootstrap and the same bootstrap support needs to be created in our WCMp advance frontend manager. So that’s why we are facing issues in the variable product type on the vendor dashboard.
Our team has already started working on it and we will try to update you by 2 to 3 working days.Regards
-
February 25, 2021 at 4:56 PM #116466JamesParticipant
Hello,
The problem about bootstrap is solve.
I use the code you gave me and it doesn’t work.
The meta key name you talk about what is ?
Each vendor can create different variation so there is no particular variation id every product can have different variations names
Best Regards.
James. -
February 26, 2021 at 6:53 PM #116591MVX Support NinjaKeymaster
Hi,
as per our default flow vendor dashboard order details page shows the some default meta which is saved. kindly check the video – https://www.loom.com/share/63543785ee284930bd36443a3dfad913.
and the rest of meta are saved from some 3rd party plugin.
We get all product meta using Woocommerce function ‘get_formatted_meta_data()’ then show some particular product meta on the pdf.
If you want to show them in the PDF than you have to add the meta on this above filter. to find out the meta keys then you have to add some custom code to checkout all meta keys.Regards,
-
February 26, 2021 at 8:19 PM #116596JamesParticipant
Hello,
The variations are from “advanced frontend manager WCMp” i guess it’s you’r plugin.
The texte name is from “Woocommerce product addon” but it show on the invoice already if i dont change the codes, i guess if i change the code i will have to ask “Woocommerce support” to have the meta to put in the code you gave me.
But with the code you gave me it doesn’t show the variations from “advanced frontend manager” (variable product). so it doesn’t solve the prob :/
Just to make sure you understand my demand i want to have the variations the customer selected on the invoice (when i use the code you gave me it doesn’t show it)
And every product have different type of variations as you can see on this link :
https://little-square.com/boutique/prenom-brode-sur-patch-forme-nuage-couleur-au-choix-police-decriture-au-choix-option-thermocollant/
Best Regards.
James. -
February 26, 2021 at 8:57 PM #116601WCMp AdminKeymasterThis reply has been marked as private.
-
February 26, 2021 at 10:34 PM #116615JamesParticipantThis reply has been marked as private.
-
February 27, 2021 at 1:06 PM #116666MVX Support NinjaKeymaster
Kindly share the admin and vendor access (staging site) and FTP access, our team will be debugging your site. While sharing the access, please mark the replay as private.
-
February 27, 2021 at 5:34 PM #116679JamesParticipantThis reply has been marked as private.
-
March 1, 2021 at 6:22 PM #116770MVX Support NinjaKeymaster
Hi,
Kindly share the FTP details.Regards,
-
March 1, 2021 at 9:02 PM #116784JamesParticipantThis reply has been marked as private.
-
March 2, 2021 at 6:14 PM #116827MVX Support NinjaKeymaster
Kindly share the FTP access details with us so that our team can debug and fix the issue that you are facing. Kindly mark the reply as private while sharing the access.
-
March 2, 2021 at 6:39 PM #116836JamesParticipantThis reply has been marked as private.
-
March 3, 2021 at 6:50 PM #116904MVX Support NinjaKeymaster
Hi,
To find out those meta key name we have to add some code and check those meta keys name on your end. To add and check we need the FTP of staging site. Without FTP we can’t check the meta keys name.
Regards, -
March 3, 2021 at 9:12 PM #116912JamesParticipant
Hello,
I see, only the FTP is the same for the staging site and the real website because the staging site WP staging site pluggin.
And i don’t want to mess with the real website :/
Let’s me know where you can have the meta keys name in the FTP and i look at it for you and send you the meta keys names in private reply.
Best Regards.
James. -
March 4, 2021 at 7:05 PM #116964MVX Support NinjaKeymaster
Hi,
So you have to find out the meta keys by some custom coding on your end. you can use this function get_formatted_meta_data( ” ) for get all meta data from the item variable.
then find out the meta key and add those in the above filter.Regards,
-
March 5, 2021 at 3:42 PM #117003JamesParticipant
Hello,
where do i use the function << get_formatted_meta_data (“) >> ?
Best regards.
James. -
March 8, 2021 at 6:42 PM #117145MVX Support NinjaKeymaster
Hi,
using this function you can get all item meta but it needs some custom code to check out.
On function.php using some hook and filter or any template override kindly check this on your end.Regards,
-
-
AuthorPosts
The topic ‘Translate Invoice’ is closed to new replies.