PDA

View Full Version : Thumbnail photo on basket page (BASK)


gjt
07-31-08, 01:02 AM
I 'd like to display a thumbnail photo on the basket contents page (BASK). Anyone know how to do this?

I tried copy & pasting the "relevant" code from the category display, which of course also displays thumbnails, but no luck. I must be missing something.

CybrHost
07-31-08, 01:16 AM
You'll need a module for that. Emporiumplus.com has one, but I forget the name. I'm sure Bill will chime in shortly.

--
Thank you,
Gary Hodder
Support
--
CybrHost Corp. - http://www.cybrhost.com/ - info@cybrhost.com
+1-866-300-MIVA - Professional Miva & E-Commerce web hosting services.

PCINET - Andreas
07-31-08, 01:57 AM
Toolkit 5 :)

CybrHost
07-31-08, 02:29 AM
I may be wrong but I don't think the toolkit supports that.

--
Thank you,
Gary Hodder
Support
--
CybrHost Corp. - http://www.cybrhost.com/ - info@cybrhost.com
+1-866-300-MIVA - Professional Miva & E-Commerce web hosting services.

wcw
07-31-08, 02:43 AM
The name of the module is misleading. It is Categories in Basket Screen at
http://www.emporiumplus.com/go/wcw/PROD/1AA/1AA00034
It has 3 features: 1) thumbnail in the basket, 2) sum the base + attribute prices to show one price in the basket for each line item, 3) categories product is in.

Leanne
07-31-08, 06:30 AM
You can also do this without a module if you name your thumbnails using the product code as the image name. Then just call them as <img src="filepath/&mvt:product:code;.jpg"> or <img src="filepath/&mvt:item:code;.jpg"> depending on where you're using it.

gjt
07-31-08, 04:20 PM
Bill - I already have Toolkit. Wouldn't vproduct_find work?

Leanne - my thumbnails are named productcode_sm.jpg so would <img src="filepath/&mvt:product:code;_sm.jpg"> still work?

Many thanks to everyone :)

wcw
07-31-08, 05:00 PM
vproduct_find would work. But it is less efficient than the other module as it is reading in all the variables of the product rather than just the thumbnail path.

Leanne
08-01-08, 08:13 AM
That image file path should work fine, again, replacing product with item as needed for the page you're using it on.