10 replies [Last post]
blockedmind's picture
Offline
Joined: 03/15/2009
Juice: 11

I have enabled all necessary modules to get product image work but there is no image field on product creation page. Why?

As I search through forums I read something like "There is a Store status table that logs various status messages related to your Ubercart installation. One of the rows in the table should include a link you must click that will cause Ubercart to automatically configure the various image settings. Click on that and you'll be ready to go!" But there is no such link on Status Table.....

Any ideas?

blockedmind's picture
Offline
Joined: 03/15/2009
Juice: 11
Re: No Product Image Field in Create Form

?

Gavalar's picture
Offline
Joined: 12/24/2008
Juice: 101
Blockedmind: (UC 2.x) Click

Blockedmind:
(UC 2.x)
Click on Store Administration on the Nav Menu, you'll then be presented with a table with Configure, Order, Products, blah blah. Scroll to the bottom of the page. There you will find the link on auto set up of Imaging.

Hope that helps

blockedmind's picture
Offline
Joined: 03/15/2009
Juice: 11
Re: Blockedmind: (UC 2.x) Click

what about uc 1.7?

Ole Martin's picture
Offline
Joined: 01/31/2008
Juice: 12
Re: Re: Blockedmind: (UC 2.x) Click

I have done this but the images do not appear. I can see them when I insert the picture or when editing the product

blockedmind's picture
Offline
Joined: 03/15/2009
Juice: 11
Re: Re: Re: Blockedmind: (UC 2.x) Click

well i can't even get image field on the form.

blockedmind's picture
Offline
Joined: 03/15/2009
Juice: 11
Re: Re: Re: Re: Blockedmind: (UC 2.x) Click

and nobody cares. right.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Re: Re: Re: Re: Blockedmind: (UC 2.x) Click

With that attitude, should we?

In any case, what does it say when you go to /admin/store? It should mention whether or not image configuration is setup correctly. Does it? (This is the "row" that people were talking about... it will either be red or green depending on your image config status.)

If this still doesn't work, can you give us additional info? What versions of the modules have you installed? I've read about some issues with newer versions of Imagefield and Image Cache but haven't seen them myself; we're running UC1.7 and the latest image_* modules and everything works fine.

Are you able to go to /admin/content/types/product and Add Fields? If so, you might try seeing if you can add another Image Widget field to the product (or any other node) type. If you can, but Products are not showing up, then there is an issue with your installation and we'll need to dig deeper.

--
Help directly fund development: Donate via PayPal!

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Ole Martin wrote:I have done
Ole Martin wrote:

I have done this but the images do not appear. I can see them when I insert the picture or when editing the product

This is a theme issue. Are you using a default theme for Ubercart, or have you edited your node-product.tpl.php file? If your theme is custom (or has been edited by you) then you'll need to make sure a) that your image fields are being returned with the $node object, and b) that you have printed them to the screen. Generally this is done like this:

<?php
// Get the $image object
$image = $node->field_image_cache[0]['filepath'];
print
'<img src="/'. $image .'">';
?>

If you don't have a field_image_cache element in the $node object, add a

<?php
drupal_set_message
('<pre>'.print_r($node, true).'</pre>');
?>

to your template file and check to see if your image is getting returned - or at the very least, you have access to its filepath.

--
Help directly fund development: Donate via PayPal!

clsandford's picture
Offline
Joined: 09/11/2009
Juice: 6
FYI finding "Store Status".

If your like me and having trouble finding the Status message to enable product images, try the following.

Click on "Store Administration" not it's subcategorys, but the title itself.

www.yourwebsite.com/admin/store

I have Admin Menu installed and was trying every dropdown option under the sun, but it was on the page displayed when clicking on the actual heading itself.

Hope this helps someone.
The UC help pages don't make this clear.

stevoarmstrong's picture
Offline
Joined: 03/08/2010
Juice: 3
Re: FYI finding "Store Status".

Thanks for that clsandford, that worked for me. Using node_import I can now bulk import products from a csv file, complete with product images.