View Single Post
  #3  
Old 12-04-2019, 05:22 PM
 
siddharth.puri@wheelandba siddharth.puri@wheelandba is offline
 

Advanced Member
  
Join Date: Nov 2019
Posts: 66
 

Default Re: Changing trigger for product review requests

Hi, I think I have figured it out.
In Review module that is:

classes\XLite\Module\XC\Reviews\Model there is a function protected function isOrderValidForReviewKey()
{
return !$this->getReviewKey()
&& \XLite\Model\Order\Status\Payment::STATUS_PAID === $this->getPaymentStatusCode()
&& (
\XLite\Model\Order\Status\Shipping::STATUS_DELIVER ED === $this->getShippingStatusCode()
|| !$this->isShippable()
);
}

In this take out the condition of Status_Paid

Hopefully that will work

Regards
__________________
Version 5.3.6.6
Reply With Quote