Search the Community
Showing results for tags 'twig'.
-
im overriding the Admin\Product\CatalogPage\Lists\product_table.html.twig and i added new columns in the table but i wanted to ristrect this columns for certain profiles (admin & super Admin) the problem is that i don't have access to the connected employee data, Any Ideas ?
- 3 replies
-
- twig
- overriding
-
(and 3 more)
Tagged with:
-
Bonjour, j'ai désactivé le module chèque, car trop de faux chèques. et depuis, je n'ai plus accès au BO. En mode debug il y a tout un tas d'erreur que je ne comprends pas du tout. Pouvez vous m'aider svp? Dans l'en-tête, il me parle de relais colis, un module qui avait fait une err...
- 14 replies
-
- twig
- site planté
-
(and 4 more)
Tagged with:
-
Hi, i am creating a module on Presta 1.7.2, i would like to add a table of products in the admin product section (with the hook displayAdminProductsExtra). This is a simplified version of my code public function hookDisplayAdminProductsExtra($params) { $products = MyModel::...
- 1 reply
-
- 1
-
-
- twig
- hookDisplayAdminProductsExtra
- (and 4 more)
-
Hello, I added a test_field in /src/PrestaShopBundle/Form/Admin/Product/ProductInformation.php public function buildForm(FormBuilderInterface $builder, array $options) { . . . ->add('test_field', TranslateType::class, [ 'type' => FormType\TextType::class, 'constraint...
-
Hello Within Back Office of Prestashop version 1.7 I would like to prevent viewing the "Cost price" for employees without "SuperAdmin" status. In some other thread i have seen how this can be done but the solution was for previous 1.6 versions and below. I have succesfully found the right file a...
- 4 replies
-
- 1
-
-
- twig files
- twig edit
-
(and 1 more)
Tagged with:
-
Hello, and thank you for reading. Prestashop Version: 1.7.8.7 I'm trying to do my own meta seo preview for learning, and I could easily manage to override the emplacement of the default one. But I can't manage to get twig to recognize my variable, saying it doesn't exist. But the variable...
-
- back-office
- twig
-
(and 1 more)
Tagged with:
-
Hello, my orders page in backoffice (sell/orders/xxx/view?_token=xxxxx) prints escaped html content from Admin/Sell/Order/Order/Blocks/View/header.html.twig (screenshot attached) I checked my logs but no errors are thrown. can anyone please help me out? thanks I am running versio...
-
Symfony Controller toolbarButtons add selector (id,class)
ZiedDams posted a topic in Core developers
i have created a symfony controller and i added a button in the toolbar , my problem is i want to add attribute like id or class to this button any help ? this is the button -
Je développe en ce moment un module et j'utilise le controller qui hérite du FrameworkBundleAdminController qui rend une vue avec le moteur de template twig mais la vue de mon template avec twig n'herite pas de celle du tableau de bord admin comme celle de la page de configuration de module, vous au...
-
Bonjour, Je souhaiterais ajouter un champ en back office Prestashop 1.7 dans l'onglet prix de la fiche produit pour connaitre le coefficient et la marge du produit.( voir image jointe) J'ai essayé de modifier le fichier form.html.twig mais sans résultat (src/PrestaShopBundle/Resources/view...
-
- prestashop 1.7
- champ bo
-
(and 3 more)
Tagged with:
-
I recently created a module to add a new attribute to product images It works perfectly with the field added by the module, however the native field "cover" has stopped working (the value is not saved while the module is active). In addition to the module files and overrides (Image.php and A...
- 2 replies
-
- new attribute
- twig
-
(and 6 more)
Tagged with: