icaro56
Forum Replies Created
-
Forum: Plugins
In reply to: [Super Page Cache] Login and Signup buttons failHi, thank you by the feedback.
yesterday I purge the cache in the Cloudflare Super Page Cache and I added a new rule in the Cloudflare site to does not cache the page “minha-conta”.
I think so this new rule that solve the problem.
Forum: Plugins
In reply to: [Juno para WooCommerce] Cadê o Pix?Na última atualiza??o apareceu a op??o do PIX. N?o sei se está funcionando.
Forum: Plugins
In reply to: [Juno para WooCommerce] Status de pedido n?o atualiza via boletoEstou com o mesmo problema. O status dos pedidos mesmo após o pagamento do boleto continuam como Aguardando. Estou tendo que fazer a troca para Processando manualmente.
Só tenho um site com a Juno. A vers?o localhost está como sandbox.
Fiz o processo mencionado de clicar em salvar nas configura??es. N?o sei se vai resolver.
- This reply was modified 3 years, 11 months ago by icaro56.
Thanks
I think I solve this problem adding more this code
update_post_meta( $product_id, '_stock_status', "instock");
Forum: Plugins
In reply to: [Permalink Manager Lite] Last Update 2.2.9.5 broken pluginThanks, solved!
Forum: Plugins
In reply to: [Permalink Manager Lite] Last Update 2.2.9.5 broken pluginser_func_array() expects parameter 1 to be a valid callback, class ‘Permalink_Manager_Pro_Functions’ not found in C:\xampp\htdocs\melivro\wp-includes\class-wp-hook.php on line 287
530320 {main}( ) …\plugins.php:0
2 0.4031 575120 require_once( ‘C:\xampp\htdocs\melivro\wp-admin\admin.php’ ) …\plugins.php:10
3 3.6571 116873472 do_action( ) …\admin.php:175
4 3.6571 116873848 WP_Hook->do_action( ) …\plugin.php:484
5 3.6571 116873848 WP_Hook->apply_filters( ) …\class-wp-hook.php:311
6 3.6647 117094176 Permalink_Manager_Admin_Functions->init( ) …\class-wp-hook.php:287
7 3.6648 117096816 apply_filters( ) …\permalink-manager-admin-functions.php:32
8 3.6648 117097224 WP_Hook->apply_filters( ) …\plugin.php:212
9 3.6648 117098760 Permalink_Manager_Uri_Editor->add_admin_section( ) …\class-wp-hook.php:287
10 3.6648 117099512 Permalink_Manager_Helper_Functions::get_post_types_array( ) …\permalink-manager-uri-editor.php:32
11 3.6648 117099512 Permalink_Manager_Helper_Functions::get_disabled_post_types( ) …\permalink-manager-helper-functions.php:251
12 3.6648 117102128 apply_filters( ) …\permalink-manager-helper-functions.php:201
13 3.6648 117102536 WP_Hook->apply_filters( ) …\plugin.php:212Thanks, but I want a free plugin.
Thank you @rur165 !
I did a test on the theme Twenty Twenty and the error also happens.
Ok, I do the test.
I registered a product with a price of 30 reais. I configured in the general settings of the dokan as 10% of the sale.
With the customer, I bought this product.
I looked at the seller’s account and there appears 27 reais. That is, it is charging in percentage.
However, if I look at the configuration of this seller user, it is there as FLAT. That by default in the users’ admin screen already comes as FLAT, I think this information there is not updated or is buggy.
Forum: Plugins
In reply to: [Juno Split] Token ficando nuloDeve ser uma solu??o parecida.
Porém, o desenvolvedor do plugin falou que vai lan?ar uma corre??o em breve.
Forum: Plugins
In reply to: [Juno Split] Token ficando nuloCódigo acima funcionou mesmo.
Forum: Plugins
In reply to: [Juno Split] Token Sumindo do Painel do ClienteColoquei um código lá no meu post. Acho que resolveu. Vou fazer mais testes e confirmo lá @timbalada88 .
Forum: Plugins
In reply to: [Juno Split] Token ficando nuloNo arquivo class-juno-dokan-settings.php na linha 39 há o código que é chamado toda vez que alguma coisa dentro de store é salva:
public function save_withdraw_options( $store_id, $dokan_settings ) { if ( ! $store_id ) { return; } if ( isset( $_POST['settings']['juno']['token'] ) ) { $dokan_settings['payment']['juno'] = $_POST['settings']['juno']; update_user_meta( $store_id, 'dokan_profile_settings', $dokan_settings ); update_user_meta( $store_id, '_juno_token', $_POST['settings']['juno']['token'] ); } else { delete_user_meta( $store_id, '_juno_token' ); } }
Aí no if que testa se há o juno da token caso ele falhe, está entrando no else que vai acabar deletando o token que foi configurado anteriormente.
Alterei o código para o código seguinte e parece estar funcionando agora:
public function save_withdraw_options( $store_id, $dokan_settings ) { if ( ! $store_id ) { return; } $existing_dokan_settings = get_user_meta( $store_id, 'dokan_profile_settings', true ); $prev_dokan_settings = ! empty( $existing_dokan_settings ) ? $existing_dokan_settings : array(); $post_data = /*wp_unslash*/( $_POST ); if ( isset( $post_data['settings']['juno']['token'] ) ) { $dokan_settings['payment']['juno'] = $post_data['settings']['juno']; //update_user_meta( $store_id, 'dokan_profile_settings', $dokan_settings ); update_user_meta( $store_id, '_juno_token', $post_data['settings']['juno']['token'] ); } $dokan_settings = array_merge( $prev_dokan_settings, $dokan_settings ); update_user_meta( $store_id, 'dokan_profile_settings', $dokan_settings ); }
- This reply was modified 4 years, 3 months ago by icaro56.