I'm using DP1.7 in conjunction with ZC1.3.9h. In includes/modules/products_quantity_discounts.php lies:
PHP Code:
case (CUSTOMERS_APPROVAL_AUTHORIZATION != '0' and $_SESSION['customer_id'] == ''):
// customer must be logged in to browse
$zc_hidden_discounts_on = true;
$zc_hidden_discounts_text = TEXT_AUTHORIZATION_PENDING_PRICE;
break;
When a web visitor is not logged in and they are viewing products with quantity discounts, the above code results in the table populating "quantity discounts unavailable" as well as "price unavailable".
I would like for it to just show the normal MSRP. The closest I have come to this is the below and 1)it doesn't format the price correctly, 2)It still displays in the table layout which I can live with but prefer it to just look as those items without discounts, 3)this may not even be the best approach.
PHP Code:
case (CUSTOMERS_APPROVAL_AUTHORIZATION != '0' and $_SESSION['customer_id'] == ''):
// customer must be logged in to browse
$zc_hidden_discounts_on = true;
$zc_hidden_discounts_text = zen_get_products_base_price($products_id_current);
break;
Any thoughts?
Bookmarks