Title and thumbnail missing on contact us for more information

  • Posts: 196
  • Thank you received: 11
  • Hikashop Business
2 days 3 hours ago #366997

-- HikaShop version -- : 5.1.6

When I activate the "Contact us for more information" button on the product page, (layout: product->contact.php) the title and thumbnail of the product are missing. When I do a data dump of $this->product object, I see the title and image array are empty in the object. See screenshot.

Regards

Attachments:

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

  • Posts: 83746
  • Thank you received: 13552
  • MODERATOR
2 days 16 minutes ago #367001

Hi,

In HikaShop 5.1.3, we've added this improvement:

When using the contact button on a product page for a product with variants, the contact form now displays the name and image of the selected variant instead of the name and image of the main product when available.

Now, on my end, with HikaShop 5.1.6, the contact form still displays the variant name and image properly, whether the variant has them, or the main product has them.
So, while that change in the 5.1.3 might be linked to your problem, it's hard to say much more without more information.
Do you have the problem with other products ? All the products ? Or this one in particular ?
Did you had the thumbnail and product name displayed properly there before ?
Could you provide the URL of the product you're using for your screenshot so that I can check the situation directly and analyze it ? Maybe I can figure out something from that. If you want to provide the URL privately, please go through our contact form:
www.hikashop.com/support/contact-us.html

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

  • Posts: 196
  • Thank you received: 11
  • Hikashop Business
1 day 4 hours ago #367023

Hi Nicolas,

The problem is that the site is on my personal WAMP installation. I did some investigation. The problem only occurs if the product has characteristics else the image and the product name are shown. If you want I can give you a an Akeeba backup of my installation.

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

  • Posts: 83746
  • Thank you received: 13552
  • MODERATOR
1 day 51 minutes ago #367028

Hi,

So, after adding the characteristics to the product, did you also add the variants to it ?
If the product has characteristics but no variants, then it won't work properly.

I suppose you'll be moving your website online at some point. So we can look there once you do. For know, just ignore the problem.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum