VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: noorgatb on September 16, 2015, 14:53:05 PM

Title: Hiding Module on Cart/Checkout Page only
Post by: noorgatb on September 16, 2015, 14:53:05 PM
Hi

Joomla 3.4.4, VM 3.09

How do I Hide a Module  (eg. VM Categories which appears on Left Position of template) on my Cart/Checkout Page only.

I tried creating a menu item called CART of type VM Shopping Cart.
Under the module assignement tab for the above I tried disabling the module (VM Category).

The VM Category now dissappears from ALL pages instead of just the Cart/Checkout page.

Please give me some ideas how to solve my problem.

Thanks in advance.

Basheer
www.nmc.za.com
Title: Re: Hiding Module on Cart/Checkout Page only
Post by: jenkinhill on September 16, 2015, 15:02:07 PM
You should set the menu assignment in the VM - Shopping cart editor itsef. Set the module to display on all pages except for Cart.
Title: Re: Hiding Module on Cart/Checkout Page only
Post by: noorgatb on September 17, 2015, 11:39:03 AM
Dear Jenkinhill

Thank you. Problem Solved.

For others...These are the steps.

Under Joomla Menus
1. Create a new Menu (call it Checkout, etc)
2. Create a new Menu Item (call it Cart). Type is VM/Shopping Cart.

Under Extensions/Modules
1. Go to the Module you want to Hide. In my case it was VM Categories.
2. Under Menu Assignment, find the Checkout/Cart Item you just created and deselect it.

That's it.

Regards

Basheer
Title: Re: Hiding Module on Cart/Checkout Page only
Post by: betterlead on July 01, 2017, 17:29:11 PM
Or perhaps this way?

Go to Modules.
Select the module you would like to hide the menu in.
Select the Assignment tab.
Scroll down to "Virtuemart".
Select "Exclude".
Select "Shopping Cart".
Save.
Clear Cache.
Should work.

(Using Advanced Module Manager - everyone uses this extension, don't they?) ;)
Title: Re: Hiding Module on Cart/Checkout Page only
Post by: jenkinhill on July 01, 2017, 17:35:35 PM
Quote from: betterlead on July 01, 2017, 17:29:11 PM
(Using Advanced Module Manager - everyone uses this extension, don't they?) ;)

Nope. In most cases there is no need for yet another extension.   ;)
Title: Re: Hiding Module on Cart/Checkout Page only
Post by: betterlead on July 01, 2017, 18:04:41 PM
:-)

Ok, but solution is ok, isn't it?

I wrote the last line, just in case I was wrong and this was only a method with AMM installed.
Title: Re: Hiding Module on Cart/Checkout Page only
Post by: jenkinhill on July 02, 2017, 00:18:22 AM
There is more than one way to do it!  AMM is just one way.
Title: Re: Hiding Module on Cart/Checkout Page only
Post by: betterlead on July 02, 2017, 09:56:27 AM
I'm eager to learn all of them!
Any suggestions?

Cheers