markdunstan Posted May 28, 2003 Posted May 28, 2003 Has anyone modified default.php to show the correct pricing when users are logged in? When viewing the demo store prices show correct when viewing the actual product and in the shopping cart but, when viewing the lists of products/prices from specific categories or all categories the correct price does not show. You access this by clicking the categories in the top left of the demo store and then clicking a specific category. All other changes appear to work correctly. Am I missing something? Currently we are using the 2.2ms1 demo store and have installed V3.3 of Seperate Pricing Per Customer along with the 5/13/2003 typo. Quote
markdunstan Posted May 29, 2003 Author Posted May 29, 2003 Had to modify catalog/modules/product_listing.php to fix the problem The instructions said to paste code around line 97. This code had two variables that evidently changed names: $listing_values['product_id'] needs to be: $listing['product_id'] $listing_values['product_price'] needs to be: $listing['product_price'] After making these two adjustments the pricing worked correctly. Quote
solutions_online Posted June 17, 2003 Posted June 17, 2003 Mark, You are the best man! I've been working with this problem for two weeks, unfortunately, because I don't know sh*t about php (or anything for that matter), I've been pulling my hair out as I search the forums. I'm so glad you posted your fix. Before you go - one other problem, products_new.php has an error, have you come across this: Parse error: parse error, unexpected '}' in /var/www/html/catalog/includes/modules/products_new.php on line 38 This contribution is excellent, and I think it really needs an update, I think I'll do one, as soon as I can get it working without a hitch. Seeya. Quote
John Doswell Posted August 7, 2003 Posted August 7, 2003 check here, might help !!! http://www.oscommerce.com/forums/viewtopic.php...customer#179113 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.