Order Details
Anyone can explain me how actualy processQuick() function works ? In \XLite\Model\OrderItem I create a new property(item_disponibility). His value is set when I add some product in cart based on a product property.
In my Order Details I show in the table this propery. It shows very well but if I want to add another product on that particulary order, I recive an error when it calls recalculate method because of item_disponibility that has no value and it send a null to database column. The question is how to pass this value to entity before make the persistence in xc_order_items table. I use a XCART 5.3.2.13 version ! |
Re: Order Details
How do you add the property? Please could you share the source code of the model-extending class?
|
Re: Order Details
@Soptareanu Alex,
Did you try to define this column with nullable=true parameter? It would look something like this: Code:
@Column (type="string", nullable=true) Please, let me know if it helps. Tony |
Re: Order Details
Quote:
Yes, If I set as nullable it works ! |
All times are GMT -8. The time now is 07:28 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.