- Posts: 19
- Thank you received: 0
Show Cart Scrolls to top of page
-
basdc
Inactive member -
Topic Author
- New Member
-
Less
More
11 years 4 months ago #34052
by basdc
Replied by basdc on topic Show Cart Scrolls to top of page
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
Would appreciate if you can solve this issue.
Thanks
Barry
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 4 months ago #34054
by ivan.milic
Replied by ivan.milic on topic Show Cart Scrolls to top of page
forgot type on script tag:
<script type="text/javascript" >
jQuery(window).load(function(){
window.scroll(0,500);
});
</script>
<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
-
Less
More
- Posts: 19
- Thank you received: 0
11 years 4 months ago #34061
by basdc
Replied by basdc on topic Show Cart Scrolls to top of page
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
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 4 months ago #34073
by ivan.milic
Replied by ivan.milic on topic Show Cart Scrolls to top of page
when I inspect HTML source I see:
<script> is extra and it break script block below, you need just:
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
-
Less
More
- Posts: 19
- Thank you received: 0
11 years 4 months ago #34095
by basdc
Replied by basdc on topic Show Cart Scrolls to top of page
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

thanks
Barry
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 4 months ago #34106
by ivan.milic
Replied by ivan.milic on topic Show Cart Scrolls to top of page
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