Jump to content



Member Since 24 Dec 2014
Offline Last Active Apr 04 2016 04:42 PM

Posts I've Made

In Topic: Link To Go To Controller

24 January 2016 - 09:55 PM

I dont know why but this is not working for me.


I have this test:


<a class="cm-js cm-ajax" id="xxx" href="{"index&test=1"|fn_url}">xxxxxxxxxxxxxxxxxxx</a>


<script type="text/javascript">
// catch callback trigger of form request
(function(_, $) {
$.ceEvent('on', 'ce.ajaxdone', function(data){
}(Tygh, Tygh.$));


on controller I have this:


      $a = 1111;
    if($_REQUEST['test'] == 1){
        $a = 'hello from controller';
        Registry::get('ajax')->assign('li', $a);
I can see the "hello from controller" in the chrome network tab, on PREVIEW tab:
  1. {li: "hello from controller",…}
    1. current_url"http://localhost/pmi...h=index&test=1"
    2. li"hello from controller"
how can I get the value that is beeing returned ?

In Topic: New Field To Export Products

17 February 2015 - 03:26 PM

what I want is to have one more field to export orders that will be payment methods


In Topic: New Field To Export Products

17 February 2015 - 12:53 PM

What m I doing worng?


$schema['export_fields']['my_test'] = array (
'db_field' => 'email',
'required' => true,
return $schema;