Hi,
You need to look at this PHP file:
/templates/flexible_lightmart/html/com_virtuemart/category/default.php
and look for these lines which print the tinyAdd To Cart button:
For the GridView layout
if ($params->get('category_grid_tinyaddtocart',1)) {
For the MultiGridView layout
if ($params->get('category_multi_tinyaddtocart',1)) {
This IF.. STATEMENT checks if the "tinyaddtocart" plugin parameter is set to YES, then it prints the tiny button. All you need to do is adding an another condition to that IF statement, which is to check if the user is logged in.
Eventually it will look like:
if (($firstcondition == 1) and ($secondcondition == 1)) {
So the condition will be passed only if both conditions are validated. (1.condition= plugin parameter set to yes, 2.condition= user is logged in)
Unfortunately i can't provide you any more support about it, as it is a custom modification and it is beyond our free support.
Regards,
Support.