nhall Posted December 9, 2003 Posted December 9, 2003 I want to be able to sell items, but I do not want to put pictures with all of them. How can I do that? Nathan www.spider-comm.com
Daemonj Posted December 9, 2003 Posted December 9, 2003 In Admin ~ Configuration ~ Images, set Images Required to false. I also suggest create a "no image" .gif to display for those products. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
nhall Posted December 9, 2003 Author Posted December 9, 2003 Is there anyway to get rid of an image once it has been assigned and uploaded with the product?
Daemonj Posted December 9, 2003 Posted December 9, 2003 To prevent the image from displaying for the product delete the entry in the image field for the product record within the admin. To delete the image file, you will need to use an ftp program or your server's control panel's file manager program. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
nhall Posted December 9, 2003 Author Posted December 9, 2003 I went and added a new product without an image. When I preview the page, it shows a broken link to the picture. I double checked the spot in the config to set "Require Image" to false. It is there, but is there any other way to do this?
Daemonj Posted December 9, 2003 Posted December 9, 2003 What release (MS1, MS2, CVS) of osC are you running? Setting require image to false and adding a new product without an image displays fine (i.e. no broken image) for me. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
nhall Posted December 9, 2003 Author Posted December 9, 2003 I am almost positive it is cvs. Here is my page so that you can see it for yourself. www.spider-comm.com/shop
ghiggi Posted December 9, 2003 Posted December 9, 2003 Try editting the product and in the product image variable box, type c:\. You'll get a message stating that the image does not exist and no image, broken link or otherwise will be listed nor shown. ghiggi
nhall Posted December 9, 2003 Author Posted December 9, 2003 That didn't help. It still shows a broken link and does not say that it does not exist.
Guest Posted December 10, 2003 Posted December 10, 2003 You could try the code posted here. Hth, Matt
Geotex Posted December 10, 2003 Posted December 10, 2003 Mat's code will work, but if you need a quick fix while you are rewriting the code, from your edit products enter (null) in the picture upload field. osCommerce will create a 0-byte file called null in your image directory. It will cure the broken links, but will leave the "click here to enlarge on the product screen. GEOTEX from Houston, TX (George)
ixon Posted December 10, 2003 Posted December 10, 2003 If you upload the picture, then turn require image off the image for that product will still try to show... You will have to delete the product.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.