silvianna Posted June 10, 2010 Share Posted June 10, 2010 On the basis needs of a client, I had to edit the file product. My client requested that the product price data can be displayed in the unit, eg per dozen or per unit, both in the back office and front office.The following is a picture of the results of these editsThen I edit the file admin/tabs/AdminProducts.php, file classes/Product.php and also themes/yourtheme/product.tplI've tried so many times to upload file product.tpl . But, it's not works, so i just gonna write here, to show you a little editing. On line 204, please type only this code. {$product->unit_price} The following file attachments, I please you to download. Hopefully, my little contribution was quite helpful and can be implemented in the next version of PrestaShop. :-) Product.php AdminProducts.php Link to comment Share on other sites More sharing options...
gaylordfucker Posted March 22, 2011 Share Posted March 22, 2011 Hey Silviana,thanks a lot for this. You can add the same work for the Version 1.4, please! :-)Beste wishesThomas 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