View Single Post
  #4  
Old 02-27-2020, 06:39 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

In httpdocs\classes\XLite\Module\XC\Reviews\Model\ord er.php 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()
);
}

Change status of delivered to shipping and also add payment status for authorised and paid both



Also, in httpdocs\classes\XLite\Module\XC\Reviews\Model\Ord er\Status
Set status handler for shipped the same those are added for delivered
__________________
Version 5.3.6.6
Reply With Quote