Show Cart Scrolls to top of page

  • basdc
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 4 months ago #34052 by basdc
I have disabled the 'one page checkout' extension and the default virtuemart checkout still does the same.
Would appreciate if you can solve this issue.

Thanks

Barry

Please Log in to join the conversation.

More
11 years 4 months ago #34054 by ivan.milic
forgot type on script tag:

<script type="text/javascript" >
jQuery(window).load(function(){
window.scroll(0,500);
});
</script>

Please Log in to join the conversation.

  • basdc
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 4 months ago #34061 by basdc
Hi

Tried this but still the same, if you look at the demo site it does exactly the same if you try to view cart!
Maybe you could play with the demo site then when sorted let me know the fix.

I appreciate the help but its holding the whole site up at the moment.

Thanks

Barry

Please Log in to join the conversation.

More
11 years 4 months ago #34073 by ivan.milic
when I inspect HTML source I see:
Code:
<script> <script type="text/javascript" > jQuery(window).load(function(){ window.scroll(0,500); }); </script>

<script> is extra and it break script block below, you need just:
Code:
<script type="text/javascript" > jQuery(window).load(function(){ window.scroll(0,500); }); </script>

Please Log in to join the conversation.

  • basdc
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 4 months ago #34095 by basdc
Thanks for your help, much appreciated! works now with standard cart but when 'one page checkout' enabled does not work. Will contact extension provider that I purchased from, Unless you would be kind enough to point me to the right folder to add this code to? :)
thanks

Barry

Please Log in to join the conversation.

More
11 years 4 months ago #34106 by ivan.milic
You need to put that code into some page designed by that opco provider, you need to ask them what is that file
The following user(s) said Thank You: basdc

Please Log in to join the conversation.

Time to create page: 0.117 seconds
Powered by Kunena Forum