VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Suggestions for future release
 Hyperlink for Product Image at Checkout
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

patrickong
VP-ASP New User

Singapore
58 Posts

Posted - November 19 2006 :  09:02:42  Show Profile  Visit patrickong's Homepage  Reply with Quote
Hi,

I hope that when the following is enabled. i.e.

1) xcartimage = No to Yes

2) xcarthyperlink = No to Yes

The product image will also be hyperlinked back to the product page when clicked at the checkout page.

Edited by - patrickong on November 19 2006 16:22:29

stockman
Starting Member

8 Posts

Posted - November 24 2006 :  00:31:38  Show Profile  Reply with Quote
Hi,

you cannot create a hyperlink for a product image with setting xcartimage and xcarthyperlink to Yes but can combine these settings with some modification in your shopaddtocart.asp file to get what you want.

You will need to change the code:

1)at the line 162

from

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

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

2)at the line 495

from

Sub CartAddimage (percent, alignment, image, cartfields)

to

Sub CartAddimage (percent, alignment, image, cartfields, catalogid)

3)at the line 500

from

<img border='0' src='<%=image%>'>

to

<a href="shopquery.asp?catalogid=<%=catalogid%>"><img border='0' src='<%=image%>'></a>

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000