Olá Kayo, estou vendo que o plugin n?o sofre atualiza??o há mais de 1 ano e desde Julho desse ano come?ou a ocorrer um problema com o plugin que é o fato de que ele n?o retorna frete nem no carrinho e nem na página de finalizar compra.
Define a medida como cm para os produtos e o peso em kg. Todos os produtos est?o perfeitamente cadastrados com as devidas medidas. As informa??es est?o corretas.
Quando olho o Log, como retorno eu tenho a seguinte mensagem:
[22-Sep-2021 19:41:52 UTC] height was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
[22-Sep-2021 19:41:52 UTC] width was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
[22-Sep-2021 19:41:52 UTC] length was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
[22-Sep-2021 19:41:52 UTC] weight was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
N?o sei como resolver o problema.
]]>Tenho as informa??es preenchidas dentro do plugin e as dimens?es e peso do produto colocadas corretamente, mas n?o tenho resultados na calculadora e recebo este erro no log.
[07-Feb-2022 08:23:52 UTC] height was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
[07-Feb-2022 08:23:52 UTC] width was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
[07-Feb-2022 08:23:52 UTC] length was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
[07-Feb-2022 08:23:52 UTC] weight was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
]]>
Olá Kayo, tudo bem?
Primeiro obrigado pela iniciativa do plug-in.
Fiz a configura??o com login e senha de produ??o e já tentei de tudo aqui, mas n?o está encontrando nenhuma forma de frete nem no carrinho nem na página de finalizar compra.
Estou com esses erros no log.
[27-Jul-2021 20:23:04 UTC] weight was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_totals, WC_Cart_Totals->__construct, WC_Cart_Totals->calculate, WC_Cart_Totals->calculate_shipping_totals, WC_Cart_Totals->get_shipping_from_cart, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
[27-Jul-2021 20:23:04 UTC] height was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_totals, WC_Cart_Totals->__construct, WC_Cart_Totals->calculate, WC_Cart_Totals->calculate_shipping_totals, WC_Cart_Totals->get_shipping_from_cart, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_API->get_shipping, KB_WooCommerce_Braspress_API->get_cubage, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
[27-Jul-2021 20:23:04 UTC] width was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_totals, WC_Cart_Totals->__construct, WC_Cart_Totals->calculate, WC_Cart_Totals->calculate_shipping_totals, WC_Cart_Totals->get_shipping_from_cart, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_API->get_shipping, KB_WooCommerce_Braspress_API->get_cubage, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
[27-Jul-2021 20:23:04 UTC] length was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_totals, WC_Cart_Totals->__construct, WC_Cart_Totals->calculate, WC_Cart_Totals->calculate_shipping_totals, WC_Cart_Totals->get_shipping_from_cart, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_API->get_shipping, KB_WooCommerce_Braspress_API->get_cubage, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
Muito obrigado pela ajuda.
Abra?os.
]]>O que pode ser?
Obrigado
]]>Boa tarde, sabe se houve alguma mudan?a na API que possa ocasionar o plugin de parar de funcionar?
Ou se tem algum log que possamos verificar?
obrigado
]]>Primeiramente muito obrigado por criar um plugin que roda 100% com a Braspress.
Segue melhorias que eu tive que fazer editando o código e poderiam existir dentro do plugin:
`1) Mesmo alterando o nome do método de envio o mesmo n?o aparece como eu escolhi no carrinho. Aparece o nome fixo “Braspress Rodoviário”. (fiz via arquivo de tradu??o .po)
2) Criar campo dentro do plugin para alterar o modo como é exibido o prazo, no meu caso eu uso (até X dias úteis). (fiz via arquivo de tradu??o .po)
3) Adicionar campo para aumentar/ dar desconto no valor do frete retornado (percentual ou fixo). (n?o encontrei qual arquivo devo editar, se puder me dizer qual é, o cálculo em php eu fa?o).
obrigado e parabéns!
]]>Olá,
Tentei fazer a configura??o do frete da Brasspress usando tanto o login para teste que é o de Homologa??o como também o de Produ??o, no inicio apenas o Braspress Aeropress que ficou ativo, agora nenhum deles fica ativo, será que consegue ajudar nessa configura??o? Foi feito igual mostra nas imagens de exemplos
]]>Olá, mesmo depois de instalar o plugin e colocar tudo corretamente, ele retorna uma mensagem que n?o foi possível calcular o frete na página do carrinho.
]]>Uso Braspress há 2 anos via Frenet, testei esse plugin mas n?o consigo fazer o frete aparecer. Tenho usuário e senha da Braspress e consigo acessar o site deles https://api.braspress.com/
]]>Opa td bem?
Instalei o plugin e coloquei os dados de acesso (user e senha da braspress)
Mas o mesmo n?o está retornando o valor do frete
O plugin dos correios esta funcionando normalmente
Mas o braspress diz que nao existem meios disponiveis
Alguma sugest?o?
Obriagdo!
]]>