dbltoe / Zen-Cart-Dynamic-Price-Updater

This module for Zen Cart automatically updates the product price when a atrribute is added to the product
GNU General Public License v2.0
0 stars 2 forks source link

Shopfront: PHP Fatal error: Uncaught Error: Undefined constant "DPU_TEXT_PRODUCT_QUANTITY" #10

Closed torvista closed 1 year ago

torvista commented 1 year ago

PHP Fatal error: Uncaught Error: Undefined constant "DPU_TEXT_PRODUCT_QUANTITY" in includes\classes\ajax\zcDPU_Ajax.php:204

All these were missing

define('DPU_OUT_OF_STOCK_IMAGE', 'Out-of-stock %s'); define('DPU_TEXT_PRODUCT_QUANTITY', ' %1$s in Stock'); define('DPU_TEXT_PRODUCT_QUANTITY_MULTIPLE', 'Units'); define('DPU_TEXT_PRODUCT_QUANTITY_SINGLE', 'Unit');

torvista commented 1 year ago

fixed:https://github.com/dbltoe/Zen-Cart-Dynamic-Price-Updater/pull/11