Category image in Shop Made Simple
Category image in Shop Made Simple
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
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
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
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
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
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
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
{$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
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
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
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
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
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
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
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
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
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
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
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
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
dave.webb,
True. That function/layout style is not available. Enter a feature request for the module.
Duketown
True. That function/layout style is not available. Enter a feature request for the module.
Duketown
Re: Category image in Shop Made Simple
Request submitted 
Thanks,
Dave

Thanks,
Dave