Jump to content

[Solved] authorize returns automatically?


Recommended Posts

Hi,
I am on an old version of prestashop and updating to a newer one (not the 1.4 though) I think is 1.3.5 (my hubby is doing so not sure)

I currently run into the issue of having to change the order status to delivered so that the customer can start a return.
Is there a way to not have to do that or do the newer versions of prestashop allow this already?

thanks!

Link to comment
Share on other sites

I believe this is how it's meant to work, if an order was not set to delivered, you cannot start a return.
It's best to update the order status to reflect the actual status, as it makes it easier for you (the shop owner) to keep track of all the orders and the current state.

Link to comment
Share on other sites

Well, I understand that this is meant to stop returns that not allowed, but for me it really does not work.
I don't update the status to delivered, because, I am not going to check everyday which order delivered and update manually the status.

I want my customers to be able to start a return, without having to email me first. It is really more customer friendly. Our return policy is fairly open and lenient to reassure the customer, and this feature would go along into the way we want to treat our customers..

Any idea how to do this?

Link to comment
Share on other sites

Off the top of my head, I would say to change the status of validated orders from payment accepted to delivered.

I would no do this on any project I would manage, but since it sounds like you're just looking for a quick and dirty solution, it should work.

Edit /config/defines.inc.php around line 109 and change it to

define('_PS_OS_PAYMENT_',     5);
define('_PS_OS_PREPARATION_', 3);
define('_PS_OS_SHIPPING_',    4);
define('_PS_OS_DELIVERED_',   2);

Link to comment
Share on other sites

  • 2 months later...

Hello!
http://www.youcefbanouni.com/645/prestashop-returns-with-any-order-status/ did not work for me..
But edit defines.inc.php worked! :)
.. But i need to allow RMA on both Shipped and delivered, help me?

I have this in defines.inc.php now..

/* Order states */
define('_PS_OS_CHEQUE_',      1);
define('_PS_OS_PAYMENT_',     2);
define('_PS_OS_PREPARATION_', 3);
define('_PS_OS_SHIPPING_',    5);
define('_PS_OS_DELIVERED_',   4);
define('_PS_OS_CANCELED_',    6);
define('_PS_OS_REFUND_',      7);
define('_PS_OS_ERROR_',       8);
define('_PS_OS_OUTOFSTOCK_',  9);
define('_PS_OS_BANKWIRE_',    10);
define('_PS_OS_PAYPAL_',      11);
define('_PS_OS_WS_PAYEMENT_', 12);


And this is the original

/* Order states */
define('_PS_OS_CHEQUE_',      1);
define('_PS_OS_PAYMENT_',     2);
define('_PS_OS_PREPARATION_', 3);
define('_PS_OS_SHIPPING_',    4);
define('_PS_OS_DELIVERED_',   5);
define('_PS_OS_CANCELED_',    6);
define('_PS_OS_REFUND_',      7);
define('_PS_OS_ERROR_',       8);
define('_PS_OS_OUTOFSTOCK_',  9);
define('_PS_OS_BANKWIRE_',    10);
define('_PS_OS_PAYPAL_',      11);
define('_PS_OS_WS_PAYEMENT_', 12);

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...