andr_w Posted December 3, 2018 Share Posted December 3, 2018 (edited) Ver PS 1.7.4.2 I would like to make in my store that as there are no products, it shows "price on the phone" instead of "0.00". I made this: if ($currency === null) { $currency = $context->currency; if ($price == 0) return 'Cena na telefon'; } elseif (is_int($currency)) { $currency = Currency::getCurrencyInstance((int)$currency); } It's everthing is right, but in corner right is "Price on the phone" (polish Cena na telefon" but should be 0,00. How can I fix it? Edited December 3, 2018 by andr_w (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