Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #10210


    I´ve made some modification to only show prices for logged users, but the “add to cart” rollover button still working and adding itens to cart.

    I found out that if i remove the “echo $link” from config.php it disappear, but it´s a very cool feature, can i show it only for logged users??

    CONFIG.PHP part

    echo “<div class=’thumbnail_container’>”;

    echo “<div class=’thumbnail_container_inner’>”;

    echo get_the_post_thumbnail( get_the_ID(), ‘shop_catalog’ );

    echo $link;

    echo “ID).”‘>”.__(‘Show Details’,’avia_framework’).”“;

    if(!empty($rating)) echo “<span class=’rating_container’>”.$rating.”</span>”;



    hoho!!! Found it!!!! If some one needs:

    just change echo $link;


    if( is_user_logged_in() ) echo $link;



    Glad that you found the solution :)

    Best regards,


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

The topic ‘Product Rollover Add to Cart only for logged users’ is closed to new replies.