Post by moromete » Fri Dec 31, 2010 3:21 am

Opencart is a pretty good shopping cart script, i use it on 3 domains , and i am satisfied with it, but there is one BIG problem with opencart , you can't add images directly to a product .It's very very uncomfortable to use the image manager to add a product , and after that to search the image and add it to the product .I have a shop with over 5000 products ..and it's a pain in the ass to add new products.
Are there any extensions for adding image products directly?..or will this feature be added in the future versions ??

Newbie

Posts

Joined
Mon Nov 05, 2007 10:56 am

Post by moromete » Fri Jan 07, 2011 5:49 pm

I have searched all over the internet to find a solution to this problem but did not find anything.
I can't believe that nobody found a solution to this problem.
It's that hard to modify the script to add picture directly to the product ?

Newbie

Posts

Joined
Mon Nov 05, 2007 10:56 am

Post by johnnet » Fri Jan 07, 2011 8:23 pm

What i would suggest is, create folders for specific product image & upload it via FTP, so your images will be more easier to locate & more organise..this is just my own personal opinion, would be glad if have better option.i hope it can be able to specify image location on the server rather than upload thru image manager & search for the alphabetical sort pictures.) e.g:[insert image] location: ../image/product1/myproductpic.jpg. Maybe could write on feature request ;)

User avatar
Active Member

Posts

Joined
Tue Aug 17, 2010 7:06 pm

Post by moromete » Fri Jan 07, 2011 9:04 pm

Yes johnnet , this is how i do it now ..but it's also very time consuming if i have to add 40-50 products.

Newbie

Posts

Joined
Mon Nov 05, 2007 10:56 am

Post by johnnet » Fri Jan 07, 2011 9:45 pm

i agreed with that. somemore my web server has limit of inodes. hoping some changes in the next ver.1.5.0 :D

User avatar
Active Member

Posts

Joined
Tue Aug 17, 2010 7:06 pm

Post by moromete » Wed Jan 12, 2011 1:11 am

This is a mandatory function for the next version if they want this script cart to be competitive with other paid or open source script.

Newbie

Posts

Joined
Mon Nov 05, 2007 10:56 am

Post by moromete » Thu Jan 20, 2011 4:19 pm

Can maybe a opencart staff member confirm that in the next version of opencart this problem will be solved?

Newbie

Posts

Joined
Mon Nov 05, 2007 10:56 am

Post by gilbe » Thu Jan 27, 2011 8:48 am

I agree this has to be changed - it is not only a waste of time its also a waste of drive space on the web server. What ends up happening is someone will upload a whole CD of stock images but only use 1 or 2 from it. Would but much better to just upload as you go along

New member

Posts

Joined
Wed Aug 05, 2009 11:00 pm


Post by moromete » Fri Jan 28, 2011 8:10 pm

This post should be like a petition. Everyone who agree that this feature is a must for the next version/versions should add a comment.Maybe some moderators will take this in consideration.

Newbie

Posts

Joined
Mon Nov 05, 2007 10:56 am

Post by gilbe » Fri Jan 28, 2011 8:15 pm

Indeed - I mean there will be some people out there that prefer it the way it is - so perhaps as a compromise the option to switch back to the old style could be added?

New member

Posts

Joined
Wed Aug 05, 2009 11:00 pm


Post by tiker » Sat Jan 29, 2011 4:42 am

Just posting my vote for this.

I'm actively looking for an Open Cart type of solution for a website where the product listings are the exact product. Meaning that the catalog will have 3000 items but quantity of each item will always be 1 and when it's sold it's removed from the site. The images will never be used again for another listing.

Looking at the demo, there is no clean and easy way to do this. I would say each product gets its own directory to put images in but doing it manually with a 2 step process to add and a 2 step process to remove (product and images after sale) is too much work.

Newbie

Posts

Joined
Tue Oct 12, 2010 12:23 am


Post by moromete » Tue Feb 01, 2011 7:12 am

gilbe wrote:Indeed - I mean there will be some people out there that prefer it the way it is - so perhaps as a compromise the option to switch back to the old style could be added?
Yes ..Gilbe is right.There should be an option to switch between the classic style (used by almost any e-commerce platform) and the actual style that is used by open cart.

Is this really so hard to implement ??

Newbie

Posts

Joined
Mon Nov 05, 2007 10:56 am

Post by gustavoBRZ » Tue Feb 01, 2011 7:23 am

moromete wrote:Opencart is a pretty good shopping cart script, i use it on 3 domains , and i am satisfied with it, but there is one BIG problem with opencart , you can't add images directly to a product .It's very very uncomfortable to use the image manager to add a product , and after that to search the image and add it to the product .I have a shop with over 5000 products ..and it's a pain in the ass to add new products.
Are there any extensions for adding image products directly?..or will this feature be added in the future versions ??
I totally agree I had to register and 300 products after a certain amount be looking for the image and stressful it would be nice to add it directly during the registration. Ideally so IN MY OPINION OF COURSE ...
have two options to add a picture during registration and the other the way that already exists.

Newbie

Posts

Joined
Tue Jan 26, 2010 11:12 am

Post by pprmkr » Tue Feb 01, 2011 4:55 pm

The solution i have for this: change the input type hidden in type text ...

In: admin/view/template/catalog/product_form.tpl
Look for ( about line 151 ):

Code: Select all

          <tr>
            <td><?php echo $entry_image; ?></td>
            <td><input type="hidden" name="image" value="<?php echo $image; ?>" id="image" />
              <img src="<?php echo $preview; ?>" alt="" id="preview" class="image" onclick="image_upload('image', 'preview');" /></td>
          </tr>
Change to:

Code: Select all

          <tr>
            <td><?php echo $entry_image; ?></td>
            <td><img src="<?php echo $preview; ?>" alt="" id="preview" class="image" onclick="image_upload('image', 'preview');" />
            &nbsp;<input type="text" name="image" value="<?php echo $image; ?>" id="image" /></td>
          </tr>
Look for ( about line 835 ):

Code: Select all

	html += '<td class="left"><input type="hidden" name="product_image[' + image_row + ']" value="" id="image' + image_row + '" /><img src="<?php echo $no_image; ?>" alt="" id="preview' + image_row + '" class="image" onclick="image_upload(\'image' + image_row + '\', \'preview' + image_row + '\');" /></td>';
Change to:

Code: Select all

	html += '<td class="left"><img src="<?php echo $no_image; ?>" alt="" id="preview' + image_row + '" class="image" onclick="image_upload(\'image' + image_row + '\', \'preview' + image_row + '\');" />&nbsp;<input type="text" name="product_image[' + image_row + ']" value="" id="image' + image_row + '" /></td>';

Now you can enter the image directly into the textfield and still be able to use the image-manager.
Do'nt forget to add: data/ to the filename !

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by jaturner » Sat Apr 02, 2011 1:35 am

Pprmkr you are now my hero. This is going to save me so much time.

Really appreciate this.

Newbie

Posts

Joined
Thu Mar 10, 2011 11:38 pm

Post by gsk » Fri Apr 08, 2011 4:08 am


gsk
New member

Posts

Joined
Mon Apr 04, 2011 1:46 am

Post by sharonob » Mon Aug 15, 2011 4:03 am

Want to add images directly and call from a path/location rather than resize using OpenCart1.5.11

I want to display products via a path (ie imagename_small.jpg, imagename_med.jpg, imagename_large.jpg(for popup), imagename_featured.jpg(completely different image for large featured box on home page).

I have added corresponding fields to the database, but don't know how to display the images by calling the path to the correct image rather than using the resizing tool for one image per product.

I'm using 1.5.1.1 and I'd love to just upload the images to their respective folders and then use the importer from there.

Would appreciate any help! :)

New member

Posts

Joined
Mon Aug 15, 2011 3:45 am

Post by Qphoria » Mon Aug 15, 2011 4:09 am

actually it used to be a direct picture only.. and people complained... so the image manager was added... and people complained...
Seems we need multiple methods here
direct
file manager
external
manual typed

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by sharonob » Mon Aug 15, 2011 4:13 am

Is there any way to track down the old code? ;)
Do you know what version that would be??
Thanks and sorry to be a bother, but I'm trying to set this up for tomorrow..... :)

New member

Posts

Joined
Mon Aug 15, 2011 3:45 am

Post by Qphoria » Mon Aug 15, 2011 9:09 am

1.3.2 had the old way
its on the google code page

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 8 guests