Session Timeouts

We’re currently fixing a set of issues with a shopping cart created through a different developer for a local client. They did a pretty good job but forgot about session timeouts. A lot of developers gloss over this aspect of their ecommerce site and unfortunately customers pay the price. Sessions are what is created to essentially track you when you first log on to a ecommerce site. This isn’t the bad kind of tracking, this is used for things like keeping items in your cart, logging in and account navigation.

W3C defines them as “A PHP session variable is used to store information about, or change settings for a user session. Session variables hold information about one single user, and are available to all pages in one application.”

By default sessions usually only last 24 minutes (1440 seconds) in PHP websites, or end when the browser is closed. This is fine for many websites and applications, often desired, but not generally a good idea for ecommerce websites. Why? because why would you want to have to put everything back into your shopping cart if you’ve been inactive for 30 minutes. If you close your browser and come back to shop the next day at the same website, you want your items to still be in there, waiting for you, right?

This is a huge potential non-starter for many folks. Even if they use your website once or twice it may promote them to look elsewhere if your website is annoying or making them have to do additional tasks. Luckily session timeouts are easily rectified in a number of ways which usually depend on your server setup. You can set timeouts on-page, in a php.ini file or through server setting if provided by the host. The point is, if you have a shopping cart, make sure your customers aren’t being aggravated by short session timeouts. It’s important.

More Web Design Blog Content

Good one on Sitelinks

Sitelinks also factor into your ad rank, and can influence the position of your ad on search page. Ad Rank previously took into account your max cost-per-click (CPC) and quality score, and now ad extensions and formats are another component of the calculation. Seems like a no-brainer to implement,

Conversion Optimization

So many people have a myopic outlook on SEO and SEM. They tend to focus on optimization as strawberry field, where you can just pick a little fruit from here or there and fill up your basket. Not so fast. It’s not just about having a full basket,

New Website for NWSF!

Northwest Seafood got hacked unfortunately. Being previous clients of ours we came to the rescue. The site was damaged beyond repair so our team of Gainesville Web Design experts took hold and gave them a brand new website in a matter of days. We always support our clients in

Adding a Fee in Woocommerce

This piggybacks off of a solution I found elsewhere. We modified it to add a single fee for products based on the taxonomy. It comes in handy to categories products and then apply this rule to that category. function action_woocommerce_checkout_calculate_fees( $cart ) { // Initialize $quantity = 0;

Another Mouse Burned

This makes my 7th mouse in less than 18 months. incessant clicking has it’s consequences … and costs …..