- Posts: 139
- Thank you received: 1
Hiding "HikaShop Cart Module" once logged in.
12 years 2 months ago #165411
by abasel
Hiding "HikaShop Cart Module" once logged in. was created by abasel
Is it possible to hide the "HikaShop Cart Module" when
i.e. when logged on?
Code:
if($this->identified) {}
Please Log in or Create an account to join the conversation.
12 years 2 months ago #165446
by nicolas
Replied by nicolas on topic Hiding "HikaShop Cart Module" once logged in.
Hi,
Sure. Here is a documentation of Joomla explaining how to hide a module from logged in users:
docs.joomla.org/How_do_you_hide_somethin...m_logged_in_users%3F
Sure. Here is a documentation of Joomla explaining how to hide a module from logged in users:
docs.joomla.org/How_do_you_hide_somethin...m_logged_in_users%3F
Please Log in or Create an account to join the conversation.
12 years 2 months ago #165487
by abasel
Replied by abasel on topic Hiding "HikaShop Cart Module" once logged in.
Sorry my question was misleading. My buyers are not logging in when making purchases so what I am wanting to do is hide the module once they have entered their purchase e-mail.
Please Log in or Create an account to join the conversation.
12 years 2 months ago #165597
by nicolas
Replied by nicolas on topic Hiding "HikaShop Cart Module" once logged in.
Hi,
In that case you want to edit the file "cart" of the view "product" via the menu Display>Views and add at the beginning such code:
<?php if(hikashop_loadUser()){ return; } ?>
In that case you want to edit the file "cart" of the view "product" via the menu Display>Views and add at the beginning such code:
<?php if(hikashop_loadUser()){ return; } ?>
Please Log in or Create an account to join the conversation.
Time to create page: 0.166 seconds