We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e036c4 + 954ee4f commit a9e29ebCopy full SHA for a9e29eb
app/code/Magento/Catalog/Block/Product/Compare/ListCompare.php
@@ -122,12 +122,7 @@ public function __construct(
122
*/
123
public function getAddToWishlistParams($product)
124
{
125
- $continueUrl = $this->urlEncoder->encode($this->getUrl('customer/account'));
126
- $urlParamName = Action::PARAM_NAME_URL_ENCODED;
127
-
128
- $continueUrlParams = [$urlParamName => $continueUrl];
129
130
- return $this->_wishlistHelper->getAddParams($product, $continueUrlParams);
+ return $this->_wishlistHelper->getAddParams($product);
131
}
132
133
/**
0 commit comments