dddirk Posted February 8, 2017 Share Posted February 8, 2017 I want to reduce user distraction in the checkout funnel. Thats why the horizontal navigation should not be visible while entering the address, shipping and payment data. But it should be visible on the shopping cart page. How can I achieve this? I know I can set exceptions under module / positions. But when I set 'order' as exception the navigation is hidden on the cart page as well. Is there an option thats aimed at the checkout pages but not the cart page? Any help is greatly appreciated. Link to comment Share on other sites More sharing options...
NemoPS Posted February 8, 2017 Share Posted February 8, 2017 You can set exceptions for the module from modules->positions. Check the hook and module you are interested in, hit edit, and you will see a list of page you can exclude it from Link to comment Share on other sites More sharing options...
dddirk Posted February 8, 2017 Author Share Posted February 8, 2017 Thank you for your feedback! My problem is that I do not know what to choose as exklusion since 'order' hides the module at the checkout pages AND the shoppping cart. I am looking for a solution to distinguishing between the cart and the rest of the checkout process. Link to comment Share on other sites More sharing options...
NemoPS Posted February 10, 2017 Share Posted February 10, 2017 I take it as you are using the 5 steps checkout. It should be sending a "step" parameter, so in the module's hook (in the php code) you might try to check if step is set. If it is, return false, it means it's not the cart page Link to comment Share on other sites More sharing options...
dddirk Posted February 10, 2017 Author Share Posted February 10, 2017 Yes, I use the 5 steps checkout. But it seems there is no usable "step" parameter. Or I am not able to find it. Maybe you mean the "current_step" variable in the order-steps.tpl? This variable does not help because it is assigned in the checkput tpl-files just before the inclusion of the order-steps.tpl {assign var='current_step' value='address'} {include file="$tpl_dir./order-steps.tpl"} Link to comment Share on other sites More sharing options...
NemoPS Posted February 11, 2017 Share Posted February 11, 2017 Ah, no I meant in the module, using Tools::getValue('step'), in the module's hooking method, in the core php file 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