Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Image size in shopaddtocart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Trial_and_Error
Starting Member

36 Posts

Posted - November 20 2008 :  16:03:30  Show Profile  Reply with Quote
Hello,

I wonder if it is possible to change the size of the image which I have included for every item in the shopaddtocart (view cart) page? For example, is it possible to display the image of the extraimage1 instead of the cimageurl for thumbnails.

Is it also possible to change the width of the description column in the shopaddtocart page.

I have looked in shopaddtocart.asp, shopproductformat.asp and shopproductfeatures, but I don't have any clue.

Thanks

Trial_and_Error
Starting Member

36 Posts

Posted - November 20 2008 :  18:09:38  Show Profile  Reply with Quote
Hello,

Looks like I found an acceptable solution to my problem.

In shopproductfeatures.asp around line 144 I changed

arrCart(cProductimage,scartItem) = cimageurl

with

arrCart(cProductimage,scartItem) = strimageextra2

So I replaced the original thumbnail which has a dimension of 100 x 100 with the images from extraimage2 which have a size of 80x 80 in my product database.

The width of the column I changed in shopcartformat.asp at line 185 by changing

CartAddimage "50%","left", image, cartfields

to

CartAddimage "30%","left", image, cartfields

Best regards,

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00