Month: September 2017

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-5e8355ffa4b0d518752421/] For add in head: src/PrestaShopBundle/Resources/views/Admin/Product catalog.html.twig [crayon-5e8355ffa4b1e235834843/] Step 2 :src/PrestaShopBundle/Controller/Admin File : ProductController.php find : n unitAction add code [crayon-5e8355ffa4b23349538099/] Step 4 : src/Adapter/Product File : AdminProductDataUpdater.php add code for enabled/disabled [crayon-5e8355ffa4b29569989235/] 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

How To Stop Spam Links Using Htaccess

You can change the domain name.(creativedevweb etc…) RewriteCond %{HTTP_REFERER} ^http://.*creativedevweb\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*creativedevweb.\.ru/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*creativedevweb\.org/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*creativedevweb\.info/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*creativedevweb\.ru/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*econom\.co/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*creativedevweb\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*creativedevweb\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*buttons\-for\-website\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*semalt\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*darodar\.com/ [NC] RewriteRule ^(.*)$ – [F,L]

WordPress – Reset Password

In this chapter, we will learn how to reset your passwords in WordPress. We have two methods of resetting passwords in WordPress − User Lost your password Let’s look how to set password through the User section. Step (1) − Login to your wordPress admin panel and click on Users → All Users from the dashboard. Step (2) − When you

WordPress – Optimization

In this chapter, we will study how to Optimize WordPress site. Here are a few simple tips to optimize your WordPress site. Ensure high quality and meaningful content. Have the right names for images. Use short permalinks that contain keywords. Have optimized themes. Sitemap should be in XML format. Connect posts to social networks. Beware of black