pavelevap
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Adding fees to export fileThank you, so there is probably no GUI for fees?
I was able to easily add fee in “Other items” – “Add fee”, but it is only one value (price) and it is not possible to add name or tax class?
It will have to be handled by custom code, I was thinking something like this (to list all fees related to order and keep them outside of products).
<Fees> <Fee> <Fee_Name>Name</Fee_Name> <Fee_Qty>1</Fee_Qty> <Fee_Price>20</Fee_Price> </Fee> </Fees>
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Export status columnThank you!
Sorry, I did not notice it ??Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Export shipping order item metaThank you very much for this hint. I did not notice this powerfull filter ??
My example for
my_custom_field
:add_filter('woe_get_order_value_my_custom_field',function ($value,$order,$fieldname) { if ( $order->has_shipping_method( 'custom_shipping_method' ) ) { foreach ( $order->get_shipping_methods() as $shipping_item_id => $shipping_item ) { $point = wc_get_order_item_meta( $shipping_item_id, 'my_custom_field', true ); if ( ! empty( $point ) ) { $value = $point; } } } return $value; },10,3);
Works like a charm! ??
Great, but after further testing it seems to me that it works only sometimes or only when running backup manually? When I set up backup to AWS with WordPress cron (weekly), then it works for the first time, but during second week error came back ??
Do you have any estimate for release date?
Thank you!
Sorry for hijacking this topic, but I have the same problem (S3 with allowed memory error). I tried to use latest 3.7.1 and it always ended with this error (but file was transferred on the second try).
I also tried to use your 1474-BackWPup version (from reply above) and I can confirm that it works very well and without error! Waiting for official release, thank you.
Forum: Plugins
In reply to: [Widget Context] Problem with 1.2.0 updateHi, I am not sure which PHP version was there before updates, but I switched it to 7.3.x (maybe there was 5.6 or 5.3).
Everything works now after updates, but users with older WordPress (for example 3.8.x in our case) can update Widget Context plugin (without any restriction related to PHP version) to latest 1.2.0 which can break their site.
Forum: Plugins
In reply to: [Posts in Sidebar] Query posts with date as custom fieldAwesome, it just works! Now it is flexible for all kinds of events, etc. Thank you very much!
Forum: Plugins
In reply to: [Posts in Sidebar] Query posts with date as custom fieldThank you very much, it works nice!
But I would need one more filter to be able to play with output. I need to make
DATETIME
format a little bit friendlier for visitors, for example4th March 2019 (13:00)
. I triedget_post_metadata
filter, but I am not able to define context only for widget of your plugin and not all usages of this postmeta key ??I am not sure about the best place for this filter, maybe
$the_custom_field
or final
$output
?Forum: Plugins
In reply to: [Posts in Sidebar] Query posts with date as custom fieldI looked at your code and maybe filter for
$meta_query
would be helpful here?I could hook into
$meta_query
and change$args['mq_value_aa']
on the fly?Another issue will be probably ordering. When
DATETIME
is used asmeta_type
, then I should be able to setorderby
tometa_value_datetime
somehow?Forum: Plugins
In reply to: [Posts in Sidebar] Query posts with date as custom fieldYes, I played with this section, but I need to query posts with custom field greater than current date, something like
NOW()
.Forum: Plugins
In reply to: [Posts in Sidebar] Query posts with date as custom field2018-05-25 00:00
I tried several options, but I did not achieve any result.
Forum: Plugins
In reply to: [?eské slu?by pro WordPress] XML feed negeneruje atributy produktovTo by asi fungovat mělo, podivné…
Pot?eboval bych se na to podívat p?ímo na webu, je to mo?né? Ozvěte se prosím zde: https://www.separatista.net/kontakt
Forum: Plugins
In reply to: [?eské slu?by pro WordPress] How to activate XML feed for heureka.cz ?I am not a marketing expert, but I set up several stores, please contact me, we can try it…
Forum: Plugins
In reply to: [?eské slu?by pro WordPress] How to activate XML feed for heureka.cz ?Great, I hope that new version will be oficially released in the near future…
Forum: Plugins
In reply to: [?eské slu?by pro WordPress] How to activate XML feed for heureka.cz ?