just dowmloaded and installed and got this error
Warning
: Use of undefined constant IS_PRODUCT_BUTTON_BUY - assumed 'IS_PRODUCT_BUTTON_BUY' (this will throw an Error in a future version of PHP) in
.....test/templates/default/includes/components/product_card.php
on line
19
so edited product_card.php but it does not work correct. have a look at my test site: http://test.emoncms.net/
Warning : Use of undefined constant IS_PRODUCT_BUTTON_BUY
Re: Warning : Use of undefined constant IS_PRODUCT_BUTTON_BUY
similar in includes/system/versioned/1.0.7.other/1.0.7.12\product.php line 71
return sprintf(IS_PRODUCT_SHOW_PRICE, $this->format());
return sprintf(IS_PRODUCT_SHOW_PRICE, $this->format());
-
- VIP Member
- Posts: 2030
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: Warning : Use of undefined constant IS_PRODUCT_BUTTON_BUY
Maybe you are missing this file on your server:
https://github.com/CE-PhoenixCart/Phoen ... roduct.php
Re: Warning : Use of undefined constant IS_PRODUCT_BUTTON_BUY
file was missing yes, but after creating it still the same
tried incognito also
tried incognito also
-
- VIP Member
- Posts: 2030
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: Warning : Use of undefined constant IS_PRODUCT_BUTTON_BUY
Your installation was obviously not successful so maybe do a complete new install.
Re: Warning : Use of undefined constant IS_PRODUCT_BUTTON_BUY
you are right
it was the copy to ftp that somehow failed to transfer all files
left with one missing price
Lime
IS_PRODUCT_SHOW_PRICE
it was the copy to ftp that somehow failed to transfer all files
left with one missing price
Lime
IS_PRODUCT_SHOW_PRICE
-
- VIP Member
- Posts: 2030
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: Warning : Use of undefined constant IS_PRODUCT_BUTTON_BUY
Yes, they can fail.
Always be sure to check for queued files that have not uploaded successfully in your FTP software.
Good FTP software will show that.