Post by ozstar » Tue Apr 03, 2012 11:29 am

Hi,

This is really dumb I know however, I need to know the best way for admin to complete the order after they receive the order email.

Maybe there are mods which make it easier than the default. Just would like to know.

In osCommerce it is only about 3 clicks to sign the sale off once logged into admin.

To make it quicker we used a mod that has the link to admin in the order that the admin receives.

So one receives the order, click the link and in.

OC Version 1.5.2.1.

Just love OC so far...


oz 8)

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by Avvici » Tue Apr 03, 2012 12:18 pm

You can set the order status default to "complete" in the admin settings. If this is not what you want then you can just choose the order (edit) and change the status there.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by ozstar » Tue Apr 03, 2012 12:30 pm

Okay.. decided to mess around and try something and it works until I get something better.

I changed the order.php file here..

catalog/language/english/mail

like this..

Code: Select all

<?php
// Text

Added my url admin url to line 5

$_['text_new_received']         = 'You have received an order. Complete here <a href="http://www.MYSITEURL.com/admin/">Complete it here</a>.';
This way when i get the email I just click the link and I am at the Admin Login.

Maybe there is something better that goes straight to the order.

oz

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by Avvici » Tue Apr 03, 2012 12:47 pm

Absolutely. In your Model file for new orders you can pass a URL to the admin email that has the direct path to the order. Just remember you would have to login to set the session token if you aren't logged in already.

Here is an example of what such a URL would look like with a token:

Code: Select all

https://www.yoursite.com/admin/index.php?route=sale/order/info&token=eded3b2cfe36fb1ceeaecfef9da85535&order_id=2092

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by asdco » Tue Apr 03, 2012 1:09 pm

placing links in emails is like making another hole for the snakes to crawl in. If you think its a trivial matter go to google and type ANY cart name and then the word hacks. You will be surprised how many pages of hacks and hackers there are out there trying to break into your store. Making things easier for yourself also makes it easier for a hacker.

Newbie

Posts

Joined
Sat Mar 31, 2012 5:29 am

Post by Avvici » Tue Apr 03, 2012 1:18 pm

asdco wrote:placing links in emails is like making another hole for the snakes to crawl in. If you think its a trivial matter go to google and type ANY cart name and then the word hacks. You will be surprised how many pages of hacks and hackers there are out there trying to break into your store. Making things easier for yourself also makes it easier for a hacker.
You are correct but you forget that this email is being sent to an Admin Only. If this was a public email then yes that would apply but as long as your email is going to only you.....there is nothing wrong with passing this URL. Besides, they would have to login to create a session token regardless.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by ozstar » Wed Apr 04, 2012 2:38 pm

Thank you guys.. oz :-)

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ
Who is online

Users browsing this forum: No registered users and 16 guests