Jump to content

Carrier name : limite de caractères


Recommended Posts

Bonjour,

Sur PS 1.6 j'aimerais augmenter la limite de caractères autorisée pour les noms de transporteur.

J'ai rajouté un maxlenght 512 dans AdminCarrierWizardController.php sans que cela ne fonctionne, quelqu'un aurait-il une idée?

    public function renderStepOne($carrier)
    {
        $this->fields_form = array(
            'form' => array(
                'id_form' => 'step_carrier_general',
                'input' => array(
                    array(
                        'type' => 'text',
                        'label' => $this->l('Carrier name'),
                        'name' => 'name',
                        'required' => true,
                        'maxlength' => 512,
                        'hint' => array(
                            sprintf($this->l('Allowed characters: letters, spaces and "%s".'), '().-'),
                            $this->l('The carrier\'s name will be displayed during checkout.'),
                            $this->l('For in-store pickup, enter 0 to replace the carrier name with your shop name.')
                        )
                    ),

En vous remerciant!

Capture d’écran 2019-07-19 à 12.44.19.png

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...