rangelrmorais
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Products getting -5 on stockHi @jamesgol, i have the plugin on two setups, one is online and another localhost.
I have a fresh xampp instalation and the latest release of wordpress, woocommerce and your plugin.
See the infos of my localhost on this link: https://bazara33.com/infos/info.html
And the versions of my wordpress: https://imgur.com/a/AIgQ4My theme is the latest storefront ( from woocommerce )
You want to check my online instalation as well? They both are with this bug.
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Products getting -5 on stockForum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Products getting -5 on stockForum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Products getting -5 on stockHi @jamesgol, im sorry but your wrong.
I made an local wordpress instalation, two plugins: Woocommerce and yours and the storefront theme.
I’ve created the product and setted the timer to 5 minutes.
With one browser in private mode, i clicked “buy” on the product and the timer started.
Then i close the browser and waited for more than 5 minutes. When i came back, with another sesion of the private mode, the product still doesnt got avaliable.
This is the message it was showing: This item is not available at this time due to pending orders. ( ps: i didnt proceed to the checkout, just added on cart ).
Then i came to the backend and saw that the product was in stock, but also was on someone’s cart.
Resume: the product doesnt come back to the stock and leave the cart after the timer has ended.
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Products getting -5 on stockYes, but the item just go back to the stock if the user that have the item on his cart:
A) stays on the site till the countdown ends
B) returns to the site after the countdown endsIm using this function right now:
add_action( 'init', 'woocommerce_clear_cart_url' ); function woocommerce_clear_cart_url() { global $woocommerce; if ($_SERVER['REQUEST_URI'] === '/') { $woocommerce->cart->empty_cart(); } }
I just need to find how trigger this at the time the user leaves the page.
Im trying javascript beforeunload, but i dont want an dialog message.
I’ll keep trying this javascript for some time, and then move to ajax if the js doesnt work.
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Products getting -5 on stockSure it is, but the timer today is kinda tricky because it depends of the user to remain on the site to expire. Right?
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Products getting -5 on stockLet me explain:
I have a shop that 99,99% of the products stock is 1.
Every time a product goes live, people come to the site and try to buy.
They even wait for the timer runs out to see if the product is avaliable or if it was purchased by someone else.
In the past it was ok to return the products to stock manualy after the people abandon their itens on their carts. But now this is becoming “not ok”.
Then i notice that the plugin just clear the cart session if the owner is on the page or returns after the time runs out.
So im searching for days for a way to clear the cart session after the owner of the cart goes out the site. Maybe some js + php would do it.
Im thinking in trigger the function that clear the cart with a JS who detect the page is closed. But im no expert on this things and im bit of lost now.
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Products getting -5 on stockOk, it made the ghost carts go away, but the products still with the negative state and out of the stock. I just changed it back to In Stock 1 .
off: about the other issue in the other topic. I guess that would solve all my problems.
Hi @jamesgol, seems we are talking on several topics right now hahaha.
Well, im really interested in this function, maybe we can negotiate something?
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Products getting -5 on stockHi @jamesgol, thanks for the quick reply!
In fact, i use the “WooCommerce – Abandon Cart Lite” to clear all carts, but even cleared, the itens dont change back. All the store has only one item to sell, so i guess this is cleary a bug, since there is no way to someone add more than one item to the cart.
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Abandoned items not going back in stockHi @jamesgol, in fact, this plugin was activated some days ago. Im using a plugin to clear the abandoned cards, but in fact, this “need” for the user back to the store to trigger the function that clear his cart, is complicating things around here. Is there a way to clear the user cart as soon he exits the page?
Im not an expert, but i’d love to contribuite with this in some way.
Well, i guess no one have find out how to do this ;/
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Abandoned items not going back in stockSame here, the item expire but it continues with the information that the item is on someones cart, and when i try – manualy – to put the item ot stock again, it wont work. I change the stats to “In Stock” and save, but it comes back to “Out of Stock”.
O-M-G
I’m so dumb hahahaha i spend all day trying to find a way/plugin to bulk change the wholesale price of the variations and i didn’t notice THIS OPTION: https://snag.gy/yzhASG.jpg
Forget all i said above ( except the last paragraph )
It’s ALIVE!
I dont know why this happens. My currency configuration was:
Currency position: left with space
Thousand Separator: . (dot)
Decimal Separator: . (dot)I guess it is the default configs, cuz i never had changed it.
Anyways, now this is working good!
The premium version has some feature that allow bulk price edit for variable products?
I already have tested so many plugins today and no one had given me what i need.
I just want to bulk edit wholesale prices on variable products.
Since you are here, what’s the name of the custom field of your plugin? I found a plugin that deal with custom fields, but i guess the variable products custom fields are too complicated to bulk edit, right?
Btw, thank you so much for this support, even with this bug, i was considering use your plugin above the other options, because it is the best on the market.