| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Order Details | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 !
__________________
alex |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Order Details
How do you add the property? Please could you share the source code of the model-extending class?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Order Details
@Soptareanu Alex,
Did you try to define this column with nullable=true parameter? It would look something like this: Code:
Please, let me know if it helps. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
#4
|
|||||||
|
|||||||
Re: Order Details
Quote:
Yes, If I set as nullable it works !
__________________
alex |
|||||||
|
|||
X-Cart forums © 2001-2020
|