diff --git a/bridges/PepperBridgeAbstract.php b/bridges/PepperBridgeAbstract.php index 85178e54375..c152d249d4f 100644 --- a/bridges/PepperBridgeAbstract.php +++ b/bridges/PepperBridgeAbstract.php @@ -393,10 +393,10 @@ private function getShippingCost($deal) */ private function getSource($deal) { - if ($deal->find('a[class*=text--color-greyShade]', 0) != null) { - return '
' . $this->i8n('origin') . ' : ' - . $deal->find('a[class*=text--color-greyShade]', 0)->outertext - . '
'; + if (($origin = $deal->find('button[class*=text--color-greyShade]', 0)) != null) { + $path = str_replace(' ', '/', trim(Json::decode($origin->{'data-cloak-link'})['path'])); + $text = $origin->find('span[class*=cept-merchant-name]', 0); + return '
' . $this->i8n('origin') . ' : ' . $text . '
'; } else { return ''; }