We have several eCommerce sites built with Classic ASP. Our customers complain that their shopping carts get emptied for no apparent reason AND that they are moving quickly through the site.
Our shopping cart uses the customer's sessionid and stores their items in a shoppingcart table in the database. What I suspect is happening is that the sessionid is getting changed, hence, no record of items in the shoppingcart table for that new sessionid.
This is on a Windows 2012 server/IIS7 and the ASP->Session Properties->Session Properties->New ID On Secure Connection is set to False.
So, apparently, IIS7 sometimes resets the sessionID and kills the cart. This happens more frequently when someone is putting LOTS of things into their cart, hence, more exposure to this IIS7 issue.
Is there a better way to handle a shopping cart? For instance, would I be better off placing a cookie in their browser with a unique identifier, then use that instead of the sessionID to retain the customer's shopping cart?
Cookies get clobbered too on occasion -- not sure which direction to turn, lost in the woods.
Related
I've been looking for an answer to this. Client has a woocommerce shop that will only ever have one of each product. What I need to accomplish is that when a product is added to their cart, the item is unavailable for anyone else to add the same product to a cart. I've tried the old plugin but it breaks portions of the front end, I've tried using several similar solutions I've found here, but nothing seems to do the trick. The plugin also made inventory management on the backend a total nightmare.
So, to walk you through, user A adds product A to cart. User B tries to add this product to cart but woocommerce says its sold out currently to user B. User A can checkout with product A or if user A closes the browser, woocommerce waits one minute and then puts product A back in stock so person B can then add product A to their cart.
I've been searching for this and have come up with nothing from here and some company claiming they can but it's done case by case and they want to handcode it aka very expensive to do.
Please, help!
Just an opinion here so maybe I am wrong, but woo commerce uses stock counts in the backend, so if this is set to 1, then there can only ever be one that can go through the checkout process unless cancelled.
The functionality to reduce that stock count to 0 whilst a user has that item in their basket (or just viewing the checkout page) is not feasible as they have not purchased, at that stage it is just showing intent to purchase.
As you mentioned, that functionality is possible, it wouldn't be pretty, but possible and not something that is available by default in the plugin. Development of such functionality would be needed, and you're right probably quite expensive for development time.
On our site we are using WooCommerce and the Subscription extension and this is working fine. However, we have recently decided that we are going to remove our subscription service. But what I am concerned about is how to properly remove the subscription setup.
I have manually gone thru and cancelled any active subscriptions so they will no longer be billed. And on a future date (to make sure people have access till the end of their current billing cycle) we plan to completely remove subscriptions.
Would removing the subscriptions extension plugin cause problems? What would be the best method of removing the subscription products (currently I have set the subscription item to out of stock and also set it to private so no more orders can be placed). If I delete the subscription product completely would that affect the sales reports (I am guessing it would as the product would no longer exists).
Also how would deleting a product affect orders where that product was purchased? Would the order just simply show no items (but keep the totals)?
Thanks in advance!
I would delete every subscription product, just go to your woocommerce products and filter by the category you set your subscriptions too and delete them all.
Then on the day which your last sub expires remove the plugin in the normal method.
If you have them as out of stock and private/hidden, that should be good enough until all the subs are finished. I wouldn't remove them as products until at least the last orders are created. If you do, they may not generate.
I am totally new on WooCommerce, and I have a client with an "issue", that I am not sure if that is really an issue.
What he described to me, was the following scenario:
The client comes in the web site,
The client add some product in the cart,
Then he goes in the cart, and he perform a login
then the client logou, and the cart is getting empty.
So the question is, this behavior is the normal procedure for WooCommerce ? If so, is there a way to avoid the empty cart after the user is getting log ou of his account ?
There is a setting "clear cart on logout". Probably is enabled.
I am using Woocommerce plugin for a WordPress site. But when as user I checkout I can see form populated with last user's details. How to set form entries to blank in Woocommerce. Please help.
Fields are pre-populated with last user's detail. Is there a way to avoid this?
Not sure with your exact issue , but there might be two possible situations in your case.
You might me logged in with same user and then trying to
checkout, as woo-commerce will fetch the details of currently active
user and auto fill it during checkout.
Fields might get auto fill from your browser cache , try to checkout using another browser or
by clearing cache , if its due to cache than that's not an issue at
all, as it your browser functionality which keep the data store
temporarily for your next usage.
I am developing a website by using ASP.NET.
I have a page where users can put advertisements to my website. So he has to select the location , ad category type the contact details and post the ad. So after finishing it he has to press the button Proceed.
Then I hope to took him to a new page which showing him how exactly his ad will show in my website. So if he has to do some modifications he can go back and again he has to press the Proceed button after editing it. If he satisfied he can confirms the ad an then the records should add to my database.
So I am wondering where to temporary keep these data and show in the page?
My idea is to store these details in sessions or in cache. I think session will be good. But people are saying that you should avoid using sessions at all cost because it eat ups the memory in server. What I am going to display are not critical data. So I dont want any security regarding the data. So tell me what is the best way to show user's entered data in a another page temporally until user confirm it?