[Skip to main content](#vessel-content)

#   Subject Line in "Contact us for information" emai

##

- **[Jims](/forum/user/2963-jims "View Jims's Profile")**
- [![Jims's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2963-jims "View Jims's Profile") Topic Author
- [ Offline](/forum/user/2963-jims)

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

14 years 11 months ago [\#32393](#32393) by [Jims](/forum/user/2963-jims "View Jims's Profile")  *[Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32393 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")* was created by *[Jims](/forum/user/2963-jims "View Jims's Profile")*

Good morning Nicolas.

The email that I get when someone sends a "Contact us for more information" email only contains the variants and not the product name or product code.

Shouldn't the email include the product name and product code?

Thanks

Jim

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 11 months ago [\#32410](#32410) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32410 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Well, before the email contained the product name and we had several users asking to have the variant name instead of the product name so we did that change.
You're the first one asking for the opposite since then ![:)](/media/kunena/emoticons/3.png ":)")

You can remove the code:
if($product-&gt;product_type=='variant' &amp;&amp; empty($product-&gt;product_name)){
$product = $class-&gt;get((int)$element-&gt;product_parent_id);
}

in the file components/com_hikashop/controllers/product.php and that will use the product name instead of the variant name.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jims](/forum/user/2963-jims "View Jims's Profile")**
- [![Jims's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2963-jims "View Jims's Profile") Topic Author
- [ Offline](/forum/user/2963-jims)

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

14 years 11 months ago [\#32425](#32425) by [Jims](/forum/user/2963-jims "View Jims's Profile")  Replied by *[Jims](/forum/user/2963-jims "View Jims's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32425 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Thanks, Nicolas,

Actually, what I would like to see there is exactly the same as appears on the product page, productname and variants
See: [ www.potluckceramics.ca/index.php/catalog.../category\_pathway-22](http://www.potluckceramics.ca/index.php/catalogue/product/3567-bowl-with-edge/category_pathway-22)

It would also be helpful to see the product code in the message somewhere.

Jim

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 11 months ago [\#32435](#32435) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32435 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Well, you would have to change the code in the file components/com_hikashop/controllers/product.php for all that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jims](/forum/user/2963-jims "View Jims's Profile")**
- [![Jims's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2963-jims "View Jims's Profile") Topic Author
- [ Offline](/forum/user/2963-jims)

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

14 years 11 months ago [\#32436](#32436) by [Jims](/forum/user/2963-jims "View Jims's Profile")  Replied by *[Jims](/forum/user/2963-jims "View Jims's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32436 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

I'm not sure my coding skills are up to that, the last time I wrote code it was using the language APL!
But it might be an interesting challenge!!

Thanks

Jim

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jims](/forum/user/2963-jims "View Jims's Profile")**
- [![Jims's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2963-jims "View Jims's Profile") Topic Author
- [ Offline](/forum/user/2963-jims)

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

14 years 11 months ago [\#32669](#32669) by [Jims](/forum/user/2963-jims "View Jims's Profile")  Replied by *[Jims](/forum/user/2963-jims "View Jims's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32669 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

**nicolas wrote:**

> You can remove the code:
> if($product-&gt;product\_type=='variant' &amp;&amp; empty($product-&gt;product\_name)){
> $product = $class-&gt;get((int)$element-&gt;product\_parent\_id);
> }
>
> in the file components/com\_hikashop/controllers/product.php and that will use the product name instead of the variant name.

Sorry, Nicolas. I removed that code from the product.php file, but the subject line still contains the variants not the product name.

I also tried to modify the code to show the line:

About: Product-Name - variants

but I could only get the line to sow the product-ID on the About line.

I find it rather surprising that the message does not contain exactly the same text as is shown in the title of the product page. There is no way, at the moment, to see what page the message was sent from.

The clients really want this, and at the moment I'm stumped.

Jim

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 11 months ago [\#32692](#32692) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32692 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Ah yes, instead of removing the code above,
just change the line:
if($product-&gt;product_type=='variant' &amp;&amp; empty($product-&gt;product_name)){
to:
if(true){

so that it always uses the variant name.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jims](/forum/user/2963-jims "View Jims's Profile")**
- [![Jims's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2963-jims "View Jims's Profile") Topic Author
- [ Offline](/forum/user/2963-jims)

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

14 years 11 months ago -  14 years 11 months ago [\#32699](#32699) by [Jims](/forum/user/2963-jims "View Jims's Profile")  Replied by *[Jims](/forum/user/2963-jims "View Jims's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32699 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Yes, I see that, Nicolas, but that's not what the clients want to see in the message.

For the message from the page
[ www.potluckceramics.ca/index.php/catalog...90-yellow-29-cm-wide](http://www.potluckceramics.ca/index.php/catalogue/product/3790-yellow-29-cm-wide)

They want to see
Subject: A contact request has been made for the product 'Bowl with edge: Yellow - 29 cm wide'
and not just
Subject: A contact request has been made for the product 'Yellow - 29 cm wide'

because there are several products with the Yellow 29 variants.

Also I was able to change the body to show the product-id after About:
See
From Address :

---

.ca
From Name : jswift
About : 3790

But I would like to know how to show the product-code there instead of the product-id. I cannot see where the function is getting the product information on the page from?

The client wants to be able to identify the page from which the message is sent, but currently that's not possible.

Many thanks

Jim

Last edit: 14 years 11 months ago by [Jims](/forum/user/2963-jims "View Jims's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 11 months ago [\#32739](#32739) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32739 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Then, if you want both, do like that:

$variant = $class-&gt;get((int)$element-&gt;product_parent_id);
$subject = JText::sprintf('CONTACT_REQUEST_FOR_PRODUCT',$product-&gt;product_name.': '.$variant-&gt;product_name);

instead of:
if($product-&gt;product_type=='variant' &amp;&amp; empty($product-&gt;product_name)){
$product = $class-&gt;get((int)$element-&gt;product_parent_id);
}
if(!empty($product)){
$subject = JText::sprintf('CONTACT_REQUEST_FOR_PRODUCT',$product-&gt;product_name);
}

The product code of the product will be in $product-&gt;product_code and the variant product code will be in $variant-&gt;product_code

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jims](/forum/user/2963-jims "View Jims's Profile")**
- [![Jims's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2963-jims "View Jims's Profile") Topic Author
- [ Offline](/forum/user/2963-jims)

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

14 years 11 months ago -  14 years 11 months ago [\#32784](#32784) by [Jims](/forum/user/2963-jims "View Jims's Profile")  Replied by *[Jims](/forum/user/2963-jims "View Jims's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#32784 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Many thanks, Nicolas. that is a big help (along with var_dump) in figuring what was going on. The key was that the product name I wanted is actually the product name of the product_parent, but the variant information is the product_name of the product!!

Just in case others might be interested the code (in product.php) is now:

if(!empty($element-&gt;product_id)){

$class = hikashop_get('class.product');
$product = $class-&gt;get((int)$element-&gt;product_id);
$variant = $class-&gt;get((int)$product-&gt;product_parent_id);
$subject = JText::sprintf('CONTACT_REQUEST_FOR_PRODUCT',$product-&gt;product_code.': '.$variant-&gt;product_name.' - '.$product-&gt;product_name);

}
This gives the following sample subject line:
Subject: A contact request has been made for the product 'RBT-Y-60: Breakfast Cup - Yellow Bear Tracks'

Thanks very much for the help, Nicolas.

Jim

Last edit: 14 years 11 months ago by [Jims](/forum/user/2963-jims "View Jims's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Karloz](/forum/user/3250-karloz "View Karloz's Profile")**
- [![Karloz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3250-karloz "View Karloz's Profile")
- [ Offline](/forum/user/3250-karloz)

Less More

- Posts: 45
- Thank you received: 0
-
-

14 years 11 months ago [\#33607](#33607) by [Karloz](/forum/user/3250-karloz "View Karloz's Profile")  Replied by *[Karloz](/forum/user/3250-karloz "View Karloz's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#33607 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Hello, i can not make this work, maybe because i have no product variants.

I Allways recieve a message with subejct line "A contact request has been made"

Please how can i add product_code and product_name to the email subject ?

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Karloz](/forum/user/3250-karloz "View Karloz's Profile")**
- [![Karloz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3250-karloz "View Karloz's Profile")
- [ Offline](/forum/user/3250-karloz)

Less More

- Posts: 45
- Thank you received: 0
-
-

14 years 11 months ago [\#33608](#33608) by [Karloz](/forum/user/3250-karloz "View Karloz's Profile")  Replied by *[Karloz](/forum/user/3250-karloz "View Karloz's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#33608 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Hello, i can not make this work, maybe because i have no product variants.

I Allways recieve a message with subejct line "A contact request has been made"

Please how can i add product_code and product_name to the email subject ?

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 11 months ago [\#33643](#33643) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#33643 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

The product name is added automatically to the subject of the email, there is nothing to do. Could you give a link to your product page so that we can look at your contact form ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Karloz](/forum/user/3250-karloz "View Karloz's Profile")**
- [![Karloz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3250-karloz "View Karloz's Profile")
- [ Offline](/forum/user/3250-karloz)

Less More

- Posts: 45
- Thank you received: 0
-
-

14 years 10 months ago [\#33839](#33839) by [Karloz](/forum/user/3250-karloz "View Karloz's Profile")  Replied by *[Karloz](/forum/user/3250-karloz "View Karloz's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#33839 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Hi, here is the link for product page

[ new.deltakwadrant.net/index.php?option=c...ry\_pathway=0&amp;lang=en](http://new.deltakwadrant.net/index.php?option=com_hikashop&ctrl=product&task=show&cid=200&name=binary-bassline-05&Itemid=133&category_pathway=0&lang=en)

I think i have the subject message just "A contact request has been made" from the beginning of instaling hikashop
I already asked for extras subject line in another thread, because i didnt know the product name should be added automatically.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 10 months ago [\#33861](#33861) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#33861 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

I think I understand the problem.

Please edit the file "show" of the view "product" via the menu Display-&gt;Views and change the line:

echo $this-&gt;cart-&gt;displayButton(JText::_('CONTACT_US_FOR_INFO'),'contact_us',$params,hikashop_completeLink('product&amp;task=contact&amp;cid='.$this-&gt;row-&gt;product_id),'window.location=\''.hikashop_completeLink('product&amp;task=contact&amp;cid='.$this-&gt;row-&gt;product_id).'\';return false;');

to:

echo $this-&gt;cart-&gt;displayButton(JText::_('CONTACT_US_FOR_INFO'),'contact_us',$params,hikashop_completeLink('product&amp;task=contact&amp;cid='.$this-&gt;element-&gt;product_id),'window.location=\''.hikashop_completeLink('product&amp;task=contact&amp;cid='.$this-&gt;element-&gt;product_id).'\';return false;');

That should solve the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Karloz](/forum/user/3250-karloz "View Karloz's Profile")**
- [![Karloz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3250-karloz "View Karloz's Profile")
- [ Offline](/forum/user/3250-karloz)

Less More

- Posts: 45
- Thank you received: 0
-
-

14 years 10 months ago [\#33877](#33877) by [Karloz](/forum/user/3250-karloz "View Karloz's Profile")  Replied by *[Karloz](/forum/user/3250-karloz "View Karloz's Profile")* on topic *[Re: Subject Line in "Contact us for information" emai](/forum/4-how-to/32393-subject-line-in-contact-us-for-information-emai#33877 "Good morning Nicolas.  The email that I get when someone sends a &quot;Contact us for more information&quot; email only contains the variants and not the product name or product code.  Shouldn't the email include the product name and product code?  Thanks  Jim")*

Yes it does, thank you very much

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyMzkzLXN1YmplY3QtbGluZS1pbi1jb250YWN0LXVzLWZvci1pbmZvcm1hdGlvbi1lbWFpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.075 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
