Forum Forum Magento Theme SNS Nova – Magento Theme Wishlist sidebar/menu

  • Author
    Posts
  • #1717

    pilch
    Participant

    Hello,

    We have made some small changes to the wishlist sidebar template, because we wanted it displaying slightly different in the menu bar (e.g. sticky menu) and the actual RHS sidebar.

    /app/design/frontend/default/sns_nova/template/wishlist/sidebar.phtml is original file, used by both the menu bar and RHS sidebar.

    We made /app/design/frontend/default/sns_nova/template/wishlist/sidebar-menu.phtml to be used for the menu bar, and this works fine.

    However, when we click on the Add to Wishlist button (heart logo) from any of the Product (or Product List) pages, it seems the original sidebar.phtml gets reloaded (by Ajax?) into the menu bar.

    See two attached images for explanation of what we see. First image is using specified sidebar-menu.phtml when first loading a page. Second image shows that sidebar.phtml gets reloaded after adding to wishlist.

    How can we make sure that sidebar-menu.phtml gets reloaded into the menu bar after adding to wishlist?

    Note:

    /app/design/frontend/default/sns_nova/layout/wishlist.xml
    contains:
    <reference name=”right”>
    <block type=”wishlist/customer_sidebar” name=”wishlist_sidebar” as=”wishlist” after=”catalog.compare.sidebar” template=”wishlist/sidebar.phtml” />
    </reference>

    /app/design/frontend/default/sns_nova/layout/wishlist.xml
    contains:
    <default translate=”label” module=”page”>
    <label>All Pages</label>
    <block type=”page/html” name=”root” output=”toHtml” template=”page/2columns-left.phtml”>
    <block type=”page/html_head” name=”head” as=”head”>
    <block type=”page/html_header” name=”header” as=”header”>
    <block type=”wishlist/customer_sidebar” name=”wishlist_sidebar” as=”navWishlist” after=”catalog.compare.sidebar” template=”wishlist/sidebar-menu.phtml” />
    </block>
    </block>
    </block>
    </default>

    Thanks!
    Paul

    Attachments:
    1. WishlistSidebar1.png

    2. WishlistSidebar2.png

You must be logged in to reply to this topic. Click here to login or register