A G Posted December 17, 2015 Share Posted December 17, 2015 Hi, In my theme (maybe it's normal in Presta) when user is in Cart -> Your address and need to add delivery address for the first time it use the address.tpl. I want to hide left column only if he is in address in Cart, not in his account. I know it was made to limit tpl files, etc. but I don't want to distract user with left column I could turn off left column for address in backend but it than I would not have it if user go to his account. Maybe there is some kind of way to hide it with smarty when url contains "back=order.php" ? Thank you, a g Link to comment Share on other sites More sharing options...
Maheshmohan1093 Posted December 18, 2015 Share Posted December 18, 2015 You could do that in smarty as well as in css. For smarty, you would be needed to give the condition that if it is not in the order page, display it. For css, you could provide the id of the page and the id of the column to be display: none For example, order is the id of the page left_column is the class of the div which you want to hide.. you could use #order left_column { display: none; } Smarty is the good way though.. 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