Forum Replies Created
-
AuthorPosts
-
Naoya IshikawaParticipant
Since the plugin that links with Woocommerce is charged, we will attach the access information to the development environment separately from the plugin link.
You can edit this development environment.the actions for generating attendees and for sending the ticket emails are set up in the following file: event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php
Thank you
Below is the site information and the ticket plugin link.
【ticket plugin】
https://wordpress.org/plugins/event-tickets/Naoya IshikawaParticipantHe advised me that I could control the creation of tickets in the following ways.
Is there anything else I need other than this information?
add_filter( ‘get_post_metadata’, function($metadata, $post_id, $meta_key, $single){
if( $meta_key !== ‘_tribe_has_tickets’ ) {
return $metadata;
}// This variable would determine if the order is the actual order,
// or the “extra” order created by the other plugin.
// “my_custom_function()” is just a placeholder here.
// You would need to ask the other plugin developers how to check this.
$is_order_secondary = my_custom_function( $post_id );if( $is_order_secondary ) {
// Returning true here should prevent the attendee from being generated.
return true;
}// Otherwise, return original
return $metadata;}, 100, 4 );
June 14, 2021 at 8:13 PM in reply to: I want to reverse the output order of the first name and last name for the custo #123114Naoya IshikawaParticipantI was able to solve it
Thank you very much!Naoya IshikawaParticipantThe solution was to output the surname and first name separately without combining them. Thank you very much.
Naoya IshikawaParticipantI rewrote ① to ②, but it seems that the last name and first name do not change.
Is there any other factor?①<?php echo $order->get_billing_first_name() . ‘ ‘ . $order->get_billing_last_name(); ?>
②<?php echo $order->get_billing_last_name() . ‘ ‘ . $order->get_billing_first_name(); ?>
May 11, 2021 at 4:07 PM in reply to: Coupons can be used for products other than the vendor that created the coupon #121464Naoya IshikawaParticipantAfter the update, I tested it again, but it doesn’t seem to be fixed. I’m sorry if it wasn’t the target of this update.
April 28, 2021 at 7:41 PM in reply to: Coupons can be used for products other than the vendor that created the coupon #120754Naoya IshikawaParticipantThis reply has been marked as private.April 28, 2021 at 5:53 PM in reply to: Coupons can be used for products other than the vendor that created the coupon #120736Naoya IshikawaParticipantCoupons will not apply if only non-qualified items are in the cart. However, when the target product and the non-target product are mixed in the cart, it seems that the discount is applied to both.
April 27, 2021 at 4:08 PM in reply to: Coupons can be used for products other than the vendor that created the coupon #120622Naoya IshikawaParticipantAdd image
April 27, 2021 at 3:01 PM in reply to: The site stopped completely after updating the plugin. #120606Naoya IshikawaParticipantI’m sorry, I tried the update again in the test environment and it was successful.
After that, the update was successful even in the production environment.
I am sorryApril 27, 2021 at 2:10 PM in reply to: The site stopped completely after updating the plugin. #120600Naoya IshikawaParticipantThis reply has been marked as private.Naoya IshikawaParticipantThis reply has been marked as private.Naoya IshikawaParticipantThis reply has been marked as private.Naoya IshikawaParticipantThis reply has been marked as private.Naoya IshikawaParticipantThis reply has been marked as private. -
AuthorPosts