ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Catogory - product Image display
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Catogory - product Image display

 Post Reply Post Reply
Author
Message
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Topic: Catogory - product Image display
    Posted: 27-March-2009 at 1:42pm

In one of my clients stores the product display (in the category view) is set to:

Show images horizontally with 1 image per row.
 
This works ok but because it shows the product thumbnail the image is too small. I want to display the general or large image here instead.
 
I tried changing the references in the pcShowProductH.asp file from smallimageUrL to largeImageUrl but when I uploaded themodified file I got 'no image available' instead of the large image.
 
Can anyone help on this please.
 
Thanks
 
Nigel
 
 
Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 27-March-2009 at 1:48pm
Hi Nigel, you need to make sure the SQL query that loads the product data includes the field for the image you want to display. In viewcategories.asp, is only loads the smallImageUrl.
NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 27-March-2009 at 1:54pm
around line 608 of viewcategories.asp you have to edit the query, replacing smallImageUrl with the image of your choice.
 
If all you do is change that query, this will still work, or you can change it to "large", making certain that the name here matches the name in pcShowProductH.asp:
pSmallImageUrl=pcArray_Products(8,tCnt) '// rs("smallImageUrl") 
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Posted: 27-March-2009 at 2:06pm

Thanks for your quick replies.

I omitted to mention that I had also changed the query references in the viewcategories.asp file from smallImageUrl to largeImageUrl. I even cheked the name of the large image in the database to be sure.
 
I'll go back and try it again - it's possible I missed somehting or made a typo. It's reassuring to know that I was at least doing the correct thing (or so I thought ).
 
I'll let you know how I get on.
 
 
Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Posted: 27-March-2009 at 2:31pm
Success !
 
I had another go and still no luck but then I noticed another reference to smallImageUrl further up in viewcategories.asp here:
 
'// Query Products of current category
 query="SELECT products.idProduct, products.sku, products.description, products.price, products.listhidden, products.listprice, products.serviceSpec, products.bToBPrice, products.largeImageUrl,products.noprices,products.stock, products.noStock,products.pcprod_HideBTOPrice, POrder,products.FormQuantity,products.pcProd_BackOrder FROM products,
 
When I changed that one as well it worked perfectly. It makes sense to me now I see it as it needs to call the largeImageURL to reference it later.
 
Many thanks for your help guys.
 
Nigel
 
 
Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.