News:

AbanteCart v1.4.2.1 is released.

Main Menu

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ambhar

#1
Hi.
I want to add a new column in Orders section of admin panel. This section shows order related information in JQGRID. I want to add a column showing payment method of order. I edited the following code in order.php inside the controller.

$grid_settings['colNames'] = array(
        $this->language->get('column_order'),
        $this->language->get('column_name'),

        $this->language->get('column_status'),
        $this->language->get('column_mode'),         //Column Name that I added
        $this->language->get('column_date_added'),
        $this->language->get('column_total'),
    );
    $grid_settings['colModel'] = array(
        array('name' => 'order_id',
            'index' => 'order_id',
            'align' => 'center',),
        array('name' => 'name',
            'index' => 'name',
            'align' => 'center'),
        array('name' => 'status',
            'index' => 'status',
            'align' => 'center',
            'search' => false),
            array('name' => 'payment_method',     //Column data that I added
            'index' => 'payment_method',
            'align' => 'center',
            'search' => false),
        array('name' => 'date_added',
            'index' => 'date_added',
            'align' => 'center',
            'search' => false),
        array('name' => 'total',
            'index' => 'total',
            'align' => 'center'),
    );

This added the column name but did not fetch any data to that column.

Please do help me with this. I am stucked onto this for long.

Thanks in advance.
#2
Yonghan.........Thanks for your above reply. If I want to add a custom php page in place of success.tpl where I want to get some variables after the successful transaction and show them. How can I do this task in Abante?
#3
<button class="btn btn-orange pull-right ml10" title="<?php echo $form['continue']->name ?>" type="submit">
   <i class="icon-arrow-right icon-white"></i>
   <?php echo $form['continue']->name ?>
</button>
The above is the code for the button which I found after some hard work. And I am new to AbanteCart...have no idea about the code flow in it. Where can I find controller for this?
#4
Hello....
              I have created a custom radio button for a payment option with default COD on guest_step_2. Whwn I check any of the payment option, it redirect me to the same page on which cash on delivery is redirected i.e. guest_step_3. I want to take the value of my radio button and perform my action for the payment for which I also need the session parameters about the transaction. How can I perform this??

Thanks in Advance
Waiting for a reply
#5
Hi...I am working in Abantecart and everything was going smooth till I try using Dragonpay Payment gateway of phillipines with abantecart. There is no extension for it. The gateway have developer suport but I dont know how to create an extension in Abantecart as I dont know the basic structure required to build the extension here.

It will be really helpful if anybody can provide me with the link to its extension or help me in coding it.

Thanks

Forum Rules Code of conduct
AbanteCart.com 2010 -