vmf08034 Posted January 19, 2013 Posted January 19, 2013 I implemented the member approval add-on, which works fine, But I need to hide, products and prices until the customer has been approved. Any help? Quote
Guest Posted January 19, 2013 Posted January 19, 2013 @@vmf08034 You can look at THIS contribution, it was written for v2.2 but should work with v2.3x with just a few changes Chris Quote
vmf08034 Posted January 20, 2013 Author Posted January 20, 2013 @@vmf08034 You can look at THIS contribution, it was written for v2.2 but should work with v2.3x with just a few changes Chris thanks, i have done that, but the customer can see the products and the prices Quote
♥14steve14 Posted January 20, 2013 Posted January 20, 2013 I have not installed this addon but there is also an addon to hide prices from non logged in uses. You may need that one as well. http://addons.oscommerce.com/info/601 It is for 2.2 so do not know if it will work without modification for 2.3 stores. Quote REMEMBER BACKUP, BACKUP AND BACKUP
sandwick Posted January 29, 2013 Posted January 29, 2013 I just added this to my OSC 2.3.3 and it does NOT work, the prices are still listed. ************************************** 2. In includes/classes/currencies.php ************************************** find: function format($number, $calculate_currency_value = true, $currency_type = '', $currency_value = '') { Add below: // Start Prices for Logged-In Users Only v5 if ( defined( STORE_SHOW_GUESTS_PRICES ) && ( STORE_SHOW_GUESTS_PRICES == 'true' ) && (! tep_session_is_registered('customer_id') ) ) { return TEXT_LOG_IN_TO_SEE_PRICE; } // End Prices for Logged-In Users Only v5 ************************************** 3. In includes/languages/english.php ************************************** add: // Start Prices for Logged-In Users Only v5 define('TEXT_LOG_IN_TO_SEE_PRICE', 'Please log in to see prices'); // End Prices for Logged-In Users Only v5 ************************************** is there anything else I need to modify to make this work ? any suggestions would be appreciated. // Sandwick OSC 2.3.3 PHP 5.4 Quote
tunetti Posted February 13, 2014 Posted February 13, 2014 I am looking for the same solution. Any luck? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.