Guest Checkout does not display final 'Thank you' message

  • Posts: 33
  • Thank you received: 0
7 years 9 months ago #260957

-- url of the page with the problem -- : iafdesign.net/dev/3lab/index.php/checkout/checkout/confirm
-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.30
-- Browser(s) name and version -- : Firefox 51.0.1
-- Error-message(debug-mod must be tuned on) -- : No error message displayed with debug turned on and errors at Max

Registered users see a final page at checkout that says 'Thank you, your quotation has now been submitted. You will be contacted by email shortly' which have been set as language overrides for ORDER_IS_COMPLETE and PLEASE_TRANSFERT_MONEY. Also visible is the 'You can now access your quotation here'.
But Guest users see no text at all - just a blank page.
I've attached screenprints of both cases with the URLs of each.
How do I get the Guest to have a thank you message? Looking at the views, it seems like the guest should see the same screen but without the access to the order?

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #261004

Hi,

Do you have a view override for the view "checkout / end" ?
Here the current code (which haven't changed between HikaShop 2.6.4 and HikaShop 3.0.0).

if(empty($this->html)) {
	echo JText::_('THANK_YOU_FOR_PURCHASE');
	$user = JFactory::getUser();
	if(!$user->guest) {
		$url = hikashop_completeLink('order&task=show&cid='.$this->order->order_id);
		echo '<br/>'.JText::sprintf('YOU_CAN_NOW_ACCESS_YOUR_ORDER_HERE',$url);
	}
} else {
	echo $this->html;
}
The link to the order is currently not display to guest users because a guest did not have the possibility to see the order (which have changed recently thanks to the "order token").

So, I can't explain why guest users do not see the "thank you for your purchase" but I can explain why they don't have the link to the order.

I will update HikaShop 3.0 in order to integrate the support of the "order token" in the "checkout / end" view.
Thank you for your feedback.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 33
  • Thank you received: 0
7 years 9 months ago #261055

Sorry, yes I had previously changed the checkout/end view and that's why it wasn't displaying. I have now corrected it.

Is there a way of knowing which specific view in the checkout is being displayed? It doesn't seem to relate to the URL.

Regards

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #261058

Hi,

If you want to perform some debug in Joomla ; you need to use Joomla debug tools.

For customization, we have a documentation page.
We're talking about mostly the product page and it would be hard to explain the goal of the hundred of views we've got.
www.hikashop.com/support/documentation/1...ize-the-display.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum