close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Why is the checkout page generated by eCart6 not displaying using the full page width on mobile

Thread began 3/12/2015 8:14 am by Dave Buchholz | Last modified 3/16/2015 9:55 am by Jason Byrnes | 1579 views | 7 replies |

Dave BuchholzBeta Tester

Why is the checkout page generated by eCart6 not displaying using the full page width on mobile

ok so I am finally building my first site with eCart6 after many many sites using eCart5

the checkout page displays half the width (or less) on my iPhone, and for the life of me I cannot understand why I see no media queries that would do this so what's up with this ?

also is there an easy way to disable the js validation ?

Thanks,

Dave Buchholz

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a link please where i can see this happening.

to disable the JQuery validation, remove the script block for it, it will look similar to this:

var CheckoutWizard_NewFromBlank_Default_Opts = {
focusout: true,
focusin: false,
change: false,
keyup: false,
popupClass: "Bloom",
pointedAt: "left",
fieldOffset: 10,
fieldMargin: 2,
position: "left",
direction: "left",
border: 1,
offset: 25,
closeText: "✖",
percentWidth: 100,
orientation: "bottom"
};
function CheckoutWizard_NewFromBlank_Default_Validate() {
$("#CheckoutWizard_NewFromBlank_Default").h5Validate(CheckoutWizard_NewFromBlank_Default_Opts);
}
Sign in to reply to this post

Dave BuchholzBeta Tester

Thanks Jason, I have pm'ed the url address of the dev site. Found the code block as well thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

hmm, i think i;ll need to troubleshoot directly.

please send ftp login details so I can access the site files directly to troubleshoot.

Sign in to reply to this post

Dave BuchholzBeta Tester

Jason,

ftp details in PM, another question which bindings do I need to use to get the order details when using PayPal option ? I have IPN set up in the clients PayPal account so can I just use the normal IPN Cart Bindings as I have always done ? I see there is a Get Payer Profile from PayPal Express Checkout but this doesn't seem to include any order totals ?

Thanks

Dave Buchholz

Sign in to reply to this post

Dave BuchholzBeta Tester

ok so I have fixed the issue I was having with the cart display and IPN works just fine

I will do a write up of the changes and some suggestions and post it back to this thread in case anyone else has the same issues

Sign in to reply to this post

Dave BuchholzBeta Tester

These comments are based on using the fd_basic_default.css file and the form is identified by the following comments in the code

<!--
WebAssist CSS Form Builder - Form v1
CC: eCommerce
CP: Checkout Wizard
TC: Basic
TP: Default
-->

For mobile checkout you cannot have large set pixel widths so the following rules were changed:

/* form general definition */
form.Basic_Default {
/*width:760px;*/
width: 100%;
}

form.Basic_Default div.fullColumnGroup {
/*width:728px;*/
width: 100%;
padding-bottom:15px;
padding-top:7px;
display:inline;
float:left;
}

form.Basic_Default div.columnGroup {
/*width:760px;*/
width: 100%;
padding-bottom:15px;
padding-top:7px;
display:inline;
float:left;
}

This worked for me because the form is contained within a div that has it's width set as a percentage of the overall container so my aim is to have the form occupy 100% of that width.

On a mobile device forms should be displayed with the label above the form element not side by side as you do on the desktop so I wrote the following media query to do this:

/* Smartphones Portrait */
@media only screen and (min-width: 0px) and (max-width: 480px) {

form.Basic_Default div.formGroup, form.Basic_Default span.buttonFieldGroup {
width: 100%!important;
}

form.Basic_Default input.formTextfield_Large, form.Basic_Default input.formTextfield_XLarge {
width: 90%!important;
padding:5px!important;
border-radius:5px!important;
}

form.Basic_Default label.sublabel {
width: auto!important;
float: none!important;
text-align: left!important;
}

}

This will give you the basics of a responsive form that you can build on.

As an aside there a couple of rules in the stylesheet with an extra closing curly bracket:
form.Basic_Default input.formButton {}}
form.Basic_Default input.formButton:hover {}}

These should be fixed.

Sign in to reply to this post

Jason ByrnesWebAssist

Thanks for that information Dave.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...