no price when 0.00

Open to all! Ask other shopowners for help.
Post Reply
User avatar
martindavinci
Member
Posts: 38
Joined: Mon Mar 08, 2021 8:33 am
Phoenix Version: 1.1.0.5
Has thanked: 2 times

no price when 0.00

Post by martindavinci »

version: 1.0.17.15 Phoenix
Does anyone know how to disable the showing of the price on the product_info page when the price is 0.00? In earlier versions I knew how to do it, but in Phoenix I am lost. Help would be appreciated.

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: no price when 0.00

Post by heatherbell »

martindavinci wrote: Thu Apr 08, 2021 7:26 am version: 1.0.17.15 Phoenix
Does anyone know how to disable the showing of the price on the product_info page when the price is 0.00?
Maybe you must provide more information. Price is shown in more places than product_info and what about add to cart buttons? Probably a Phoenix Cart developer can help - app.php/developers
User avatar
martindavinci
Member
Posts: 38
Joined: Mon Mar 08, 2021 8:33 am
Phoenix Version: 1.1.0.5
Has thanked: 2 times

Re: no price when 0.00

Post by martindavinci »

Thanks for the answer. i think I have solved it myself in /includes/system/versioned/1.0.7.9/currencies.php at the public function display_price. I have to try it out in a liveshop first.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: no price when 0.00

Post by ecartz »

martindavinci wrote: Thu Apr 08, 2021 3:56 pm Thanks for the answer. i think I have solved it myself in /includes/system/versioned/1.0.7.9/currencies.php at the public function display_price. I have to try it out in a liveshop first.
It would probably make more sense to do it in Product rather than currencies.
User avatar
martindavinci
Member
Posts: 38
Joined: Mon Mar 08, 2021 8:33 am
Phoenix Version: 1.1.0.5
Has thanked: 2 times

Re: no price when 0.00

Post by martindavinci »

I did it like this because it also affects the product listing this way.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply