kranate
Forum Replies Created
-
you can also use placeholder {site_url} instead of https://DOMAIN
until the new corrected version is out
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] bootstrap-toggle problemok.. great approach to support. but I’m gladly trying to help.
you should try to prevent that all kind of input with data toggle attribute were fetched. that is handled by your code extension for boostrap-toggle. just attaching to your classes or ids.
Hi Prince,
I will check that asap. But my question is.. is it possible to change it in any custom format? I need f.e. the german date format.
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] Email received by the customerI’m working with the pro version 4.0.7.
I activated the option “Do not send parent order email to anyone”.
but the summary is always been send with the mails of the splitted orders.
what is the correct way to prevent sending the summary?Forum: Plugins
In reply to: [InfiniteWP Client] .rnd file created on “reload data”could we expect any support from plugin developer here?
it would be interesting why this is necessary for some sites. I could tell the same. this happens only in 1 of 17 my sites.
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] hook for status updateI think it would also work fine with:
delete_post_meta($order_id, '_tribe_has_tickets');
could you add this to your next version?
and for further clarify..
it’s not about setting a meta key.
the existing meta key should be updated or better deleted.Forum: Plugins
In reply to: [Order Splitter for WooCommerce] hook for status updateyes, that’s correct.
every new order needs this meta key with NULL. so you will have a better support for the tribe plugins.
at the moment the existing meta key with value “1” is cloned. an that makes the problem with the tickets.thank you!
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] hook for status updateHi Fahad!
I think I found a better solution for Events Calendar Plugin.
It is important for that to “generate tickets” when purchased.
So after splitting/duplicating this have to be done again.could you please add something like the following to your code:
update_post_meta( $new_order_id, '_tribe_has_tickets', '');
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] hook for status updateit seems that I get with the following code only the order data of the deleted/old order.
not from the new splitted orders.
could you please help me fetching the new orders in my child theme functions.phpadd_action( 'woocommerce_thankyou', 'woocommerce_auto_bearbeitung', 1000, 1); function woocommerce_auto_bearbeitung( $order_id ) { if ( ! $order_id ) return; $order = wc_get_order( $order_id );
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] hook for status updatesorry.. here I am again.
The option works fine.
But I need for my workflow the option to CHANGE the status after creating the order. I guess that the splitted order would be created with the selected status. I think the plugin tribe events calendar expects the transition to the status processing for generating a ticket.could you help here? may be with a hook I can you use after creating the splitted order?
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] hook for status updateOMG
sorry.. may be it was to late yesterday.
I found the option and will check this.thank you for your support!
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] please add ticket metais there really a reason why you can’t add without any condition like this:
/** * Duplicate Order Header meta */ public function clone_order_header($order_id, $_order_total=false){ //pree($_order_total); if($_order_total){ }else{ $_order_total = get_post_meta($this->original_order_id, '_order_total', true); } //pree($_order_total);exit; update_post_meta( $order_id, '_order_shipping', get_post_meta($this->original_order_id, '_order_shipping', true) ); update_post_meta( $order_id, '_order_discount', get_post_meta($this->original_order_id, '_order_discount', true) ); update_post_meta( $order_id, '_cart_discount', get_post_meta($this->original_order_id, '_cart_discount', true) ); update_post_meta( $order_id, '_order_tax', get_post_meta($this->original_order_id, '_order_tax', true) ); update_post_meta( $order_id, '_order_shipping_tax', get_post_meta($this->original_order_id, '_order_shipping_tax', true) ); update_post_meta( $order_id, '_order_total', sanitize_wcos_data($_order_total)); update_post_meta( $order_id, '_order_key', 'wc_' . apply_filters('woocommerce_generate_order_key', uniqid('order_') ) ); update_post_meta( $order_id, '_customer_user', get_post_meta($this->original_order_id, '_customer_user', true) ); update_post_meta( $order_id, '_order_currency', get_post_meta($this->original_order_id, '_order_currency', true) ); update_post_meta( $order_id, '_prices_include_tax', get_post_meta($this->original_order_id, '_prices_include_tax', true) ); update_post_meta( $order_id, '_customer_ip_address', get_post_meta($this->original_order_id, '_customer_ip_address', true) ); update_post_meta( $order_id, '_customer_user_agent', get_post_meta($this->original_order_id, '_customer_user_agent', true) ); update_post_meta( $order_id, '_tribe_tickets_meta', get_post_meta($this->original_order_id, '_tribe_tickets_meta', true) ); } /** * Duplicate Order Billing meta */
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] please add ticket metanow I could see your message in the changelog for version 2.3.2.
but your update doesn’t work for me.it only works like this:
=> in “Duplicate Order Header meta” section
=> with$_tribe_tickets_meta = get_post_meta($order_id, '_tribe_tickets_meta', true);
/** * Duplicate Order Header meta */ public function clone_order_header($order_id, $_order_total=false){ //pree($_order_total); if($_order_total){ }else{ $_order_total = get_post_meta($this->original_order_id, '_order_total', true); } //pree($_order_total);exit; update_post_meta( $order_id, '_order_shipping', get_post_meta($this->original_order_id, '_order_shipping', true) ); update_post_meta( $order_id, '_order_discount', get_post_meta($this->original_order_id, '_order_discount', true) ); update_post_meta( $order_id, '_cart_discount', get_post_meta($this->original_order_id, '_cart_discount', true) ); update_post_meta( $order_id, '_order_tax', get_post_meta($this->original_order_id, '_order_tax', true) ); update_post_meta( $order_id, '_order_shipping_tax', get_post_meta($this->original_order_id, '_order_shipping_tax', true) ); update_post_meta( $order_id, '_order_total', sanitize_wcos_data($_order_total)); update_post_meta( $order_id, '_order_key', 'wc_' . apply_filters('woocommerce_generate_order_key', uniqid('order_') ) ); update_post_meta( $order_id, '_customer_user', get_post_meta($this->original_order_id, '_customer_user', true) ); update_post_meta( $order_id, '_order_currency', get_post_meta($this->original_order_id, '_order_currency', true) ); update_post_meta( $order_id, '_prices_include_tax', get_post_meta($this->original_order_id, '_prices_include_tax', true) ); update_post_meta( $order_id, '_customer_ip_address', get_post_meta($this->original_order_id, '_customer_ip_address', true) ); update_post_meta( $order_id, '_customer_user_agent', get_post_meta($this->original_order_id, '_customer_user_agent', true) ); if($order_id){ $_customer_user_agent = get_post_meta($originalorderid, '_customer_user_agent', true); $_tribe_tickets_meta = get_post_meta($order_id, '_tribe_tickets_meta', true); if($_customer_user_agent) update_post_meta( $order_id, '_customer_user_agent', $_customer_user_agent); if($_tribe_tickets_meta) update_post_meta( $order_id, '_tribe_tickets_meta', get_post_meta($this->original_order_id, '_tribe_tickets_meta', true) ); } } /** * Duplicate Order Billing meta */
Forum: Plugins
In reply to: [Order Splitter for WooCommerce] please add ticket metaHi Fahad,
maybe you missed this ticket because you changed to status to resolved.
but there is still no message in the last changelogs about this.
are you working on a solution?the problem with image is resolved. it was an theme problem.
but please answer to my last question.another addition to my question.
Why are e-mail body texts still stored in the database? These are no longer used, right?
there are stored in wp_options => um_options.