Claudio Longato Jr
Forum Replies Created
-
Foi uma falsa solu??o, n?o ha conflito com outro plugin. O problema continua acontecendo em algumas vendas.
Outro plugin usa o mesmo hook do Mercado Pago e havia conflito entre os dois. Alterei a ordem de execu??o e o problema foi solucionado.
Forum: Plugins
In reply to: [WooCommerce] Shipping zones do not worl when updating cartSorry, Shipping zones do not worK when updating cart
I’m trying to use a custom Bank Transfer payment gateway and I cannot complete the purchase.
I always get an empty error message.
Vi esse e um outro post aqui. O problema acontece quando mudamos o código do cupom: se mantiver o código gerado automaticamente pelo plugin, n?o tem problema; se mudar, ele n?o remove o cupom para formas de pagamento sem desconto.
Forum: Plugins
In reply to: [WooCommerce] Cross Sell Error – not showingFurther inspection in the database showed that cross sells are not being stored. I manually added them in the database (copied ‘upsells’ syntax) and now cross sells are showing up, but I′m with a new question: why are cross sells not being saved in the database? The form field is populated correctly in the edit page.
Forum: Plugins
In reply to: [WooCommerce] Cross Sell Error – not showingYes, they were imported using Product CSV Import. Now I have exported all variations including hidden meta fields and there are two meta field related to cross sells: meta:_crosssell_ids and meta:_crosssell_skus.
How can I get rid of those columns and use the ‘default’ of woocommerce?
Forum: Plugins
In reply to: [WooCommerce] Cross Sell Error – not showingSpotted the problem: get_cross_sells does not use the ‘parent id’ of the variation to check for cross sells.
I′ve change the function from this:
foreach ( $this->get_cart() as $cart_item_key => $values ) {
if ( $values[‘quantity’] > 0 ) {
$cross_sells = array_merge( $values[‘data’]->get_cross_sells(), $cross_sells );
$in_cart[] = $values[‘product_id’];
}
}to this:
foreach ( $this->get_cart() as $cart_item_key => $values ) {
if ( $values[‘quantity’] > 0 ) {
$item_cross_sells = ((int)$values[‘variation_id’] > 0) ? $values[‘data’]->parent->get_cross_sells() : $values[‘data’]->get_cross_sells();
$cross_sells = array_merge( $item_cross_sells, $cross_sells );
$in_cart[] = $values[‘product_id’];
}
}And now I have my cross sells showing up correctly because now the function is aware of the type of product.
Is this something that should be changed in woocommerce?
Forum: Plugins
In reply to: [WooCommerce] Cross Sell Error – not showingI′ve tried that and still nothing.
The point is the function that is supposed to retrieve cross sells doesn′t find any, even though there is a cross sell set for the variation′s ‘parent’ product.
Forum: Plugins
In reply to: [WooCommerce] Order handling cost – for the storeThe idea is to have a profit/loss statement:
– Payment gateway fees that I pay and don′t charge the customer
– any shipping cost which the customer is not being charged, nevertheless is a cost the store paysForum: Plugins
In reply to: [WooCommerce] Cross Sell not workingMike,
Yes, they are. I don′t know if it is an issue: all my products are variable. But I′ve tested them as Up-sells and related, and they all show up in the product page.
Forum: Plugins
In reply to: [Autoptimize] Force / defer javascriptThat′s superb. Thank you very much!
Forum: Plugins
In reply to: [Claudio Sanches - PagSeguro for WooCommerce] Otimiza??o do javascriptConsegui fazer alguns testes com o Autoptimize. O javascript precisa ser mantido no header (ou pelo menos esta op??o precisa estar definida no autoptimize) para que o lightbox funcione normalmente.
Mais uma vez obrigado pelo plugin!
Forum: Plugins
In reply to: [WooCommerce] Pending Payment – Automatic cancel not workingChecked:
– order pending (wc-pending)
– using WP-Cron: it ran and nothing happened.Any setting that I should look?
Forum: Plugins
In reply to: [Visualizer: Tables and Charts Manager for WordPress] Chart Refresh?I′m having the same problem. First graph was fine but can′t create a second.