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
 VP-ASP 7.0 Questions
 More info for features
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

chuckeymonkey
Starting Member

14 Posts

Posted - May 05 2010 :  15:22:53  Show Profile  Reply with Quote
I would ideally like to have a question mark icon next to each feature, where a customer can click, and a highslide popup will appear to give more info about the product feature. Right now I'll settle for a simple hyperlink that goes to another page. I read in the manual the following:

4.16.9.2.9 Provide more information about a feature
If you want to provide your customers with more information about a feature, you can add a link to a HTML file into the featureother1 field and VP-ASP will generate a link to that URL next to the feature listing.


Thats all it says on the matter; it sounds like what I want, but theres a problem... There is no "featureother1" field in the features database table. There is a "featureother" but when I type in a page url (tried relative and absolute) I see no visible change on the page. Anyone have experience, advice?

Edited by - chuckeymonkey on May 05 2010 15:30:26

diegomilito
VP-ASP Expert

Argentina
723 Posts

Posted - May 11 2010 :  21:53:31  Show Profile  Reply with Quote
I thought the featureother1 field is unused now in VP-ASP 7.00.

You may try my trick below :
* Go to edit feature page, example you edit Color feature.
* in the featurename column, say you will add the question mark to "Black" color.
Then replace the "Black" color caption with : Black <a href='http://localhost/vpasp76/shopcontent.asp?type=features'>?</a>
* Click to save
* Go to the store to see.

The link page is just example that using shopcontent.asp?type=features, you can setup a new content page for each feature that you will link to.

I hope this helps.

Diego
Go to Top of Page

diegomilito
VP-ASP Expert

Argentina
723 Posts

Posted - May 11 2010 :  21:59:29  Show Profile  Reply with Quote
Sorry, my previous stated to replace "Black" color caption with : Black <a href='http://localhost/vpasp76/shopcontent.asp?type=features'>?</a>

The correct one should be : Black <a href='shopcontent.asp?type=features'>?</a>

Just replace the "shopcontent.asp?type=features" with the page you want to link to.

Diego
Go to Top of Page

chuckeymonkey
Starting Member

14 Posts

Posted - May 12 2010 :  09:16:58  Show Profile  Reply with Quote
I'll try that asap. Thank you in advance, and I'll let everyone know how it went.
Go to Top of Page

chuckeymonkey
Starting Member

14 Posts

Posted - May 12 2010 :  10:51:55  Show Profile  Reply with Quote
quote:
Originally posted by diegomilito

Sorry, my previous stated to replace "Black" color caption with : Black <a href='http://localhost/vpasp76/shopcontent.asp?type=features'>?</a>

The correct one should be : Black <a href='shopcontent.asp?type=features'>?</a>

Just replace the "shopcontent.asp?type=features" with the page you want to link to.

Diego



I found out that this works, kinda...
In order to do this trick, you must be using either checkbox or radio features, but it indeed works. You can even use highslide here.

If you are using a dropdown feature, like me, then you are out of luck for this trick, but it is a great piece of info know anyways. Thanks Diego.

If I find a way to do this for drop down boxes, I'll let you know.

*UPDATE:
I am able to add a hyperlink "?" next to the feature name and have it go to a new page. This is a step in the right direction. However, I would prefer to include highslide into this, so as not to take people away from the page. Im running into this error when I include the highslide code:

Error Type:
Microsoft JET Database Engine (0x80040E57)
The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.
***/***/shopa_featureedit.asp, line 1235


It would seem to me that the form field has a character limit on it, and the highslide code is exceeding it. I cant find where toincrease this. Any ideas on increasing the limit or solving the error message?

Edited by - chuckeymonkey on May 12 2010 12:21:36
Go to Top of Page

chuckeymonkey
Starting Member

14 Posts

Posted - May 12 2010 :  13:08:05  Show Profile  Reply with Quote
I FINALLY FIGURED IT OUT!!!

It is so simple, im not sure why didnt figure this out before! I was thinking the error I was recieving was due to the form field not being able to hold alot of text. Thus I was looking in the ASP pages looking for the code to control that. I went through all that hassel to no avail. And then I realized, its not the .asp form that needs to change, but the database field.

Simply Do This:
1) Make a backup of your database
2) Open up the database
3) Open the prodfeatures table
4) Select the "featurecaption" column
5) Change its type from "text" (which has a character limit) to "memo"
6) Save
7) Close the database.
8) Then go to the feature editor in the admin section
9) Add your code to the "caption" field

These steps will enable you to create a hyperlink that opens a page or a highslide window (depending on your code). The neat thing is, theoretically you can use your feature name, any character, or even an image as the hyperlink. Below are some code samples. Lets assume you sell t-shirts, and the feature name is "Color" and you have an html page called option_descriptions.html in your templates folder. This also assumes highslide is installed on the server already, if not see here http://helpnotes.vpasp.com/shopexd.asp?id=930

Adding a CSS controlled symbol, like a question mark after the feature name to open the html file in a new window:
Color <a href="templates/feature_descriptions.html">?</a>

Adding a graphic symbol after the feature name to open the html file in a new window:
Color <a href="templates/feature_descriptions.html"><img src="insert image directory" width="insert image width" height="insert image height" /></a>


Using your feature name to open the html file in a highslide window:
Color <a href="templates/feature_descriptions.html" onclick="return hs.htmlExpand(this, { objectType: 'iframe' } )">Color</a>



***UPDATE***
If you go the route above, and change the field to memo, I discovered you're ability to add new products through the control breaks. I found that I was able to make the length of my hyperlink shorter and to fit within the expected 'text' field (255 character limit).

Edited by - chuckeymonkey on September 01 2010 21:31:49
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000