Thank you page is missing

  • Posts: 44
  • Thank you received: 0
8 years 4 months ago #245138

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1

Hi,

it seems that after joomla or hikashop update thank you page is not working anymore and after clicking on confirm order button it redirects me to the main shop page with message "Your cart is empty" and it also logs off me.

I have no payment or shipping methods.

What have i done:
- cleared joomla and browser cache
- turn off system redirect plugin
- delete my custom end.php view

Thanks in advance.

Last edit: 8 years 4 months ago by denoo.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 4 months ago #245150

Hi,

Could you provide the insctructions to reproduce the problem on your website and a link to the shop so that we can look at the issue ?
Could you also provide a screenshot of the settings of the payment method ? (you can blur/hide the sensitive data).

The following user(s) said Thank You: denoo

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

  • Posts: 44
  • Thank you received: 0
8 years 4 months ago #245159

Hi Nicolas,

I've sent a message with url and login-pass using "Contact us" form.

Thanks in advance.
Denis

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

  • Posts: 4753
  • Thank you received: 644
  • MODERATOR
8 years 4 months ago #245317

Hello,

I proceed some test, and for now I'm unable to see the root issue... Can you provide a screenshot of your main cart configuration ?
You will find it
- In HikaShop => Components => Configuration
- In Main tab and on Cart part.
- Make a screenshot like this one.



You can after try to use "URL where you will be redirected when the cart is empty" option to fill with your thank you page Url link, and see if it's works.

Awaiting news from you.

Regards

Attachments:
Last edit: 8 years 4 months ago by Philip.
The following user(s) said Thank You: denoo

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

  • Posts: 44
  • Thank you received: 0
8 years 4 months ago #245325

Hi Philip,

here is my cart config screenshot:



Even if I use the option "URL where you will be redirected when the cart is empty" to redirect to my thank you page, there is still the problem with logging off after confirming the order:
1) On my thank you page there is a form for new customers to fill in. And some values to that form are passed from their registration data. So if they are logged off they have to fill in this values themselves.
2) Customers can't use their accounts directly after ordering.

Thank you for your time.

Denis

Attachments:

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

  • Posts: 44
  • Thank you received: 0
8 years 4 months ago #245330

Hi again,

the main problem was solved. Thank you page is shown and user is not logged out. It was solved after disabling mass action rule which I use to replace customer's user group after his first order (I don't want to use "product_group_after_purchase" field.). Here is screenshot:



Is this correct (in 2.6.3 version)?

Attachments:
Last edit: 8 years 4 months ago by denoo.

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

  • Posts: 13201
  • Thank you received: 2322
8 years 4 months ago #245356

Hi,

You mass action is correctly set.
But in Joomla, if you want the new user group in use, you have to log out and log back in.
That's why we automatically logout the customer.

The following user(s) said Thank You: denoo

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

  • Posts: 44
  • Thank you received: 0
8 years 4 months ago #245404

Hi Xavier,

the problem is that user is logged out even if he is not in "Registered" group and is in "1st" group already.
But it's ok - the MAIN problem is solved. I'll create another rule to change usergroup for new customers.

Thank you for your time.

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

  • Posts: 44
  • Thank you received: 0
8 years 4 months ago #245406

Hi again,

when I try to process this mass action rule manually I got this error message - 1054 Unknown column 'hk_user.user_cms_id' in 'where clause' SQL=SELECT hk_order.* FROM #__hikashop_order as hk_order WHERE (hk_user.user_cms_id IN (73)) LIMIT 0, 500...

Just have tried this on old version of my web (joomla 3.4.7 and hikashop 2.5.0) and there is no such error.

Any thoughts?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 4 months ago #245430

Hi,

Try replacing the code:

			if(!empty($users))
				$query->where[] = 'hk_user.user_cms_id'.' '.$filter['type'].' ('.implode(',',$users).')';
to:
if(!empty($users)){
				$query->leftjoin['user'] = hikashop_table('user').' as hk_user ON hk_order.order_user_id = hk_user.user_id';
				$query->where[] = 'hk_user.user_cms_id'.' '.$filter['type'].' ('.implode(',',$users).')';
			}
in the file plugins/hikashop/massaction_order/massaction_order.php

The following user(s) said Thank You: denoo

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

  • Posts: 44
  • Thank you received: 0
8 years 4 months ago #245569

Hi Nicolas,

now the manual processing of the massaction rule throws no error.

Thanks.

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

Time to create page: 0.108 seconds
Powered by Kunena Forum