Button - Contact us for mor information

  • Posts: 68
  • Thank you received: 0
11 years 5 months ago #147808

Hi,

I use Joomla 2.5 and Hikashop Bussines version 2.2.3.

I correct the view of contact as is mentioned here at the forum and there is no blank page after the question is send. It is working perfectly.

I would like to have possibility to create page with the thanks and some editional information. This page can be for example as article in Joomla and after the question is send, the visitor will be redirected to this extra page.
The system message which appeare after success sending will apper on the new page, which will be created.

Why I would like to have like this?
Now I don´t have possibility to set up goal in Google Analytics because I don´t have one address which means thant the question to the product was send. The url depends on the product.

Is there any solution how to do it?

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

  • Posts: 84290
  • Thank you received: 13691
  • MODERATOR
11 years 5 months ago #147875

Hi,

You would have to edit the file "contact" of the view "product" via the menu Display>Views and change the code:

<input type="hidden" name="redirect_url" value="<?php $redirect_url = JRequest::getString('redirect_url', ''); echo $this->escape($redirect_url); ?>" />
to:
<input type="hidden" name="redirect_url" value="http://mywebsite.com/mypage.html" />
where mywebsite.com/mypage.html is the URL where you want the user to be redirected.

The following user(s) said Thank You: kopretina

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

  • Posts: 68
  • Thank you received: 0
11 years 5 months ago #148922

Hi,

I set up all what you tell me and everything worked perfectly. The web was on working domain.
Now we moved the web on right domain and the question from form which appeares after press of contact button doesn´t work.
Nothing is send.

Web is on different hosting who is use the secure connection. Port 587.

Can this be reason, why the request fromm this form doesn´t work?

The side which appeares after the form is send is in the fromat
www.domain-name.xy/category-name/product/

Could you help me, please?

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

  • Posts: 84290
  • Thank you received: 13691
  • MODERATOR
11 years 5 months ago #148934

Hi,

It's probably because you need to reconfigure your emails settings in the Joomla configuration and in the HikaShop configuration according to the new requirements of your hosting company.
I would recommend to contact them and check your email settings with them.

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

  • Posts: 68
  • Thank you received: 0
11 years 5 months ago #149047

It is strange because the e-mails are functional ant forms from other extencional are working without problem.
The e-mails in Hikashop are set up too.
I don´t see any other possibility directly in Hikashop than is set up iín the System->Configuration->E-mail

Can be the e-mail address in Hikashop different? I mean main e-mail address in Joomla and other e-mail in Hikashop?
On the test domain it was working.

I suppose the problem will be port, because on the hosting, where we have web for testing it was without problem.
Port was 25.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #149069

Hi,

HikaShop use the default Joomla mail system. So if it's working fine in Joomle, it must work in HikaShop.
In HikaShop what can be changed are the emails from and reply to addresses and some other parameters, you can find them in Configuration > Main > Emails.

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

  • Posts: 68
  • Thank you received: 0
11 years 5 months ago #149587

The problem was solved. There was mistake in .htaccess. We added the "/" at the and of the url, and the system doesn´t work well with this.

I would like to ask you still for one think.
The request, which is sent from contact product form doesn´t display correctly special characters in the user name.
In the text of the form it is displayed well.
Could you tell me, how can I correct it?

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

  • Posts: 84290
  • Thank you received: 13691
  • MODERATOR
11 years 5 months ago #149755

This can be fixed by editing the contact email via the menu System>Emails and changing the line:
'USER_DETAILS' => htmlentities($data->element->name.' ( '.$data->element->email . ' )'),
to:
'USER_DETAILS' => htmlentities($data->element->name.' ( '.$data->element->email . ' )', ENT_COMPAT, 'UTF-8'),

as it was fixed in HikaShop 2.3.0

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

  • Posts: 68
  • Thank you received: 0
11 years 5 months ago #149790

Thank you very much for help.

I use the latest available version Bussines 2.2.3. So I changed the line and now it is working well.

Best regards for perfect support.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum