How to display a message in the 'Add Review' tab?

  • Posts: 52
  • Thank you received: 1
9 years 10 months ago #218736

-- url of the page with the problem -- : store.ojospa.webez.net/ojo-collection/te...idered-logo-tee.html
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5

In my HikaShop settings, I have it configured so that only customers who have actually purchased a product may submit a review on that product. The problem is that unless you are that customer, when you click on the Add Review tab there is nothing there. No form, no next, nothing.

Is there a way for me to add a little bit of text that would display if the user is NOT a customer who previously purchased the item?

Many thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 10 months ago #218741

Hi,

You can edit the view "vote / form" and add this code at the top:

if($row->access_vote == 'buyed' && $row->purchased == 0){
    echo "Your message";
}
www.hikashop.com/support/support/documen...ize-the-display.html

ps: yeah we now there is a language mistake ;)

Please Log in or Create an account to join the conversation.

  • Posts: 52
  • Thank you received: 1
9 years 10 months ago #218868

Thank you so much! This is exactly what I needed!

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum