PDA

View Full Version : Combine Ship & Payment Info on one page


Leslie
08-14-06, 09:28 PM
:confused: Is there a way to merge the Shipping Information and Payment Information into one page during the checkout process? Or a way to hide some of this info. that I don't require? I sell downloadable software, so have no shipping charges. My store then sends users to PayPal for credit card transactions so they have to plow through a lot of pages to make a purchase. I think some users just give up and abandon their carts. Desparately seeking streamlined solutions...thanks!

PCINET - Andreas
08-14-06, 09:55 PM
Try this :D
(2004/07/22)The modification is relatively simple. In the "Main template" area of the template that you're using for the customer information page (the "Checkout: Customer Information" is the default template intended to be assigned to the OINF screen) replace the token:

%beginform|OINF|%

with

%beginform|OINFtoOPAY|%

This will cause the form to skip the payment/shipping selection screen. And somewhere between the %beginform|OINFtoOPAY|% and %endform% tokens add the table (in my test store I placed it right underneath the %beginform|OINFtoOPAY|% token so that it appears above the address information):

<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0">
<TR>
<TD ALIGN="left" VALIGN="top" NOWRAP>
<FONT FACE="%bdyfontface%" SIZE="%bdyfontsize%">
<B>Ship Via:</B>
</FONT>
</TD>
<TD ALIGN="left" VALIGN="top">
<FONT FACE="%bdyfontface%" SIZE="%bdyfontsize%">
%shippinglist|&lt;Select One&gt;|%
%begin_noshipping%
<BR>
<B>
No valid shipping methods are available for your order. You will be
contacted regarding shipping when your order is processed.
</B>
%end_noshipping%
</FONT>
</TD>
<TD ALIGN="right" VALIGN="top" WIDTH="100%">
%shippingicons%
</TD>
</TR>
<TR>
<TD ALIGN="left" NOWRAP>
<FONT FACE="%bdyfontface%" SIZE="%bdyfontsize%">
<B>Pay With:</B>
</FONT>
</TD>
<TD ALIGN="left">
<FONT FACE="%bdyfontface%" SIZE="%bdyfontsize%">
%paymentlist|&lt;Select One&gt;|%
</FONT>

</FONT>
</TD>
<TD ALIGN="right" WIDTH="100%">
</TD>
</TR>
</TABLE>

This table includes the tokens used to display the shipping and payment selection lists.

PCINET - Andreas
08-14-06, 09:58 PM
In order to get rid of the shipping selection just look at the source code of the OSEL screen and replace the shipping part with a hidden input containing a preset selection "electronic shipment".

PCINET - Andreas
08-14-06, 09:59 PM
That's the code yo want to replace with the hidden input field:
<FONT FACE="%bdyfontface%" SIZE="%bdyfontsize%">
%shippinglist|&lt;Select One&gt;|%
%begin_noshipping%
<BR>
<B>
No valid shipping methods are available for your order. You will be
contacted regarding shipping when your order is processed.
</B>
%end_noshipping%
</FONT>

Leslie
08-14-06, 11:25 PM
Thank you for this! It might just get me somewhere. But I have built my store just using Miva Wizards and don't know where to find these files to modify. I use Dreamweaver and am comfortable editing .html but don't understand how to access behind-the-scenes stuff on my store. So,I guess to start, what is the "OSEL" screen and how to I find it's source in my Miva directory?

PCINET - Andreas
08-15-06, 12:59 AM
Just contact me directly. I offer this service and could do it for you.

Leslie
08-15-06, 01:18 AM
Thanks Andreas. I'm starting to now, duh, read Miva docs and am understanding more about dynamic pages etc. Will research a bit more and figure out what I really want to do then maybe contact you.

PCINET - Andreas
08-15-06, 01:51 AM
I'm just a e-mail away or use skype :)

futureman0
09-01-06, 06:28 PM
Hello -

I stumbled onto this thread trying to streamline my checkout process too. I inserted the mentioned code into the "Checkout Customer Information" section (I'm using Viking Coders other page templates module). At first I thought it was working, but the more I tested it started giving "no shipping method" error. Anyone have any idea what it would be doing this? Thanks for your help!

Best,
Andrew

PCINET - Andreas
09-01-06, 07:28 PM
This looks like a probolem with your shipping module or you exchanged/added more then you should have.