Hi dear community,
i have an question.
How can i add article to cart programaticcaly, from my code?
Thanks in advance
Hi @veljko229,
have a look at this one:
http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.10.1/classox_basket.html#a217fa979369b9ff20aa8d0c25d113939
Regards
oxBasket->addToBasket() is indeed the right function for you
And you could use oxBasket->load() as example / demo:
http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.10.1/oxbasket_8php_source.html#l01681
Thanks Marco, vanilla very much
And, if i may ask, what is the relation between session and basket?