I am trying to add items to the basket. For that purpose, I am using the [B]addToBasket[/B] function. But when I try to get the basket item persistent parameters or select list it returns null.
foreach ($oBasket->getContents() as $oItem)
{
$oBasket->addToBasket($pProductId, $dAmount,$oItem->getSelList() ,$oItem->getPersParams());
}
Actually what I need is to make a selection of the articles that are in basket already and send emails to the manufacturers after the order properly.
That’s why I wanted to make a new basket and add all the products that are from that one manufacturer and send mail.
It is giving me an error that the price is null and it is not.