Category: PrestaShop

How to add featured enable/disabled button on product list page Prestashop1.7

– Add featured enable/disabled button on product list page admin : Log file Step 1 src/PrestaShopBundle/Resources/views/Admin/Product File : list.html.twig [crayon-5e84164754af6871272925/] For add in head: src/PrestaShopBundle/Resources/views/Admin/Product catalog.html.twig [crayon-5e84164754b06504152352/] Step 2 :src/PrestaShopBundle/Controller/Admin File : ProductController.php find : n unitAction add code [crayon-5e84164754b0c676734414/] Step 4 : src/Adapter/Product File : AdminProductDataUpdater.php add code for enabled/disabled [crayon-5e84164754b12524601078/] Step 4 :

How to add checkbox in product -prestashop 1.7.2.2

Add view 360 button in below cover button in admin side in product form Log: Table Image and Image_shop field name : view360 ================================================================= Class image.php variable : view360 ================================================================= Productimagecontroller.php – src/PrestaShopBundle/Controller/Admin ->add(‘view360’, ‘Symfony\Component\Form\Extension\Core\Type\CheckboxType’, array( ‘label’ => $translator->trans(‘360 image’, array(), ‘Admin.Catalog.Feature’), ‘required’ => false, )) ================================================================= form.html.twig – src/PrestaShopBundle/Resources/views/Admin/ProductImage {{ form_widget(form.view360) }} ================================================================= AdminProductWrapper.php