close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart checkout redirect fails if not logged in before ordering

Thread began 9/07/2015 10:17 am by MattKatt | Last modified 9/08/2015 2:46 pm by Ray Borduin | 1333 views | 6 replies |

MattKatt

eCart checkout fails if not logged in before ordering

Hi. Our website eCart has an interesting hiccup. If a user is not logged in when placing items into a cart, then upon checkout, they are redirected to a log-in page, which is fine. BUT when then trying to checkout, the website returns an empty cart. This does NOT happen when a user is already logged in before adding items to a cart.

How do i avoid the empty cart scenario with users who log in after adding items to their cart?

Sign in to reply to this post

Ray BorduinWebAssist

Can I get a url and a username/password so I can reproduce the problem... also maybe a copy of the login page.

Sign in to reply to this post
Did this help? Tips are appreciated...

MattKatt

Sure.

Sign in to reply to this post

Ray BorduinWebAssist

I can't for the life of me figure out how to add something to the cart. What page is that done on?

Sign in to reply to this post
Did this help? Tips are appreciated...

MattKatt

Sorry. I'm still styling some of the cart. Also, due to the nature of the business, you have to chose a shirt AND a design before you can add them to the cart:

Click order now in the top right, then chose option A
Choose any apparel category, then a type (Short sleeve, then 50/50 tee for example)
Enter a number into any size box (at least 12) then click submit at the bottom.
Click the words that say "Click here to add your first design"
Choose a design category/design, then choose two ink colors in the colorizer. Click "Select these colors"
Select full front and click submit. Dont worry about anything else on that page.
Finally, click "add to cart". It will (annoyingly) be on the right hand side, between the apparel and the design. This will take you to the cart.

Sign in to reply to this post

Ray BorduinWebAssist

OK this is because your redirect is taking you from: http://www.yoursite.com to https://yoursite.com.

Sites with and without the "www." function as separate sites.

The solution is to add a .htaccess file to either force it to always or never use www. so it stays consistent.

Try this in a .htaccess file:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]



replacing example.com with your domain

Sign in to reply to this post
Did this help? Tips are appreciated...

MattKatt

Fantastic! Seems to fix the issue completely! Thanks so much.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...