Disable modules in shopping cart and checkout pages

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jun 13, 2013 5:35 pm
Reply with quote
Report this post
I need to hide modules: slideshow(imageshow) and nspgk5 in shopping cart and checkout pages.
How can I do that? :dry:

Thanks in advance,
Kind Regards.
User avatar
Gold Boarder

teitbite
Fri Jun 14, 2013 9:25 am
Reply with quote
Report this post
Hi

Can You please show me Your site ?
User avatar
Moderator

GK User
Fri Jun 14, 2013 9:34 am
Reply with quote
Report this post
User avatar
Gold Boarder

teitbite
Fri Jun 14, 2013 12:58 pm
Reply with quote
Report this post
Hi

It's showing there because of misconfiguration in menu structure, but it will be easier to fix it this way.

Please edit /html/com_virtuemart/cart/default.php and ad this code to this file:

Code: Select all
<style type="text/css">#gkMainbodyTop { display: none; }</style>
User avatar
Moderator

GK User
Fri Jun 14, 2013 5:29 pm
Reply with quote
Report this post
Hi Teitbite,
It did the trick! Awesome! Thanks a lot!!

Kind regrads,
User avatar
Gold Boarder

GK User
Fri Jun 14, 2013 5:36 pm
Reply with quote
Report this post
Sorry Teitbite, but the modules still are displaying in edit payment page...
I hope we can solve it!
User avatar
Gold Boarder

teitbite
Sun Jun 16, 2013 12:53 pm
Reply with quote
Report this post
Hi

Than You need to add this code to other layouts as well. I believe the one responsible for payment is in select_payment.php

If there is no such layout in /html/com_virtuemar/cart/ than please copy if from /components/com_virtuemart/views/cart/tmpl/
User avatar
Moderator

GK User
Sun Jun 16, 2013 10:03 pm
Reply with quote
Report this post
Hi Teitbite,
It worked! I added the code to the template file you said: select_payment.php
When I'm in the confirmation checkout, the page that says "thank you very much for your payment", the modules still display.
I what template file do you think we have to add the code to?

Thnk you,
Kind regards.
User avatar
Gold Boarder

teitbite
Mon Jun 17, 2013 1:52 pm
Reply with quote
Report this post
Hi

order_done.php in the same folder as before.
User avatar
Moderator

GK User
Mon Jun 17, 2013 3:12 pm
Reply with quote
Report this post
Hi Teitbite, awesome, I'll try!

Thank you very much!

Kind regards,
User avatar
Gold Boarder

teitbite
Tue Jun 18, 2013 9:55 am
Reply with quote
Report this post
Hi

Rest of this files are responsible for orders and invoices, so please check if modules are not visible while looking at the order too.
User avatar
Moderator

GK User
Tue Jun 18, 2013 2:55 pm
Reply with quote
Report this post
Hi Teitbite,
thank you for the tip!

What I don't see is the pop up window on virtuemart admin when I have to create an invoice.
Is the fix we've made the reason for this?

Kind regards,
User avatar
Gold Boarder

teitbite
Wed Jun 19, 2013 9:39 pm
Reply with quote
Report this post
Hi

Sorry I do not understand, but popup look ok to me :)
User avatar
Moderator

GK User
Tue Jul 23, 2013 10:57 am
Reply with quote
Report this post
Hi, all is ok now. A question:
how can I disable modules in checkout for one page checkout?

Kind Regards,
User avatar
Gold Boarder

GK User
Wed Jul 24, 2013 6:14 pm
Reply with quote
Report this post
I have solved the issue by adding

<style type="text/css">#gkMainbodyTop { display: none; }</style>

inside One step checkout plugin /helpers/cart.php

Kind regards,
User avatar
Gold Boarder

teitbite
Fri Jul 26, 2013 1:08 am
Reply with quote
Report this post
Hi

Yes exactly. This is my kind of solving this problem :) Sorry I wasn;t here to propose it myself. I got sick :(
User avatar
Moderator

GK User
Fri Jul 26, 2013 10:23 am
Reply with quote
Report this post
Hi Teitbite,
I'm sorry you were sick, are you feeling better now?
Thanks,
see you around!,
User avatar
Gold Boarder

teitbite
Sun Jul 28, 2013 2:47 am
Reply with quote
Report this post
Hi

Yes I feel better good now, just a bad caught left and occasional headache. But it was all my fault, I was sick before and stop taking medicaments too soon. Thanks the care :)
User avatar
Moderator

GK User
Mon Jul 29, 2013 9:42 am
Reply with quote
Report this post
You are welcome, (I had same problem some time ago), take care, see you around!
User avatar
Gold Boarder


cron