Skip to main content

Thank You page after order.

10 years 11 months ago #224919 by Scott2451
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.7
-- PHP version -- : 5.4.28

Need to add Google code to our Thank You pages once someone places an order and checks out than they get that Thank You page. Does anyone know where I can find the Thank You pages and code view?

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

10 years 11 months ago #224932 by Jerome
Replied by Jerome on topic Thank You page after order.

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

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

10 years 11 months ago #224997 by Scott2451
I read through the two links you sent me but neither one answers my question. I need to know where in Hikashop the existing Thank You page is located because I need to add google tracking code in there.

Jerome wrote: Hi,

See :
www.hikashop.com/forum/4-how-to/32253-ho...-thank-you-page.html
And
www.hikashop.com/support/support/documen...ize-the-display.html

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

10 years 11 months ago #225000 by lousyfool
The thread in the first link Jerome gave you does answer your question, indeed, since it contains several pointers to the page content in question.

For example Nicolas' post www.hikashop.com/forum/4-how-to/32253-ho...you-page.html#224785 , which states:

You can add such code in the file "after_end" via the menu Display>views


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

10 years 11 months ago #225002 by Scott2451
I found this per the template we're using:

<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.0
* @author hikashop.com
* @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
$app = JFactory::getApplication();
$app->enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') );

So I can add my google tracking code just below the last line which would be this?

<script type="text/javascript">
other stuff in here which I didn't include
</noscript>

lousyfool wrote: The thread in the first link Jerome gave you does answer your question, indeed, since it contains several pointers to the page content in question.

For example Nicolas' post www.hikashop.com/forum/4-how-to/32253-ho...you-page.html#224785 , which states:

You can add such code in the file "after_end" via the menu Display>views

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

10 years 11 months ago #225032 by nicolas
Replied by nicolas on topic Thank You page after order.
You should rather add it at the beginning, before the first line.

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

10 years 11 months ago #225062 by Scott2451
Ok, thanks.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum