Answer the question
In order to leave comments, you need to log in
How to rewrite products in your own way in sylius?
How to implement your own class and so that
it could do
$mycustom->addToBasket()
and then Sylius could process the basket, checkout, invoices, etc.
so that not only your SyliusProduct can be put in the basket
and is it possible?
Answer the question
In order to leave comments, you need to log in
Objects that implement the CartItemInterface contract are placed in the basket . You
can already dance from this.
Well, the class itself must also implement the ProductInterface if you do not want to rewrite the mountains of internal code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question