Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi Everyone

 

Im sorry if this has been answered before, but I cant find any contributions, or any help that might tell me how to do this on my own.

 

Basically I want to have it so that when I add a product, and dont upload a image file, it automatically makes the image file a "no image avaliable" image (ie. images/noimage.jpg)

 

Is there an easy way to do this, as I dont like to see the broken pictures on the right side of the page for the products without images...

 

Regards

 

Luke

[email protected]

Posted (edited)

I just upload the no image picture for each one as you can see Here

 

If you want to have it default to an image you will need to find this in admin/categories.php

 

 ? ? ?case 'insert_product':
? ? ?case 'update_product':

and make the appropriate edits below it in the sections dealing with products_image.

Edited by JB
Posted

you could also go and upload a "no image" picture file and then modify the database table so that the default products_image column was "no_image.gif"

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...