Is there a mod around (or could I get help making one) that helps keep the focus during the checkout process? Especially after entering your customer info and going on to shipping, then the above dropdown closes, there was so much info that it know goes past the shipping selections. Instead, after each part is completed, it would be great to refocus so that all info is on the screen.
Any help to be had?
Any help to be had?
I remember doing this and found a demo here: https://demo.ilithemes.com/oc2102
Do a checkout and see if this is what you meant. (Theme is default with custom CSS so ignore that)
It's just a bit of javascript so you can grab it from the site if you're handy
Do a checkout and see if this is what you meant. (Theme is default with custom CSS so ignore that)
It's just a bit of javascript so you can grab it from the site if you're handy
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
Or you could install one of the many great one-page-checkout extensions?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Just in case, here's the snippet. Add it to common.js without script tags, or to template>checkout>checkout.tpl
Code: Select all
<script>
$('#accordion').on('shown.bs.collapse', function () {
var offset = $(this).find('.panel-collapse.in').offset(), panel = $('.panel-collapse.in');
if (offset) {
$('html,body').animate({
scrollTop: panel.offset().top - 55
}, 0);
}
});
</script>
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
Who is online
Users browsing this forum: Baidu [Spider] and 209 guests