Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / use cart image sizes instead of small image sizes

use cart image sizes instead of small image sizes

Locked

Views: 1,091

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
3 Sep 2010, 6:28 PM
#1
rainestudios avatar

rainestudios

New Zenner

Join Date:
Jan 2010
Posts:
21
Plugin Contributions:
0

use cart image sizes instead of small image sizes

The reason I am asking this is kind of complex and confusing, so I hope I can just ask for the solution and not try to explain WHY I want to do this, LOL -- if I must, I can try, but this is the solution that I have figured out, but I need some info to implement.

in the admin->config->images there are settings for
small image width/height
and
shopping cart image width/height

I have found in my code places where it is pulling the width/height values for the small image width/height - the code it is using to pull those values is this:

SMALL_IMAGE_WIDTH
SMALL_IMAGE_HEIGHT

I would like to replace this with whatever snippet I need to pull the shopping cart image width/height instead.

What syntax would I use to do this?

amy

4 Sep 2010, 7:14 AM
#2
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: use cart image sizes instead of small image sizes

There is also:

Image - Product Listing Width
Image - Product Listing Height
Image - Product New Listing Width
Image - Product New Listing Height
Image - New Products Width
Image - New Products Height
Image - Featured Products Width
Image - Featured Products Height
Image - Product All Listing Width
Image - Product All Listing Height

Depending on where you need the image the same size as the cart image, it might be better to adjust one of those values....if that will work for you :)