Forum Replies Created
-
AuthorPosts
-
joffrey
ParticipantOk I will give this a try.
—
New question:
I am using WooCommerce PDF Invoices: https://wordpress.org/plugins/woocommerce-pdf-invoices/ to auto send our invoices/receipt to our Customer.With the Tribe Extension:https://theeventscalendar.com/extensions/add-event-and-attendee-information-to-woocommerce-order-details/ It also showcase my attendee data on this PDF. I will attach a sample.
My goal is to then repeat or re”call” the info for each product per event and showcase the ticket_id after the invoice total. Via CSS i will then create a look that will allow my customers to see the ticket id and print it. If you take a look at the screen shots, I’d like the second screenshot to be generated as well.
WooCommerce PDF Invoices has told me that I can grab meta keys from third party plugin such as yours using this code below. Replace {META_KEY} with the actual key.
<?php echo BEWPI()->templater()->get_meta( '{META_KEY}' ); ?>I’ve tried the following but it doesn’t work.
The below I’ve placed where I want the data to show up (body.php) of the plugin file.<?php $ticketIds = jbs_get_woo_tickets_ids($order->id); foreach ($ticketIds as $ticketId) { echo $ticketId; } ?>I also used theis on my child fucntions.php file:
<?php $ticketIds = jbs_get_woo_tickets_ids($order->id); foreach ($ticketIds as $ticketId) { echo $order->id; }But it doesn’t pull any data. I’m assuming I’m missing something because with retaining the code in functions.php and placing the following code on body.php it does generate the order number so I know its echo-ing it right, but I need to display the ticket_id data as well.
<?php echo $order->id; ?>The Ticket ID is the unique id that gets generated in a numbering system with the abbreviation of the event name per your plugins specs.
Please let me know if all of this makes sense.
joffrey
ParticipantThank you! I will give this a try and let you know my outcome.
If I have an issue with also Ticket ID and how it is being called and placed into a third party plugin, can I ask it here or do you suggest I start a new thread.
joffrey
ParticipantThis reply is private.
joffrey
ParticipantThis reply is private.
October 12, 2017 at 11:29 am in reply to: Order Actions – missing ability to resend tickets #1362827joffrey
ParticipantWanted to inlcude my note here. This is the same error I have, I had to downgrade my WooCommerce back to 3.1 in order to use the Resend options. Th Order Actions feature was an update by WooComerce 3.2.
joffrey
ParticipantI found the abbreviations on wp_postmeta and adjusted and that did the fix for me. But how can we eliminate this in the future? Seems like it auto converted during csv import? And the files clearly shows all abbreviations edited. (unless I did a human error?) Thanks for looking into this.
joffrey
ParticipantThe threads were private responses in terms of the fixes, so I am unsure how it can benefit me.
joffrey
ParticipantThis reply is private.
joffrey
ParticipantHi Jaime, I will look thru the other thread. I have enabled the system sharing. Please advise on a solution.
joffrey
ParticipantThis reply is private.
joffrey
ParticipantUpdating the theme files to the most current version didn’t help. Please advise on a fix.
joffrey
ParticipantPlease see image attached, it didn’t upload earlier.
joffrey
ParticipantPlease see image attached
joffrey
ParticipantPlease see screenshot #1 – Which shows the field I would like to showcase on the email.
Screenshot link: https://www.dropbox.com/s/c8ofliucbihdnv9/Screenshot%202017-08-29%2011.50.10.png?dl=0
I will need the exact code if possible. Thanks-
This reply was modified 8 years, 8 months ago by
joffrey.
joffrey
ParticipantIf you take a look at the screenshot in the prioginal posting, I referenced the custom field on the ticket inputs versus what attendees fill out. I need to be able to generate an excel that I can use the custom field as a meta data.
I need the data to be internal and viewable on the front end by attendees.
Please advise.
-
This reply was modified 8 years, 8 months ago by
-
AuthorPosts
