Jump to content

Price on phone


Recommended Posts

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?

 

Przechwytywanie.JPG

Edited by andr_w (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...