Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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.

Posted

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.

  • 3 weeks later...
Posted

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.

  • 1 month later...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...