Jump to content

Help to disable guest tracking after payment


Recommended Posts

Hello prestashoppers!

 

I have this problem with a "guest tracking" after my customers have paid their stuff. How do I disable this object?

 

Hope someone can help me! :-)

 

Best regards

Casper Laursen

 

PS. The attached files is in Danish, so please contact me for translation. 

post-735780-0-52131700-1391275989_thumb.png

Link to comment
Share on other sites

Hello prestashoppers!

 

I have this problem with a "guest tracking" after my customers have paid their stuff. How do I disable this object?

 

Hope someone can help me! :-)

 

Best regards

Casper Laursen

 

PS. The attached files is in Danish, so please contact me for translation. 

Do anyone have a solution?

Link to comment
Share on other sites

  • 2 weeks later...

You may just edit the page, the file is located in /themes/default (or whatever your theme is) and it's called: guest-tracking.tpl

 

For presta 1.5.6.2:

 

Remove:

<form method="post" action="{$action|escape:'htmlall':'UTF-8'}" class="std">
		<fieldset class="description_box">
			<p>{l s='To track your order, please enter the following information:'}</p>
			<p class="text">
				<label>{l s='Order Reference:'} </label>
				<input type="text" name="order_reference" value="{if isset($smarty.get.id_order)}{$smarty.get.id_order|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'htmlall':'UTF-8'}{/if}{/if}" size="8" />
				<i>{l s='For example: QIIXJXNUI or QIIXJXNUI#1'}</i>
			</p>

			<p class="text">
				<label>{l s='Email'}</label>
				<input type="text" name="email" value="{if isset($smarty.get.email)}{$smarty.get.email|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'}{/if}{/if}" />
			</p>

			<p class="center"><input type="submit" class="button" name="submitGuestTracking" value="{l s='Send'}" /></p>
		</fieldset>
	</form>

And put your code in place, i.e:

<p>Thanks for shopping!</p>
Link to comment
Share on other sites

 

You may just edit the page, the file is located in /themes/default (or whatever your theme is) and it's called: guest-tracking.tpl

 

For presta 1.5.6.2:

 

Remove:

<form method="post" action="{$action|escape:'htmlall':'UTF-8'}" class="std">
		<fieldset class="description_box">
			<p>{l s='To track your order, please enter the following information:'}</p>
			<p class="text">
				<label>{l s='Order Reference:'} </label>
				<input type="text" name="order_reference" value="{if isset($smarty.get.id_order)}{$smarty.get.id_order|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'htmlall':'UTF-8'}{/if}{/if}" size="8" />
				<i>{l s='For example: QIIXJXNUI or QIIXJXNUI#1'}</i>
			</p>

			<p class="text">
				<label>{l s='Email'}</label>
				<input type="text" name="email" value="{if isset($smarty.get.email)}{$smarty.get.email|escape:'htmlall':'UTF-8'}{else}{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'}{/if}{/if}" />
			</p>

			<p class="center"><input type="submit" class="button" name="submitGuestTracking" value="{l s='Send'}" /></p>
		</fieldset>
	</form>

And put your code in place, i.e:

<p>Thanks for shopping!</p>

 

Thanks for the help ! 

 

When the costumer gets to the page which now says "Thanks for shopping", it looks for them like the order has been completed. However, the order is recorded in the Backoffice, so I wrote to the payment solution company, and they told me that is was an error in the callback-url. Do you know how I can change that / see if it is correct ?

 

Best regards

Jacob

Link to comment
Share on other sites

  • 9 months later...

Thanks for the help ! 

 

When the costumer gets to the page which now says "Thanks for shopping", it looks for them like the order has been completed. However, the order is recorded in the Backoffice, so I wrote to the payment solution company, and they told me that is was an error in the callback-url. Do you know how I can change that / see if it is correct ?

 

Best regards

Jacob

thanks dude! Working on 1.9.0.6

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...