I can't see the prices when opening a category under admin>catalog.
I have tried to switch to show prices with taxes and back but no change.
Probably some file have been corrupted.
Caould someone tell me to which file I should look for?
Thankd
I can't see the prices when opening a category under admin>catalog.
I have tried to switch to show prices with taxes and back but no change.
Probably some file have been corrupted.
Caould someone tell me to which file I should look for?
Thankd
Are you using Customer Authorization? Such as Customer settings on the Login for price etc.
If so, please check the fix on the Known Bug Fixes for v1.3.8 ...
http://www.zen-cart.com/forum/showthread.php?t=82619
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Yas I am using customer auth
I copied the code at the end of the file but then when logging in to admin I get an error message.
Could you tell me in which line I should copy the code? thanks
enzo
Are you saying you made the changes in #6 of the Known Bug Fixes to the file:
/admin/includes/functions/functions_prices.php
What error are you seeing?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Yas I copied the code, but I do not know exactly how to do it so I have probably messed up something.
The last lines fo the file are
//echo 'zen_get_discount_qty: ' . $product_id . ' - ' . $check_qty . '<br />';
if ($discounts_qty_query->RecordCount() > 0 and $check_qty > 0) {
return true;
} else {
return false;
}
}
?>
where the last one is line 1248.
Where the code should be pasted?
Thanks
Start over ... I think you are misunderstanding the change ... and I am not really sure just what you are trying to do where ...
Look again at post #6 and then edit the function zen_get_products_display_price and change it to:
Code:function zen_get_products_display_price($products_id) { global $db, $currencies; if (false) { // 0 = normal shopping // 1 = Login to shop // 2 = Can browse but no prices // verify display of prices switch (true) { case (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == ''): // customer must be logged in to browse return ''; break; case (CUSTOMERS_APPROVAL == '2' and $_SESSION['customer_id'] == ''): // customer may browse but no prices return ''; break; default: // proceed normally break; } } // show case only if (STORE_STATUS != '0') { if (STORE_STATUS == '1') { return ''; } }
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Now I got you!!!
I was adding the full code at the end of the file instead of editing.
Sorry
enzo
Done!!!
It works perfectly.
Thank a million
You are most welcome ... thanks for the update that this corrected the issue of no prices in the admin on the category/products listing ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi, Has this bug fix been added to 139?
as my site uses Customer Authorization to view prices... (and i will be upgrading asap once 139 is out of testing)