2018-01-25 11:30:17 +01:00
|
|
|
<?php
|
2024-09-04 08:58:40 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Copyright (c) D3 Data Development (Inh. Thomas Dartsch)
|
2018-01-25 11:30:17 +01:00
|
|
|
*
|
2024-09-04 08:58:40 +02:00
|
|
|
* For the full copyright and license information, please view
|
|
|
|
* the LICENSE file that was distributed with this source code.
|
2018-01-25 11:30:17 +01:00
|
|
|
*
|
2024-09-04 08:58:40 +02:00
|
|
|
* https://www.d3data.de
|
2018-01-25 11:30:17 +01:00
|
|
|
*
|
2024-09-04 08:58:40 +02:00
|
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
|
|
|
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
|
|
|
* @link https://www.oxidmodule.com
|
2018-01-25 11:30:17 +01:00
|
|
|
*/
|
|
|
|
|
2024-09-04 08:58:40 +02:00
|
|
|
namespace D3\Devhelper\Modules\Application\Model;
|
2018-02-23 11:06:24 +01:00
|
|
|
|
2024-09-04 08:58:40 +02:00
|
|
|
use OxidEsales\Eshop\Application\Model\ArticleList;
|
2018-02-23 12:30:57 +01:00
|
|
|
|
2024-09-04 08:58:40 +02:00
|
|
|
class d3_dev_oxorderarticle extends d3_dev_oxorderarticle_parent
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @return null|ArticleList
|
|
|
|
*/
|
|
|
|
public function getCustomerAlsoBoughtThisProducts()
|
|
|
|
{
|
|
|
|
$oArticle = $this->getArticle();
|
2018-01-25 11:30:17 +01:00
|
|
|
|
2024-09-04 08:58:40 +02:00
|
|
|
/** @var ArticleList $artList */
|
|
|
|
$artList = $oArticle->getCustomerAlsoBoughtThisProducts();
|
2020-11-11 22:29:10 +01:00
|
|
|
|
2024-09-04 08:58:40 +02:00
|
|
|
return $artList;
|
|
|
|
}
|
|
|
|
}
|