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
 Customization
 Displaying Inventory images
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Crumplezone
Starting Member

United Kingdom
12 Posts

Posted - September 13 2006 :  08:11:06  Show Profile  Visit Crumplezone's Homepage  Reply with Quote
Again, apologies if this is a dumb question.

I want thumbnail images for sub products to display below the main product image in shopdisplayproducts.asp.

I've managed to set up the pother fields to upload these images, but the help notes aren't very helpful on how exactly to get them to display.

Any help appreciated.

ironhawker
VP-ASP Super User

USA
260 Posts

Posted - September 15 2006 :  00:52:02  Show Profile  Visit ironhawker's Homepage  Reply with Quote
So make small images and include them in the small image entry of each sub-product when you are entering them. If you have different size images you may want to control the width "or" the height in one of your templates- or the default templates, but not both.

~-~-~-~-~-~-~-~-~-~
Randy "RC" Corn
Institute of Higher Learning

[email protected] 425-828-0738
Go to Top of Page

Crumplezone
Starting Member

United Kingdom
12 Posts

Posted - September 15 2006 :  07:59:39  Show Profile  Visit Crumplezone's Homepage  Reply with Quote
I've done that, but they don't display.

I've read the help notes and a similar post on this subject.

Help notes say

Multiple Images Per Product


To display multiple images for a product, you can use the pother fields in the product record to hold the references to the extra images.

If you wish to set up the pother fields to have the image upload button like the Image fields do, you need to make the following code change:

1. Open shop_addproduct.asp

2. Locate the following line:

PCreateRow getlang("LangProductOther1"),"strPother1", strPother1

(if you want to change another pother field, rather than pother1, just find the line that corresponds to the pother field you want to change)

3. Change it to:

PCreateRowImage getlang("LangProductOther1"),"strPother1", strPother1, "pother1"

Then you just need to add the extra field to your template, whereever you want it to display (put a $ symbol at the front of each line to stop that html line from showing up if you haven't uploaded an extra image to the new image field).

eg:
table border=0 cellpadding=0 cellspacing=0>
tr>
$td>img src="[pother1]">/td>
$td>img src="[pother2]">/td>
/tr>
/table>


All I need to know is _which_ template to insert this code into. I've done everything else up to 'Then you just need to'

Edited by - Crumplezone on September 15 2006 08:01:20
Go to Top of Page

Scooter
VP-ASP New User

USA
102 Posts

Posted - September 15 2006 :  08:06:44  Show Profile  Reply with Quote
hi

You open tmp_product.htm an add your code

<img src="[pother3]" alt="[pother4]">

I made pother4 alt name in my local site.

Use $ at front and it hide line if field empty.

$ <img src="[pother3]" alt="[pother4]">

Other template ius tmp_productfirmat.htm

Hope this helps. Really very easy to do but take a bit to find things at start. :-)

S.
Go to Top of Page

Crumplezone
Starting Member

United Kingdom
12 Posts

Posted - September 15 2006 :  10:07:48  Show Profile  Visit Crumplezone's Homepage  Reply with Quote
Thanks. Sounds like that should do it.
Go to Top of Page

go4gold
VP-ASP New User

151 Posts

Posted - December 03 2006 :  17:42:43  Show Profile  Visit go4gold's Homepage  Reply with Quote
Hi,

As a follow up to this question on multiple images, I found the instructions very useful and have successfully adapted 3 of the "other" fields to accept images - thank you. My question is can I change the description of these fields so instead of showing "other3", "other4" and "other5", they can instead say "image 2", "image 3" and "image 4". I will be giving many people access to add their own products and changing the descriptions in this way will I am sure help them.

Many thanks for any guidance anyone can give.

Go4Gold
Go to Top of Page

devshb
Senior Member

United Kingdom
1898 Posts

Posted - December 03 2006 :  18:27:52  Show Profile  Visit devshb's Homepage  Reply with Quote
that can be done via the language settings; each product field has it's own language setting for its label

if you run out of "other" columns, then here's a link which explains how to add more.....
http://www.bigyellowzone.com/support/issue_view.asp?ID=30&CATE=8

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons

Edited by - devshb on December 03 2006 18:29:21
Go to Top of Page

go4gold
VP-ASP New User

151 Posts

Posted - December 03 2006 :  23:46:42  Show Profile  Visit go4gold's Homepage  Reply with Quote
Many thanks devshb, much appreciated.

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