ap3 Posted May 10, 2016 Share Posted May 10, 2016 Hello, I have recently modify the cart-summary.js for responsive reason. I test window width, and when my function responsive has executed, the page refresh when I want to modify quantity. Do you have any ideas please ? I have uploaded CartController.php and Cart-summary.js. My function i called responsive at the bottom of cart-summary file. I have a second question, always when I modify quantities, all steps I've hidden in jQuery (with : $('.step-num, #opc_account,#carrier_area, #payment_block').hide() before are shown. But after loading page, all steps are hidden. Thanks in advance. CartController.php cart-summary.txt Link to comment Share on other sites More sharing options...
Prestachamps Posted May 10, 2016 Share Posted May 10, 2016 Hi, you should not use the jquery , you should create the rules from css using media query for different resolutions using min-width and max-width. (http://www.w3schools.com/css/css_rwd_mediaqueries.asp) Regards, Leo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now