Does it work in Zen version 2.0... is the question.
Without this function, I must turn off 300 products from the site which require MAP.
Frustration...
Does it work in Zen version 2.0... is the question.
Without this function, I must turn off 300 products from the site which require MAP.
Frustration...
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
we running this issue, can you help?
ZC: 2.0.1
PHP: 8.3
[28-May-2024 17:39:31 America/New_York] Request URI: /qwert-dVy-siGht/index.php?cmd=product&action=new_product, IP address: 99.52.339.99
--> PHP Fatal error: Uncaught Error: Undefined constant "TEXT_PRODUCTS_PRICE_EXCL" in /homepages/29/016/htdocs/DIY2024/qwert-dVy-siGht/includes/modules/collect_info.php:300
Stack trace:
#0 /homepages/29/016/htdocs/DIY2024/qwert-dVy-siGht/product.php(111): require()
#1 /homepages/29/016/htdocs/DIY2024/qwert-dVy-siGht/index.php(16): require('/homepages/29/d...')
#2 {main}
thrown in /homepages/29/016/htdocs/DIY2024/qwert-dVy-siGht/includes/modules/collect_info.php on line 300.
This define should be in admin/includes/languages/english/lang.product.php.
Check that you haven't overwritten that file with an older copy.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Line 300 of the as-distributed /admin/includes/modules/collect_info.php reads
Noting that the definition TEXT_PRODUCTS_PRICE_EXCL isn't provided in v2.0.1, nor is it used.PHP Code:
<label class="radio-inline"><?php echo zen_draw_radio_field('products_virtual', '0', ($pInfo->products_virtual == 0)) . TEXT_PRODUCT_NOT_VIRTUAL; ?></label>
Where did your fresh install come from?
You're right, @lat9. It looks as though both of those files are from Github on the master branch (i.e. unreleased version 2.1.0).
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Oops. My bad.
I've uploaded a new zip for the plugin, called it v2.0.1
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks