VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: fotonio on November 06, 2016, 02:28:49 AM

Title: Menu item for account details on checkout?
Post by: fotonio on November 06, 2016, 02:28:49 AM
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
Title: Re: Menu item for account details on checkout?
Post by: fotonio on November 06, 2016, 21:54:23 PM
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
}
?>
Title: Re: Menu item for account details on checkout?
Post by: Studio 42 on November 07, 2016, 02:23:03 AM
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; ?>