Hi,
I am trying to set up a message "This person has bought this item." but it doesn't work well.
Now if user has bought any of the products and leave comment on any product, "This person has bought this item." will be displayed for every comment.
Shouldn't this be displayed only if that user comments on the item he actually purchased??
I have looked into code and could find only this:
<?php if(!empty ($elt->purchased)) { ?>
<span class="hikashop_vote_listing_useful_bought"><?php echo JText::_('HIKASHOP_VOTE_BOUGHT_COMMENT'); ?></span>
<?php } ?>
I am not sure how are you checking if user has bought this item but as for know it doesn't work well and could be confusing.
Please advise.
Thanks