Recently there is a request to edit a old Prestashop 1.5 site. The request is to add the add to cart button at the home featured product. That particular prestashop site is quite old and did not perform any maintenance and hence all the module is still quite old. To avoid breaking anything in the site, i managed to find out that the add to cart button is being hide using CSS. So to enable the add to cart button is just an easy task at modifying the correct css!
To enable add to cart button at Home Featured Product in Prestashop 1.5, follow the steps below:-
Advertisements
- Open this file /modules/homefeatured/homefeatured.css file, and edit this 2 line:-
#featured-products_block_center li .ajax_add_to_cart_button {display:none;} #featured-products_block_center li span.exclusive {display:none;}
to
#featured-products_block_center li .ajax_add_to_cart_button {display:block;} #featured-products_block_center li span.exclusive {display:block;}
Related posts:
Turn on MySQL query cache to speed up query performance?
How to register a free @microsoft.com email account?
How to insert new line (line break) in a cell - OpenOffice Calc
Install eAccelerator to Optimize PHP performance
Symfony 1.4 - Customize Admin Generator listing to show data from foreign tables
phpmyadmin disable 1440 timeout with auto login
Symfony 1.4: How to sort foreign key record?
Symfony2: How to customize form error class in twig?
Share this with your friends:-