Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Adrien GEORGE Friend
    #192816

    Hi there,
    I would like to know if it were possible when clicking on the category image or product image on the listing to go to the category product listing or product description.(and not to an image tab)

    Thanks !
    Adrien


    1. categorie
    phong nam Friend
    #514810

    Hi Adrien,

    You just simply need to create a VirtueMart Categories Layout menu item type (i.e named Brassard De Capitaine) to show the list of VM categories with its images. The page will redirect to corresponding category page when clicking on that category images.


    1. category
    Adrien GEORGE Friend
    #514960

    Thanks so much, it is working for categories.
    But for product listing, I think I was unclear. Go to this address : http://www.ekipazofootball.com/en/brassard-de-capitaine
    When you click on the images of product, it shows the image in lightbox. I would like to click on the image and go the product details. You know how to do that ?
    Thanks 1000 times !

    <em>@Leo Burnetts 401193 wrote:</em><blockquote>Hi Adrien,

    You just simply need to create a VirtueMart Categories Layout menu item type (i.e named Brassard De Capitaine) to show the list of VM categories with its images. The page will redirect to corresponding category page when clicking on that category images.</blockquote>

    phong nam Friend
    #515047

    Hi,

    You can try to backup and open templatesja_vintashtmlcom_virtuemartcategorydefault.php file, change 232th line:

    <?php /** @todo make image popup */
    echo $product->images[0]->displayMediaThumb('class="browseProductImage" border="0" title="'.$product->product_name.'" ',true,'class="modal"');
    ?>

    to

    <a title="<?php echo $product->link ?>" rel="vm-additional-images" href="<?php echo $product->link; ?>">
    <?php /** @todo make image popup */
    echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
    ?>
    </a>

    Clear JAT3 cache after saving change. The page will redirect to product detail page when clicking the product images on category view.

    Adrien GEORGE Friend
    #515115

    Thanks Leo, you rock !:D:D:D

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

This topic contains 5 replies, has 2 voices, and was last updated by  Adrien GEORGE 10 years, 11 months ago.

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