Jump to content

RMA won't display in order detail


Simon Zhang

Recommended Posts

Hi everyone, I'm encoutering a problem for the RMA process. I enabled returns in the BO and have now a "My merchandise returns" page available in the "My account" page.

The problem is that when i go to the detail of an order that has been "Delivered" the checkboxes for selecting which products to return are not displayed. By looking into the order-detail.tpl I found that the checkboxes are displayed if the following condition is satisfied: {if $return_allowed}

So i used the Smarty {debug} tool to check this var and i got this :

Smarty_Variable Object (3)
->value = 0
->nocache = false
->scope = "..."

So the problem is coming from the variable $return_allowed.  Do you know where this variable is set/declared ? 

Thanks in advance ^^

 

Link to comment
Share on other sites

  • 2 weeks later...

I don't know if anyone encountered this problem at all, I am new to prestashop and I've been trying to figure this out unsuccessfully ^^'. Can anyone please help :). 

I tried directly to assign the value of $return_allowed to 1 so that I force the display of the checkboxes and overall (RMA display) when in the order-detail. My order status is on delivered.image.thumb.png.1beaa210fa31665dddf70999d7dc7bbe.png

But when I click on the button to create an RMA, I get this :

 

So I am kind of lost right now..

 

image.png

Edited by Simon Zhang (see edit history)
Link to comment
Share on other sites

  • 1 year later...

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