CMS MADE SIMPLE FORGE

Cart Made Simple

 

[#9516] Email Checkout with logged in users not working

avatar
Created By: Max Oberberger (chiemseesurfer)
Date Submitted: Thu Sep 05 10:19:25 -0400 2013

Assigned To: Duketown (duketown)
Version: Version 0.4.4
CMSMS Version: 1.11.7
Severity: Major
Resolution: None
State: Open
Summary:
Email Checkout with logged in users not working
Detailed Description:
Two Cases:
1. Logged In User
If a User is logged in and adds some products to his cart, he can go to cart but
after the form to enter his name, mail and shippingaddress not able to continue.
Short: The page to confirm his order does not appear.

2. Not logged in User
Everything works. I can add things to cart and check out everything.

I see nothing in logfiles.

Steps:
Add product to cart -> Check out -> Enter Shiping Address -> Continue check out
(Not able to click at case 1)


History

Comments
avatar
Date: 2013-09-08 15:43
Posted By: zou (zouloufr)

Hello,
Can you explain me how you managed to get this version to work with the latest
CMSMS ?
Thanks.
      
avatar
Date: 2013-09-09 16:31
Posted By: Max Oberberger (chiemseesurfer)

I just installed it via Module Manager and accepted all dependencies.
      
avatar
Date: 2013-09-24 14:44
Posted By: Max Oberberger (chiemseesurfer)

Here a detailed description:

I installed a new CMSMS with a mysql database in the background. Adapted just
the css style of the page.

* At the admin interface I opened the ModulManager.
* Opened available Module tab
* Looked for CartMadeSimple (Version 0.4.4 was displayed)
* Installed CartMadeSimple with all its dependencies (FrontEndUsers => 1.12.0,
ShopMadeSimple => 0.3.0)
* No troubles/errors occured
* Installed CustomContent to get $ccuser->loggedin() according to this blog
entry:
http://www.spacetacular.com/2010/04/cmsms-front-end-users-restrict-pages-group/2010/

After installation I did some configuration:
* Insert some Products and Categories into eCommerce -> ShopMadeSimple
* adapt mailsettings in CartMadeSimple to match my wishes. 
* In CartMadeSimple -> Options: Set Order handling type to email and changed
currency for cart values to EUR
* In CMSMailer I inserted my mailserver settings 

Now I created some new pages.
One called Articles with following content:

{cms_module module='CartMadeSimple' template='tinybox'}

{cms_module module=ShopMadeSimple display='productlist' catname='MyCat'
lang='de_DE'}

One called login with following content:
{cms_module module='FrontEndUsers' form='login' returnto='artikel'}

To force a user to log in to see my products, I inserted following line in my
template I use for the Articles page:
{if !$ccuser->memberof('CartMadeSimple')}{redirect_page page='login'}{/if}

It is inserted just after <body> line.

Now I inserted a new user into FrontEndUsers

Now it is possible to authenticate this user. But it is later not possible to
complete my order.

Is this description accurate enough?

Regards


      
avatar
Date: 2013-10-04 07:50
Posted By: Max Oberberger (chiemseesurfer)

If it is helpful, I can offer access to my testsystem.
      
Updates

Updated: 2013-10-04 07:50
resolution_id: => 5