Jump to content

Link_rewrite dans les liste des produits en Back Office ?


Recommended Posts

Bonjour à tous !
quelqu'un peut il me donner le code a ajouter à : AdminProductsController.php ?
j'ai ajouté ceci :

==========================================

        $this->fields_list['reference'] = array(
            'title' => $this->l('Reference'),
            'align' => 'left',
            'prefix' => '<span style="font-weight: bold; font-size: 14px; color: red;">',
            'suffix' => '</span>',
            'width' => 50
        );
        $this->fields_list['link_rewrite'] = array(
            'title' => $this->l('link_rewrite'),
            'prefix' => '<span style="font-weight: bold; font-size: 14px; color: black;">',
            'suffix' => '</span>'
        );

        $this->fields_list['name'] = array(
            'title' => $this->l('Name'),
            'prefix' => '<span style="font-weight: bold; font-size: 14px; color: black;">',
            'suffix' => '</span>',

            'filter_key' => 'b!name'
        );

============================================

mais lors de l'affichage en BO j'ai un message du genre "ambigous column link_rewrite...."
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...