Hi Elizeustachuka,
Firstly, thank you for using the plugin. Sure, I just noticed now. I will have a update in a day or two.
And can you please add the way to create this bug? ( How / When this bug happens? )
Thanks again,
Hemnath
Hi Hemnathmouli,
Added the coupon discount, in two ways:
Print Screen not logged: https://snag.gy/iTZLCf.jpg
Print Screen logged: https://snag.gy/zft3V7.jpg
The error occurs when logged in.
And congratulations, great plugin. Can add support to translate into Portuguese of Brazil, Amendment of the file .pot
Thanks!
Elizeustachuka,
Sure I will add the translator feature, possibly all language. Also is this site online? Can you share the URL with me?
Thanks,
Hemnath
Hemnathmouli,
Yes, but the store is in test.
http://www.graficaavig.com.br
Hi Elizeu ,
I tried all possible ways to create this buy, but I can’t reproduce this bug. Are you sure that this bug is produced due to WC Wallet? Can I get you WooCommerce system status report?, that might help me. And the translation option is done, I will have a release on that, with some more added feature.
Thanks,
Hemnath
-
This reply was modified 9 years, 1 month ago by
hemnathmouli.
Yes, it is related to the portfolio of W, because the error does not occur with the plugin disabled.
Use the coupon cΓ³d.: cartao10
The error is related to the code:
function woo_add_cart_fee( $carts ) {
if ( is_checkout() || is_cart() || defined(‘WOOCOMMERCE_CHECKOUT’) || defined(‘WOOCOMMERCE_CART’) ) {
if( is_user_logged_in() ){
$amount = get_user_meta( get_current_user_id(), ‘wc_wallet’, true );
if(isset($_POST[‘wc_w_field’]) && $_POST[‘wc_w_field’] !== null && $_POST[‘wc_w_field’] != “”){
$credit = $_POST[‘wc_w_field’];
$on_hold = get_user_meta( get_current_user_id(), ‘onhold_credits’,true ) != 0 ? get_user_meta( get_current_user_id(), ‘onhold_credits’,true ) : 0;
$cart_total = $carts->cart_contents_total;
if( is_wallet_include_tax() ){
$tax = this_get_tax( $carts );
$cart_total = $cart_total + array_sum($tax);
}
$in_wallet = $amount;
File: functions.php line: 52
** Yes, she is related to the WC Wallet, because the error does not occur with the plugin disabled
Hey thanks Elizeu π
It was actually a bug ( you are right ), I fixed it now. The new version will be available in 24 hours for everyone ( I need to update to WordPress ).
For now, you can try the new version here
http://woo.pe.hu/shop/ – products
http://woo.pe.hu/cart/ – cart
coupon – 20off
UN: demo
PW: demo
Thanks again,
Hemnath
Hi hemnathmouli,
How do I get the customer credit shopping.
So he buys credits, and is automatically added to the balance.
A plugin that has the function.
Hello Elizeu,
New version is available now, your bug will be cleared in that. And really it’s a good feature, I will add that in upcoming or next version. I am marking this as Resolved.
Thanks,
Hemnath