View Single Post
  #1  
Old 06-30-2014, 11:53 AM
 
Deepvas Deepvas is offline
 

Newbie
  
Join Date: Jan 2007
Posts: 6
 

Default Add column to order

Hello, I am using xcart 5.1.3.

I am trying to add a column to the order model as I want a checkbox at checkout to update it.

I have a module with the following code.


PHP Code:
<?php
namespace XLite\Module\NameOfDeveloper\TaxRelief\Model;

/**
 * order repository
 */
class Order extends \XLite\Model\Order implements \XLite\Base\IDecorator
{
    
/**
     * agree to vat relief on order form
     *
     * @return boolean
     */
    
protected $agreeToVatRelief;

}

And I also have a install.yaml file like so:

Code:
XLite\Model\Order\Modifier: - { class: '\XLite\Module\NameOfDeveloper\TaxRelief\Model\Order', weight: 1000 }

My build gets stuck here:

Code:
Re-building cache [step 4 of 9], please wait... Run the "Doctrine_Plugin_PrepareDBSchema" plugin...


1)How do I rebuild when my build get stuck like this??

2)Is there any problems with what I have done?

Thanks
__________________
Deepvas
X Cart Gold
Version 4.1.9
AOM
DSEFU
Reply With Quote