![]() |
OnePageCheckout? |
Post Reply ![]() |
Page <123> |
Author | |||
Ludwig ![]() Groupie ![]() Joined: 07-August-2011 Status: Offline Points: -4 |
![]() ![]() ![]() ![]() ![]() |
||
Is it difficult to change the name of the onepagecheckout.asp page? That's the other thing I would want to change.
|
|||
![]() |
|||
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
||
The OPC uses a different variable name for the order total amount. You should be able to simple replace this in the above:
with this:
(assuming you're not using SubscriptionBridge) |
|||
![]() |
|||
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
||
I wouldn't got there
![]() |
|||
![]() |
|||
Ludwig ![]() Groupie ![]() Joined: 07-August-2011 Status: Offline Points: -4 |
![]() ![]() ![]() ![]() ![]() |
||
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"> </td> </tr> </table> </div> <% '///////////////////////////////////////////////////////////////////////// '// ORDER PREVIEW: END '///////////////////////////////////////////////////////////////////////// %> Edited by Ludwig - 13-March-2012 at 5:18pm |
|||
![]() |
|||
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
||
The OPC has it's own style sheet, so you'd need to add that to your gateway page:
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.
|
|||
![]() |
|||
Ludwig ![]() Groupie ![]() Joined: 07-August-2011 Status: Offline Points: -4 |
![]() ![]() ![]() ![]() ![]() |
||
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...
|
|||
![]() |
|||
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
||
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:
That's what pulls the actual content.
|
|||
![]() |
|||
Ludwig ![]() Groupie ![]() Joined: 07-August-2011 Status: Offline Points: -4 |
![]() ![]() ![]() ![]() ![]() |
||
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 |
|||
![]() |
|||
Ludwig ![]() Groupie ![]() Joined: 07-August-2011 Status: Offline Points: -4 |
![]() ![]() ![]() ![]() ![]() |
||
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.
|
|||
![]() |
|||
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
||
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.
|
|||
![]() |
Post Reply ![]() |
Page <123> |
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |