Use of undefined constant IS_PRODUCT_SHOW_PRICE

Open to all! Ask other shopowners for help.
Post Reply
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Use of undefined constant IS_PRODUCT_SHOW_PRICE

Post by heatherbell »

Creating a module on 1.0.8.7 to show products.
The first product in the display gives notices for undefined constants as shown in the screenshot.
Always just the first product and cannot find out why.
Maybe somebody has experienced a similar behaviour and knows the fix.
Any help or advice gratefully received.
Screenshot-2021-11-26-075015.jpg
You do not have the required permissions to view the files attached to this post.


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Use of undefined constant IS_PRODUCT_SHOW_PRICE

Post by ecartz »

https://github.com/CE-PhoenixCart/PhoenixCart/issues/13

In general, you should use the new way of doing things rather than the old way, as the old way can be expected to have increasing problems. I.e. make it look like a 1.0.8.7 product listing rather than a 1.0.8.0 product listing. That looks like https://github.com/CE-PhoenixCart/Phoen ... 579258c979
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Use of undefined constant IS_PRODUCT_SHOW_PRICE

Post by heatherbell »

ecartz wrote: Fri Nov 26, 2021 10:54 am https://github.com/CE-PhoenixCart/PhoenixCart/issues/13

In general, you should use the new way of doing things rather than the old way, as the old way can be expected to have increasing problems. I.e. make it look like a 1.0.8.7 product listing rather than a 1.0.8.0 product listing. That looks like https://github.com/CE-PhoenixCart/Phoen ... 579258c979
Thanks very much, the commit link explained it well :+1: :D


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