Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

Issue in a Magento Mobile website Navigation

  1. #1
    New member
    Join Date
    Nov 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Issue in a Magento Mobile website Navigation

    Hello Support Community,

    We are facing an issue related to a Magento Mobile website. This mobile website is activated using a separate mobile theme which grabs all the content & data from the desktop itself.

    Now the issue is that few days back the navigation of the mobile website has stopped working. We believe it is due to some jQuery conflict in the header. But some how due to discrepancies between the client & us, the client is not allowing us to touch the backend. Instead they have taken reference from some external party & their comments are below:

    -------------------------------------------
    I had a look at your mobile menu issue today.
    The problem is it does not have a menu per say, the code just loads the categories…
    <ul id="nav">
    <?php foreach ($this->getStoreCategories() as $category): ?>
    <li class="arrow to_child">
    <?php $link = ($this->isParent($category) ? '#category'.$category->getId() : $this->getCategoryUrl($category)); ?>
    <a href="<?php echo $link; ?>"<?php if ($this->isParent($category)) echo " class=\"to_child\""?>><?php echo $this->htmlEscape($category->getName()); ?></a>
    <script type="text/javascript">
    catPath[<?php echo $category->getId(); ?>] = '<?php echo(Mage::getStoreConfig('catalog/frontend/flat_catalog_category') ? $category->getPath() : $category->getPathId());?>';
    catUrl[<?php echo $category->getId(); ?>] = '<?php echo $this->getCategoryUrl($category); ?>';
    </script>
    </li>
    <div style="height:8px;"></div>
    <?php $i ++ ; ?>
    <?php endforeach ?>
    </ul>
    That is the code. It’s pretty lazy! It's needs at least 3 to 4 hours work to fix this, I can
    send you to someone
    -------------------------------------------------

    We do not understand what he's trying to mention. Although we know that there are two types of navigations usually used in mobiles: "Click & Appear" and "Listing Catalogue Type". We are using the Listing catalogue type as per the mobile themes settings. We would like to know your point of view on how critical is it to have a 'click and appear' menu in terms of improving conversions against a catalogue menu as it is.

    Also one more point to be noted is, after a recent update that they did to their desktop cart, there was an issue in the mobile cart not adding products. We believe that the update they did to the desktop shopping cart may have lead to the jquery conflict which caused the Mobile Shopping cart not loading products, as well as messed up the navigation.

    We would value your expert opinion as to what could be the possible reason for the navigation not working & how we can fix it.
    Also how could it be proven that the code is 'NOT lazy' but 'standard'.

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Jun 2014
    Posts
    93
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Sometimes there are bugs that takes a space so yeah fixing them is what that helps and that actually lets us understand how goodly something can be produced so yeah it works appropriately mate.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •