[CubeCart] Speed Customers Mod

Magic SEO URLs for CubeCart.
AIPman1
Posts: 13
Joined: Wed Aug 05, 2009 8:35 am

Re: [CubeCart] Speed Customers Mod

Postby AIPman1 » Wed Aug 26, 2009 11:33 am

Hmmm, well - I did try that when you posted it, and it is not different from the original version from the mod, which I copy and paste here:

Code: Select all

/* start mod: Speed new customers through checkout - http://cubecart.expandingbrain.com */
'email_in_use' => "An account already exists with that email address. Please <a href='index.php?_a=login&redir=index.php%3F_g%3Dco%26_a%3Dcart'>log in</a> or use the <a href='index.php?_a=forgotPass'>forgot password</a> feature if you cannot remember your password.",
/* end mod: Speed new customers through checkout - by Estelle */


and I tried inserting yours and it didn't change the behavior.

Any progress on this is appreciated!

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Speed Customers Mod

Postby inveo » Wed Aug 26, 2009 11:35 am

No. It is different. Please check it more carefully.

AIPman1
Posts: 13
Joined: Wed Aug 05, 2009 8:35 am

Re: [CubeCart] Speed Customers Mod

Postby AIPman1 » Wed Aug 26, 2009 12:06 pm

hmm, you're right, i see the difference. However...it still doesn't work EITHER way, live, on my site. it redirects to the homepage, not the shopping cart.

-------------

AHA!!! Looking further, the install of the modification also has you do this:

Code: Select all

File : skins/{YOUR SKIN}/styleTemplates/content/reg.tpl
Around line 8 (8) ...
FIND this block :

</div>
<!-- END: checkout_progress -->
<!-- BEGIN: no_error -->
<p>{LANG_REGISTER_DESC}</p>
<!-- END: no_error -->
<!-- BEGIN: error -->

INSERT green text as highlighted below:

</div>
<!-- END: checkout_progress -->
<!-- BEGIN: no_error -->

<!-- start mod: Speed new customers through checkout - by Estelle -->
<p><strong>Already have an account?</strong> Please <a href='index.php?_a=login&redir=index.php%3F_g%3Dco%26_a%3Dcart' class='txtLink'>log in</a> or use the <a href='index.php?_a=forgotPass' class='txtLink'>forgot password</a> feature if you cannot remember your password.</p>
<!-- end mod: Speed new customers through checkout - by Estelle -->

<p>{LANG_REGISTER_DESC}</p>
<!-- END: no_error -->
<!-- BEGIN: error -->


So I'll let you, as the expert, say if that is what's causing the redirect problem, and what should be changed.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Speed Customers Mod

Postby inveo » Sun Aug 30, 2009 8:55 am

Have you tried the code in my post or the code in your last post? I am now a bit confused...

AIPman1
Posts: 13
Joined: Wed Aug 05, 2009 8:35 am

Re: [CubeCart] Speed Customers Mod

Postby AIPman1 » Sun Aug 30, 2009 3:50 pm

I have the code you gave installed, and it does not change the behavior. As I further investigated, this is actually the code that makes the links on that page - it's a different page, in the template:

Code: Select all

    File : skins/{YOUR SKIN}/styleTemplates/content/reg.tpl
    Around line 8 (8) ...
    FIND this block :

    </div>
    <!-- END: checkout_progress -->
    <!-- BEGIN: no_error -->
    <p>{LANG_REGISTER_DESC}</p>
    <!-- END: no_error -->
    <!-- BEGIN: error -->

    INSERT green text as highlighted below:

    </div>
    <!-- END: checkout_progress -->
    <!-- BEGIN: no_error -->

    <!-- start mod: Speed new customers through checkout - by Estelle -->
    <p><strong>Already have an account?</strong> Please <a href='index.php?_a=login&redir=index.php%3F_g%3Dco%26_a%3Dcart' class='txtLink'>log in</a> or use the <a href='index.php?_a=forgotPass' class='txtLink'>forgot password</a> feature if you cannot remember your password.</p>
    <!-- end mod: Speed new customers through checkout - by Estelle -->

    <p>{LANG_REGISTER_DESC}</p>
    <!-- END: no_error -->
    <!-- BEGIN: error -->


I don't know how to re-write

Code: Select all

<a href='index.php?_a=login&redir=index.php%3F_g%3Dco%26_a%3Dcart' class='txtLink'>log in</a>


THAT link to do things correctly. The link you wrote for the other page does not work there if try to just go on what you did on the reg page.

your continued help is appreciated.

AIPman1
Posts: 13
Joined: Wed Aug 05, 2009 8:35 am

Re: [CubeCart] Speed Customers Mod

Postby AIPman1 » Thu Sep 03, 2009 9:54 am

still hoping there's a solution.....

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Speed Customers Mod

Postby inveo » Thu Sep 03, 2009 9:57 am

Code: Select all

<a href='account/login.html?redir=index.php%3F_g%3Dco%26_a%3Dcart' class='txtLink'>log in</a>

AIPman1
Posts: 13
Joined: Wed Aug 05, 2009 8:35 am

Re: [CubeCart] Speed Customers Mod

Postby AIPman1 » Thu Sep 03, 2009 10:25 am

That's done it!!! Thanks!!!!