hafsalme Posted October 20, 2011 Share Posted October 20, 2011 i want to edit code for displaying product price,where that code is situated Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 20, 2011 Share Posted October 20, 2011 Could you be more specific? Where is the product price listed that you would like to edit? This will determine which file you need to do your edits in. Marty Shue Link to comment Share on other sites More sharing options...
hafsalme Posted October 21, 2011 Author Share Posted October 21, 2011 i am new in prestashop development.I want to add x% price for all product ,but not in product price database,only in display of price.so i want to know where the code is situated for displaying the product price. also i want to know where from product database accessed for displaying product price Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 21, 2011 Share Posted October 21, 2011 You can add a % decrease in price in the BO catalog by selecting a product then use the 'Prices' tab. You can even set the duration of the % decrease. Hope this helps! Marty Shue Link to comment Share on other sites More sharing options...
hafsalme Posted October 24, 2011 Author Share Posted October 24, 2011 i need to add x% decrease for all product at a time Link to comment Share on other sites More sharing options...
vinaym Posted October 24, 2011 Share Posted October 24, 2011 code for this can be done on product.tpl, look for the $productPrice. take a backup before doing this. Link to comment Share on other sites More sharing options...
hafsalme Posted October 25, 2011 Author Share Posted October 25, 2011 i couldnt see changes in home page after edit the .tpl file help me Link to comment Share on other sites More sharing options...
vinaym Posted October 25, 2011 Share Posted October 25, 2011 have a look at this reply by marty, for one time change, delete the contents of tools/smarty/compile which looks like *.tpl.php Link to comment Share on other sites More sharing options...
ramin Posted February 1, 2013 Share Posted February 1, 2013 (edited) product price get its value from product.js in template Edited February 1, 2013 by ramin (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