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
|