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.
Use of undefined constant IS_PRODUCT_SHOW_PRICE
-
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
You do not have the required permissions to view the files attached to this post.
-
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
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
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
Thanks very much, the commit link explained it wellecartz 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