Okay
  Public Ticket #628340
Search-List bug fix
Closed

Comments

  • Kiril started the conversation

    Hello - i found a bug in the product page listing for a search. The original listing have "Add to cart" button always visible and aligned to right so when you hover with the mouse "Add to compare" and "Add to wishlist" buttons appear over the "Add to cart" button". In order to fix it and have the same behavior as the rest of the site you need to modify the product-list.tpl file in the theme directory. Search for:

    <a class="exclusive ajax_add_to_cart_button " href="{$link->getPageLink('cart',false, NULL, 'add=1&id_product={$product.id_product|intval}', false)|escape:'html':'UTF-8'}" rel="nofollow"  data-id-product="{$product.id_product|intval}">

    replace with

    <a class="exclusive button ajax_add_to_cart_button " href="{$link->getPageLink('cart',false, NULL, 'add=1&id_product={$product.id_product|intval}', false)|escape:'html':'UTF-8'}" rel="nofollow"  data-id-product="{$product.id_product|intval}">

    the added "button" in the a class fix the issue. Perhaps this can be included in the version of the theme as well.

  •  1,593
    Criss replied

    Hi Kiril,

    Thank you for your solution.

    Best Regards,
    Criss - FieldThemes