ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - OnePageCheckout?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OnePageCheckout?

 Post Reply Post Reply Page  <123>
Author
Message
Ludwig View Drop Down
Groupie
Groupie


Joined: 07-August-2011
Status: Offline
Points: -4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ludwig Quote  Post ReplyReply Direct Link To This Post Posted: 13-March-2012 at 4:38pm
Is it difficult to change the name of the onepagecheckout.asp page? That's the other thing I would want to change.
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 13-March-2012 at 4:51pm
Originally posted by Ludwig Ludwig wrote:

Here's what I will do as a temporarily improvement. I am removing the old checkout steps graphic and replacing it with a <h1>Payment</h1> page title, so it matches the Checkout page title on the onepagecheckout page.

Then I will add the little Order Total box in the top right corner to match the onepagecheckout, and lastly I want to put the "Order Preview" section at the bottom of the payment page... if I do these three things, I guarantee it will look 10 times better, because the payment page will match the rest of the checkout and it won't seem so disjointed and poorly designed.

I have already removed the old graphic and replaced it with a "Payment" page title. I tried adding the little total box but it's not working... would have been too good to be true if I could have just pasted this onto the payment page:

<tr>
            <td>
                <% '// ORDER TOTAL - START %>
                    <div id="pcOPCtotal">
                        <div id="pcOPCtotalAmount"><%=scCurSign & money(opcOrderTotal)%></div>
                        <div id="pcOPCtotalLinks"><a href="#orderPreview"><%=dictLanguage.Item(Session("language")&"_opc_1")%></a></div>
                    </div>
                <% '// ORDER TOTAL - END %>
                <h1>Payment</h1>
            </td>
        </tr>

Can anyone help get this little box to work on the payment page? You should try this new layout and see how good it looks.

The OPC uses a different variable name for the order total amount. You should be able to simple replace this in the above:
<div id="pcOPCtotalAmount"><%=scCurSign & money(opcOrderTotal)%></div>
with this:
<div id="pcOPCtotalAmount"><%=scCurSign & money(pcBillingTotal)%></div>
(assuming you're not using SubscriptionBridge)


Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 13-March-2012 at 4:53pm
Originally posted by Ludwig Ludwig wrote:

Is it difficult to change the name of the onepagecheckout.asp page? That's the other thing I would want to change.

I wouldn't got there Wink
Back to Top
Ludwig View Drop Down
Groupie
Groupie


Joined: 07-August-2011
Status: Offline
Points: -4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ludwig Quote  Post ReplyReply Direct Link To This Post Posted: 13-March-2012 at 5:05pm
Originally posted by Sean@WMS Sean@WMS wrote:


The OPC uses a different variable name for the order total amount. You should be able to simple replace this in the above:
<div id="pcOPCtotalAmount"><%=scCurSign & money(opcOrderTotal)%></div>
with this:
<div id="pcOPCtotalAmount"><%=scCurSign & money(pcBillingTotal)%></div>
(assuming you're not using SubscriptionBridge)



That worked great, but why isn't the CSS applying to the box like it does on the onepagecheckout page? I have the same css files in my header on the onepagecheckout and the gateway page. Also, is it going to be hard to add the orderpreview section to the bottom of the gateway page? I tried pasting this, but of course it won't be that easy, lol. Maybe I need to add an include or something

<%
    '/////////////////////////////////////////////////////////////////////////
    '// ORDER PREVIEW:  START
    '/////////////////////////////////////////////////////////////////////////
    %>  
    <a name="orderPreview"></a>
    <div id="opcOrderPreviewDIV">
        <div class="pcCheckoutSubTitle"><%=dictLanguage.Item(Session("language")&"_opc_41")%></div>
    <table class="pcMainTable" id="opcOrderPreview">
        <tr>
            <td>
                <script>
                    var OPCReady="NO";
                    var tmpchkFree="";
                </script>
                <div id="OPRWarning">
                    <!--#include file="opc_inc_viewitems.asp"-->
                </div>
                <div id="OPRArea" style="display:none">
                </div>
            </td>
        </tr>
        <tr>
            <td class="pcSpacer">&nbsp;</td>
        </tr>
    </table>
        </div>
    <%
    '/////////////////////////////////////////////////////////////////////////
    '// ORDER PREVIEW:  END
    '/////////////////////////////////////////////////////////////////////////
    %> 



Edited by Ludwig - 13-March-2012 at 5:18pm
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 13-March-2012 at 5:20pm
The OPC has it's own style sheet, so you'd need to add that to your gateway page:
<link href="../includes/spry/SpryAccordionOPC.css" rel="stylesheet" type="text/css" />

Displaying the order review on the gateway page:

At first glance under the hood it looks like this should be viable. I'd need some time to tinker with it, though.
Back to Top
Ludwig View Drop Down
Groupie
Groupie


Joined: 07-August-2011
Status: Offline
Points: -4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ludwig Quote  Post ReplyReply Direct Link To This Post Posted: 13-March-2012 at 5:26pm
This is looking awesome! EI should have made these small changes, it really makes the two pages blend together much better. Now if I can just add the OrderPreview section...
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 13-March-2012 at 11:25pm
I agree that there's room for improvement here with your vision to make the OPC at least look like it's rather seamless. With all of the gateways PC includes, I'm not sure how enthusiastic EI will be to follow through with them all, but you've perked my interest to look further into doing this with the gateways our merchants typically work with.

Unfortunately, I just don't have any time to look into rendering the Order Preview content on a gateway page right now. 

But keep us informed on what you come up with. Would love to see it.

HINT: I suspect there may be some CSS/AJAX in the way here, so try just including this SSI:
<!--#include file="opc_inc_viewitems.asp"-->

That's what pulls the actual content.
Back to Top
Ludwig View Drop Down
Groupie
Groupie


Joined: 07-August-2011
Status: Offline
Points: -4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ludwig Quote  Post ReplyReply Direct Link To This Post Posted: 14-March-2012 at 12:05pm
in my code above for the order preview you can see if has the viewitems.asp line in it and if you put it on the gwpaypal.asp page in particular it produces this

Microsoft VBScript compilation error '800a0411'

Name redefined

/store/pc/opc_inc_viewitems.asp, line 310

Dim pcv_strOptionsArray, pcv_intOptionLoopSize, pcv_intOptionLoopCounter, tempPrice, tAprice
----^



Edited by Ludwig - 14-March-2012 at 12:06pm
Back to Top
Ludwig View Drop Down
Groupie
Groupie


Joined: 07-August-2011
Status: Offline
Points: -4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ludwig Quote  Post ReplyReply Direct Link To This Post Posted: 19-March-2012 at 10:26pm
Any get a chance to fiddle around with this? Would be nice to add the orderpreview to payment page. Also, if EI is interested I'll send them files for all the gateway pages with the changes... they look really nice and make the checkout much more seamless. I highly recommend making these simple changes.
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 19-March-2012 at 11:18pm
Originally posted by Ludwig Ludwig wrote:

Any get a chance to fiddle around with this? Would be nice to add the orderpreview to payment page. Also, if EI is interested I'll send them files for all the gateway pages with the changes... they look really nice and make the checkout much more seamless. I highly recommend making these simple changes.

Hi Ludwig,

We're swamped at the moment, and it's clear that this piece goes beyond what we can do via the forum.

If you're really serious about wanting the order preview on a gateway page and willing to contract some time to get it done, then please request a quote through our site.

Love the vision here, but the execution is going to take some effort.
Back to Top
 Post Reply Post Reply Page  <123>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.