This commit is contained in:
2026-09-15 10:26:34 +08:00
commit ecf36afa56
10493 changed files with 1404888 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
namespace Stemcell\Customer\Block\Widget\Product;
class ProductsList extends \Magento\CatalogWidget\Block\Product\ProductsList
{
protected ?string $moreLink = null;
/**
* @return string|null
*/
public function getLinkAttributes(): ?string
{
if ($this->moreLink) {
return $this->moreLink;
}
$more = (string)$this->getData('more');
if ($more && !\Zend_Uri::check($more)) {
return $this->moreLink = $this->_urlBuilder->getUrl($more);
}
return $this->moreLink = $more;
}
}