Jump to content

stop ajax order form summary from moving?


MACscr

Recommended Posts

Maybe its me, but i find the order form summary area that scrolls to be annoying as hell. I havent even attempted to look at the code yet to fix it as i havent even installed the new version yet, but I was wondering if anyone has tweaked it to keep it stationary and if so, how to do it. Figured i would see if i could save myself some time if its already been done.

 

-Mark

Link to comment
Share on other sites

Just change the name of the div surrounding the summary to something else like cartsummarystatic for example. You also have to edit the css to take into account the different id name

 

Yeah, I will try that out, but figured that same div id might be used by other javascript for auto updating the cart contents. Guess I will try it and see what breaks.

Link to comment
Share on other sites

Ok, finally took the time to look into it and it was actually pretty easy. Just removed the following from master.tpl (i think thats the file, i moved all the js/css for the order from to my header.tpl and set it to only load on the order form page):

 

$("#cartsummary").makeFloat({x:"current",y:"current"});
Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated