Post by grgr » Mon Dec 19, 2011 3:51 pm

This allows guests to check up on their order history by supplying their email address, ip address and order number.

To see it in action go here:

http://vger.co.uk/two/index.php?route=account/guest

and use the following details:

email: admin@vger.co.uk

IP Address: 123.456.7.89

Order Number: 11

It's all new files so just upload and go.

There is a vQmod included to alter order confirmation emails. If a guest checks out then the email includes the lines:
You may check your order status at any time by clicking on the link below:

http://vger.co.uk/two/index.php?route=account/guest
I don't entirely vouch for this being the most secure thing in the world, part of the reason the I added the IP address check as that is a very big number, suggestions are welcome.

It's in the extension store, click link below.

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by i2Paq » Sat Aug 25, 2012 2:03 pm

I'm using this and I love it!

Although there is a small issue when it comes to Multi-lingual.

I have English and Dutch in my shop and in English the additional text is added to the order confirmation where in Dutch it is not.

This is what there is used for English:

Code: Select all

	<file name="catalog/language/english/mail/order.php">
        <operation>
            <search position="after"><![CDATA[
'To view your order click on the link below:';
            ]]></search>
            <add><![CDATA[
$_['text_guest_link']             = 'You may check your order status at any time by clicking on the link below:';
            ]]></add>
        </operation>
	</file>
This is what I use for Dutch:

Code: Select all

	<file name="catalog/language/dutch/mail/order.php">
        <operation>
            <search position="after"><![CDATA[
'To view your order click on the link below:';
            ]]></search>
            <add><![CDATA[
$_['text_guest_link']             = 'You may check your order status at any time by clicking on the link below:';
            ]]></add>
        </operation>
	</file>
This is why I think it is not working in Dutch:

Code: Select all

           <search position="after"><![CDATA['To view your order click on the link below:';            ]]></search>  
That line of text searched for is not in the Dutch file.

Looking at other vQmod's they use:

Code: Select all

<search position="after" offset="1" error="log"><![CDATA[// Text]]></search>
			<add><![CDATA[$_['text_new_owner_subject']          = '%s - Bestelnummer %s';]]></add>
You see that the search for is different.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by i2Paq » Sat Aug 25, 2012 2:13 pm

I got it to work!

I replaced the:

Code: Select all

<search position="after"><![CDATA[
'To view your order click on the link below:';
            ]]></search>
With:

Code: Select all

<search position="after" offset="1" error="log"><![CDATA[// Text]]></search>
The link gets added to the Dutch mail as well!

Woooohoooo! O0

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: No registered users and 2 guests