Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • ddrinkal Friend
    #123670

    Is anyone using virtuemart with this template and having it layout properly when you are on the shopping cart page? If so, how did you do it? My development site is at http://www.stop21.com/~lastfirs/index.php?page=shop.cart&option=com_virtuemart&Itemid=26 – any suggestions??

    ddrinkal Friend
    #232471

    thanks for all your replies :p … its fine now … I found the problem … not really a joomlart template problem … just me being a bit dim

    Menalto Friend
    #232472

    It would be nice if you posted what you did to make it work?

    terence Friend
    #234017

    Hi Ddrinkal,

    Can you please tell us how you fixed the layout ? The site : http://www.stop21.com/~lastfirs/inde…rt&Ite mid=26 Looks really nice and i would like to be able to do that ?

    terence Friend
    #234033

    Hi People,

    Having a few problems with JA Mageia & VirtueMart. The logical thing to do in my mind was to try make it look like JA Larix as this is a very nice shopping cart layout. So i have gone about it this way. I looked at Laryx index.php file and noticed there is a VirtueMart Hack in the file :

    <?php
    //////////////////////////////////////
    /// Hack for Virtuemart shop browse///
    global $option, $category_id, $page;
    if ($option == ‘com_virtuemart’){
    $cols = 0;
    if (!empty($category_id)) {
    $cols = 2;
    $sql = “select products_per_row from #__vm_category where category_id=$category_id”;
    $database->setQuery($sql);
    $cols = $database->loadResult();
    }
    if (!$cols) $cols = PRODUCTS_PER_ROW;
    ?>
    <script language=”javascript” type=”text/javascript”>

    function initAdjustVM () {
    adjustVMCatList (‘ja-productwrap’, <?php echo $cols; ?>);
    }

    jaAddEvent (window, ‘load’, initAdjustVM);

    </script>
    <?php
    }
    /// End Hack for Virtuemart shop browse///
    //////////////////////////////////////////
    ?>

    So i copied this into the header of the Mageia index.php file.

    Then i took all these files ad put them in the relevant folders on the server :
    ja-vm.css
    ja_vm_cat_browse.php
    images – all the VM images i could find in the Laryx template that are used for Virtuemart.

    The browse page looks like its working but i am having problems with the Flypage.
    Actually even prior to trying to make it look like the Laryx template it displayed like this and that is why i decided to do this little mod.

    Please see : http://www.gridmonkeycreative.com./index.php?page=shop.product_details&flypage=shop.flypage&product_id=21&category_id=25&manufacturer_id=0&option=com_virtuemart&Itemid=26

    Could you please advise me what to do ?

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 3 voices, and was last updated by  terence 16 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum