Jump to content

girl_dev

Members
  • Posts

    25
  • Joined

  • Last visited

4 Followers

Profile Information

  • Location
    tunisia
  • First Name
    wafa
  • Last Name
    zitouna

Recent Profile Visitors

363 profile views

girl_dev's Achievements

Newbie

Newbie (1/14)

6

Reputation

  1. I want to add new fields in the admin manufacturer but I find the The AdminManufacturersController is deprecated. I didn't understand how to override src/PrestaShopBundle/Controller/Admin/Sell/Catalog/ManufacturerController.php. Any instructions to help please
  2. You have yo choose the shop group instead the shop in the admin bar in the header, and you can edit your product quantities
  3. finally I find the solution : in controllers/AuthController.php in the function public function postProcess I added: $id_shop = $this->context->shop->id; then in this bloc :if (Tools::isSubmit('submitAccount') || Tools::isSubmit('submitGuestAccount')) { I added: if($id_shop==3){ if (Tools::getValue('company') == '') { $this->errors[] = Tools::displayError('company is required.'); } if (Tools::getValue('vatnumber') == '') { $this->errors[] = Tools::displayError('vatnumber is required.'); } } I hope it helps someone else
  4. Yes ,I select the shop to enable B2B mode and I have two diffrent forms registration now, but when I enable company from the backOffice (custmor->company) It will be required for the two shops even the the B2B mode does'nt enabled in the public shop but the error message appear " company field required"
  5. I create mutishop, one of them for professionnal and I enable b2B mode but when I set the company required it wil be required for all shop even the b2B mode is not enables in the other shop.
  6. I am using prestashop 1.6.1.2 with mutistore option. I have a shop for professional customers . I would like to set the company field and "VAT NUMBER" field ,which I added manually to B2B form ,to required, but it is required for all the shops .
  7. est ce que qulqu'un a trouvé une solution pour mettre un champ obligatoire dans une seule boutique? je pense qu'on doit avoir le shop-id pour mettre ce champ obligatoire mais je ne sais pas comment!!
  8. thanks for all your suggestion. It was impossible with the host to increase the memory limit in your php.ini file. And it seems the problem is with the theme I use so I change it and it works fine now
  9. Bonjour, Je vous remercie pour ce magnifique module,je veux savoir SVP si possible d'ajouter ce module au footer sachant que j'utilise prestashop 1.6.1.2 avec le thème par défaut. j'ai essayé avec les hook mais ça n'a pas marché
  10. I have disabled all plugins and I also have tha same problem so I enable them one by one and I got this error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in/srv/data/web/vhosts/www.nevadalove.paris/htdocs/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 188 on line 188: I have this : $_template->properties['unifunc']($_template);
  11. qu'est vous avez modifié? je ne crois pas que c'est tout d'un coup votre site devient inaccessible. J'ai consulté le site et FrontOfficed s'affiche
  12. I would like to make company and vat number that I was added in B2B form required, I use multistore with prestashop 1.6.1.2 but when I set a field required in one store it will be required for all shops even the B2B is enabled for one shop
  13. to duplicate a theme here is an interested video :https://mypresta.eu/en/art/videos/how-to-duplicate-theme-in-prestashop-16.html but I have an issue when installing the duplicated theme I use prestashop 1.61.2 and I use multishop option I duplicate the theme to customize it for each shop but when I enable the duplicated shop I have this error in the front office.I was have 500 errors but when I enable define('_PS_MODE_DEV_', true); I got this error Fatal error: Class 'OvicLayoutControl' not found in /srv/data/web/vhosts/mywebsite/htdocs/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 62
×
×
  • Create New...