Jump to content

need to know how to use presta as catalog


Recommended Posts

hi.

1) Backup all bd.
2) Download this zip: hack catalog
3) with phpmyadmin in your database execute this code:

ALTER TABLE `ps_product` ADD `show_cart` TINYINT( 1 ) NOT NULL DEFAULT '1'



this is a new field in your product table:

value 0 --> dont show cart
value 1 --> show cart



4) now, replace all file from the zip to your shop (before backup!)

AdminProducts.php --> /your-shop/your-backoffice/tabs/AdminProducts.php
homefeatured.php --> /your-shop/modules/homefeatured/homefeatured.php
homefeatured.tpl --> /your-shop/modules/homefeatured/homefeatured.tpl
product-list.tpl --> /your-shop/your-theme/product-list.tpl
Product.php ---> /your-shop/classes/Product.php
product.php ---> /your-shop/product.php
product.tpl ---> /your-shop/your-theme/product.tpl


this is all! ;)
Regards!

pd: If you need modify another module, please see the homefeatured module!

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...