Issue when try to add product via AE (AliExpress dropshipping plugin)



  • Hello,

    I am having issue when I try to import products from the Ali Express

    this is the error code :

    Missing Keys: title (View: /var/www/html/bagisto/packages/Webkul/Dropship/src/Resources/views/admin/products/index.blade.php)

     throw new \Webkul\Ui\Exceptions\ColumnKeyException($message);
    
        });
    
    }
    
    
    
    /**
    
     * This will check the keys which are needed for action.
    
     *
    
     * @param  array  $action
    
     * @return void|\Webkul\Ui\Exceptions\ActionKeyException
    
     */
    
    public function checkRequiredActionKeys($action)
    
    {
    
        $this->checkRequiredKeys($this->requiredActionKeys, $action, function ($missingKeys) {
    
            $message = 'Missing Keys: ' . implode(', ', $missingKeys);
    
    
    
            throw new \Webkul\Ui\Exceptions\ActionKeyException($message);
    
        });
    
    }
    
    
    
    /**
    
     * Check required keys.
    
     *
    
     * @param  array  $requiredKeys
    
     * @param  array  $actualKeys
    
     * @param  \Closure  $operation
    
     * @return void|\Closure
    
     */
    
    public function checkRequiredKeys($requiredKeys, $actualKeys, $operation)
    
    {
    
        $requiredKeys = array_flip($requiredKeys);```
    
    
    screenshoot
    ![alt text](https://user-images.githubusercontent.com/90868232/233865756-ddb06d1a-57d8-4d3b-a738-bfe5241f0837.png)


  • Hi there,
    Please enter the Missing Keys.
    For Missing keys, you can take a reference from Here.



  • Hello Amitk,

    thank you that was good and also I updated in the same location file called OrderDataGrid.php and now I can access the product and Orders field in the admin panel.

    Now I have different bug lets say, when I try to add a product via AE , I am getting the error for the Product fetch , please take a look at the screenshoot, how can I fix this ?

    ![alt text]https://ibb.co/BcM8dN4



  • Hi there,

    Please check the data you are getting from AE is correct.



  • Where can I check it ?
    Thank you



  • Because I dont get any data from AE in the products fields in the admin panel, it is empty.



  • this is the screenshoot of the console error :

    ![alt text]https://ibb.co/DMDj9HH

    one more screenshoot:

    ![alt text]https://ibb.co/WBnw76q



  • Hi there,
    you can take a reference from Here.


Log in to reply