chrometweaks.org

Which is the best and easy free website iPage hosting service on the planet?

Click Here To View All Answers...


First off, Which is the best and easy free website iPage hosting service on the planet? Thanks in advance for any response. My other question... Hello,.

I am having a problem with products that have their status set to inactive displaying when a customer enters the iPage site through a link to the product in that comes up in a search on Google, such as.

Http://www.tetonmtn....products_id=264.

I did some looking at 'product_info.php' and there does not appear to be a check for for the value in the 'products_status' field. I can see where the product info is retreived from the db, but don't know the code well enough to see if that value is looked at..

Thanks,.

Mike..

Comments (5)

I'm stumped. I'm not so sure what is the answer to that question. I'll do some Googling and get back to you if I bump into an decent answer. You should email the people at iPage as they probably could assist you..

Comment #1

Thanks for the replies!.

I have looked at the code in the product_info.php file and see where the the query is done on the product id. The very next code block provides a test to see if the product_ID is in the database. If not it provides an alternate message..

I would like to do the same thing if the same product has the products_status variable defined as 'inactive'. I don't know php that well so if someone has any advice, I would appreciate it..

Thanks,.

Mike..

Comment #2

What version of osCommerce are you using?.

I'm guessing it's MS1, as MS2 stops this from happening - if the product is inactive you can't access it from the shop side..

On MS1 you can stop customers from buying inactive / out of stock products via the stock settings within the configuration menu in admin. You'll need accurate stock counts, and the following settings:.

Check stock level = true.

Subtract stock = true.

Allow Checkout = false.

That should do the trick - the settings might be a bit different as I'm looking at them on an MS2 install..

Jon...

Comment #3

Hi Jon,.

The products were being accessed from Google indexed links...

Comment #4

The settings I listed for MS1 will stop customers from being able to buy products that are inactive / out of stock..

If you don't want them to be able to view them (eg through a Google link), I'd suggest download MS2 and having a look at the code in product_info.php. This has got an extra check in it which returns a 'product not found' message if the product is inactive..

Upgrade to MS2 and the problem will be fixed..

Jon...

Comment #5

Hi Jon,.

Thanks for taking the time to reply..

You are right that the store is running on MS1. We don't want to do an upgrade right now, so I will take a look at the way it is handled in MS2 and see if I can implement that in the MS1 version of product_info.php..

Have either of you performed an MS1 -> MS2 upgrade?.

Mike..

Comment #6


This question was taken from a support group/message board and re-posted here so others can learn from it.