somnath.kre8iveminds Posted June 3, 2013 Share Posted June 3, 2013 I have made a custom shopping cart in prestashop, I now need to increase the number of items bought in my shop manually. I guess this can be done by modifying the database. I tried changing the ps_product_sale table, but to no use. Can anyone suggest as to how to do it. Thanks. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 3, 2013 Share Posted June 3, 2013 Hi, where do you want to see results of increasing? Regards Link to comment Share on other sites More sharing options...
somnath.kre8iveminds Posted June 3, 2013 Author Share Posted June 3, 2013 hello, I want to see the results in top seller list. Since the site is in testing, I want to manually add the number the items sold and find the same displayed in top seller list. Thank you. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 3, 2013 Share Posted June 3, 2013 There is some article that will helps you, I guess. I think you need to use method ProductSale::addProductSale($product_id, $qty = 1) – input data into the table product_sale. Link to comment Share on other sites More sharing options...
somnath.kre8iveminds Posted June 3, 2013 Author Share Posted June 3, 2013 (edited) I want to add it manually, like data entry (not using any methods). I tried adding data in ProductSale table from phpmyadmin page. This method was not sucessful. Edited June 3, 2013 by somnath.kre8iveminds (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now