Page 1 of 1

Category image in Shop Made Simple

Posted: Sun Sep 28, 2008 5:22 pm
by dave.webb
Hi all.

I have several categories setup with Shop Made Simple and have included an image for each.  However, this image shows up in the list of products, not in the list of categories.  How do I change it?  I tried copying and pasting the code but it doesn't work.

Dave

Re: Category image in Shop Made Simple

Posted: Sun Sep 28, 2008 5:27 pm
by Duketown
dave.webb,

Not that I have an immediate answer, but do you see anything whenever you see a list of categories (such as image not found, no image at all, wrong image)?

Duketown

Re: Category image in Shop Made Simple

Posted: Wed Oct 01, 2008 6:47 am
by dave.webb
Hi Duketown.

No, there is nothing there at all, it's not evening showing a broken link to the image in.  I just used the {$image} variable (or whatever it was) that is included in the other section that uses it.

Dave

Re: Category image in Shop Made Simple

Posted: Wed Oct 01, 2008 2:31 pm
by Duketown
dave.webb,

{$image} won't do anything.
Try something like: {cms_module module=ShopMadeSimple display=productlist catname='here exact name of category'} in a page.

Duketown

Re: Category image in Shop Made Simple

Posted: Fri Oct 03, 2008 1:31 pm
by dave.webb
Duketown,

I tried that and it shows a list of products in the category, as I would expect.  It doesn't show the category image because I removed the code from the template, as I don't want it shown in the list of products, just in the list of categories.

Dave

Re: Category image in Shop Made Simple

Posted: Fri Oct 17, 2008 4:30 pm
by dave.webb
As I'm not getting anywhere with this does anyone know how I can somehow extract the category name from somewhere?  It seems I only have $entry->name to use but it doesn't contain it.

If I can somehow pull the category name I can just use /uploads/images/categories/.jpg

Thanks,
Dave

Re: Category image in Shop Made Simple

Posted: Fri Oct 17, 2008 6:02 pm
by Duketown
dave.webb

Could send in the site with the missing image (so coding is up and running to show image). Maybe I can read from the source of the webpage what is wrong (for someone else I noticed a double slash causing the problem).
No problem if you PM it.

Duketown

Re: Category image in Shop Made Simple

Posted: Mon Oct 20, 2008 2:01 pm
by dave.webb
Duketown,

I'd send a link to the site but the problem isn't that the code is wrong, as there isn't any code.  The page doesn't even have an tag.  I'm pretty sure this is by design, and the author(s) of Shop Made Simple never intended the category image to show up in the list of categories (as it shows up in the list of products for that category).  I just want to try and put that image on a different page but don't know if any variables, other than $entry->name are available to use.

Thanks,
Dave

Re: Category image in Shop Made Simple

Posted: Mon Oct 20, 2008 6:32 pm
by Duketown
dave.webb,

The intention IS to show the category image. Please see my demo shop: www.mantox.nl/shop. Select for example Kitchen Aids and you will see the image of the category in the top.

During the development I did, I had lots of problems getting the correct path settings, so it might be that it works for mantox.nl but not for your site, hence I repeat my request on the coding. PM is ok by me.

Duketown

Re: Category image in Shop Made Simple

Posted: Mon Oct 20, 2008 9:31 pm
by dave.webb
Hi Duketown.

Your site is doing the same as mine though, the category images are not shown in the list of categories.  I want the images shown here:

http://www.mantox.nl/shop/

but they are shown here:

http://www.mantox.nl/shop/index.php?mac ... eturnid=15

Thanks,
Dave

Re: Category image in Shop Made Simple

Posted: Tue Oct 21, 2008 2:55 am
by Duketown
dave.webb,

True. That function/layout style is not available. Enter a feature request for the module.

Duketown

Re: Category image in Shop Made Simple

Posted: Tue Oct 21, 2008 6:27 pm
by dave.webb
Request submitted :)

Thanks,
Dave

Re: Category image in Shop Made Simple

Posted: Wed Nov 12, 2008 10:56 pm
by Duketown
Request solved in version 0.1.6 of the module.