plutten22 Posted February 16, 2022 Share Posted February 16, 2022 Hi. I want to show installment price based on the normal price devided with 12 on my new PS 1,7 page. How can i do this ??? I have done this on my old PS 1,6 page https://www.cykelstaden.se/damcykel/104-riddarholmen-bas-3-7-vxl-28-tum.html many years ago but i forgett how i did. can someone help me with this. Regards / Gary Link to comment Share on other sites More sharing options...
Ress Posted February 19, 2022 Share Posted February 19, 2022 Hi Gary, Use this in product-prices.tpl {Tools::displayPrice($product.price_amount/12)} Link to comment Share on other sites More sharing options...
plutten22 Posted August 22, 2022 Author Share Posted August 22, 2022 Hi Ress. Thank you it works. How can i remove the decimal from the price. Regards Gary Link to comment Share on other sites More sharing options...
Ress Posted August 23, 2022 Share Posted August 23, 2022 Do you want to remove the decimals from the whole site, or just for that price? If you use the "displayPrice" function, it displays the price according to the prestashop price format. Link to comment Share on other sites More sharing options...
plutten22 Posted August 23, 2022 Author Share Posted August 23, 2022 Hi. Thank you for this. I want to remove from the installment price. I attache picture. Can you give me the right text to put in product-prices.tpl Also i dont want the (inkl. moms) to be shown. Regards Gary Link to comment Share on other sites More sharing options...
plutten22 Posted September 2, 2022 Author Share Posted September 2, 2022 Hi Ress. Can you help me with above. Regards Gary 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