News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Menu item for account details on checkout?

Started by fotonio, November 06, 2016, 02:28:49 AM

Previous topic - Next topic

fotonio

Joomla 3.6.4
VM 3.0.18

Hi, i have created an "account maintenance" menu item with alias "my-account" to hide some modules.
My problem is that from the shopping cart when clicking checkout the page opens user/editaddresscartBT  page instead.
My shop is multilanguage and the virtuemart shop is in the root path of my website.

Any help anyone?
Thank you

fotonio

i didn' t find any solution to make it work with the menu items but an alternate solution.
Added to my template' s index.php file the code to hide my slideshow from all the user pages.

<?php if (JRequest::getVar('view')=='user') {  ?>
<style type="text/css">
.carousel { display: none; }
</style>
<?php
}
?>

Studio 42

One solution can be (simplified here) :
<?php if ($this->countModules('position-X') && (JFactory::getApplication()->input->get('view') != "user")) : ?>
<jdoc:include type="modules" name="position-X" />
<?php endif; ?>