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
 Remove - Click to se more
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

anatur
Starting Member

42 Posts

Posted - September 08 2008 :  10:47:41  Show Profile  Reply with Quote
Hi

using ver. 6.50 - looking to remove "click to se more link" in shopproductformat.asp - but must give up after long time trying different lines with langProductClick -

can anyone give me more exact line number or show some code here? Remove also the space it is making.

thanks

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - September 08 2008 :  11:01:25  Show Profile  Reply with Quote
The best way to alter the display of products on shopdisplayproducts.asp is to change the template tmp_productformat.htm in notepad or an html editor. To remove the 'click to see more' text you will have to delete the [formatimage sub] in the template and replace this with

<a title="Larger image" href="shopexd.asp?id=[catalogid]">
<img src="[cimageurl]" border="0" alt="[translate cname]" /></a>


You can then add a 'more details' link in any other part of the template if required.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

anatur
Starting Member

42 Posts

Posted - September 08 2008 :  11:41:54  Show Profile  Reply with Quote
Thanks Carfin

however I have tried that - but then I get a problem with centering image that I can not find out what is? It is something in CSS I not find out - if I do like that the pictures is aligned to the left?

here are my two tmp_productformat:

this is centering good:

<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td valign="top">
[formatimage sub]
</td>
</tr>
<tr>
<td class="vt ac"><span class="hdrproduct"><strong>[translate cname]</strong></span><br />
<span class="price2"> [FORMATCUSTOMERPRICE cprice]</span>
</td>
</tr>
</table>

In this the pictures align to the left?

<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td valign="top">
<a href="shopexd.asp?id=[catalogid][add_websesslink]&bc=no">
<img src="[cimageurl]" border="0" alt="[translate cname]" />
</a>
</td>
</tr>
<tr>
<td class="vt ac"><span class="hdrproduct"><strong>[translate cname]</strong></span><br />
<span class="price2"> [FORMATCUSTOMERPRICE cprice]</span>
</td>
</tr>
</table>

???

thanks
Go to Top of Page

anatur
Starting Member

42 Posts

Posted - September 08 2008 :  11:57:54  Show Profile  Reply with Quote
Is it some formating in shopproductformat.asp I am missing?

With your code line - I get the same centering problem the pictures are centering left - not center lined with the text.

thanks

Edited by - anatur on September 08 2008 15:11:03
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - September 09 2008 :  03:46:13  Show Profile  Reply with Quote
Just add the css formatting to the table division.

<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td class="vt ac">
<a href="shopexd.asp?id=[catalogid][add_websesslink]&bc=no">
<img src="[cimageurl]" border="0" alt="[translate cname]" />
</a>
</td>
</tr>
<tr>
<td class="vt ac"><span class="hdrproduct"><strong>[translate cname]</strong></span><br />
<span class="price2"> [FORMATCUSTOMERPRICE cprice]</span>
</td>
</tr>
</table>


This will align the image to the top and centre

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

terje
Starting Member

Norway
11 Posts

Posted - September 09 2008 :  04:26:32  Show Profile  Reply with Quote
woooww - thanks - it is working great !!

very good!!
Go to Top of Page

anatur
Starting Member

42 Posts

Posted - September 09 2008 :  13:48:01  Show Profile  Reply with Quote
I still have a problem with this site Carrol,

using 4 columns and it is less than 4 products in the category - 1 - 2 - or 3 - they are centered on the page and not filling up from the left - if you understand what I meen. If it is 5 or 6 products - line 2 is doing this okay?

any sugestions?

thanks
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - September 09 2008 :  16:31:12  Show Profile  Reply with Quote
Is there any chance you could post a link to a screen shot so that I can see exactly what you are describing.

Thanks

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

anatur
Starting Member

42 Posts

Posted - September 10 2008 :  00:54:46  Show Profile  Reply with Quote
thanks and good morning -

with one product:

/shop/shopdisplayproducts.asp?id=21&cat=Relax+Unisex

with two:

/shop/shopdisplayproducts.asp?id=20&cat=Miss+Relax

I want them to start from the left - with 4 or more it is good:

/shopdisplayproducts.asp?id=3&cat=Silver+Wave

thanks

Edited by - anatur on September 11 2008 08:25:43
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - September 10 2008 :  03:43:58  Show Profile  Reply with Quote
Hi,

if you open the file shop$colors.asp and find the following line

Const ProdTable="<table border=""0"" cellpadding=""1"" cellspacing=""1"" width=""100%"" align=""center"" class=""vt"">"

Change the align=""centre"" to align=""left""

Hope this helps

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

anatur
Starting Member

42 Posts

Posted - September 10 2008 :  04:21:13  Show Profile  Reply with Quote
thanks again for you time - however it not change any? I put on a border to easier see what happend?

Terje
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - September 10 2008 :  04:41:25  Show Profile  Reply with Quote
As in shop$colors.asp

Const ProdTable="<table border=""0"" cellpadding=""1"" cellspacing=""1"" width=""100%"" align=""center"" class=""vt"">"

Try changing the class to class=""al vt""

If this does not help, perhaps someone else in the forums may be able to sort this.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

anatur
Starting Member

42 Posts

Posted - September 10 2008 :  06:34:38  Show Profile  Reply with Quote
thanks again Carrol - but it not make any difference? I not undertsand why - but it seems to me that it is not anything I have done along my way of setting it up - this is also in the orinal - when you choose to use more that one column the aligment to left does not work???

thanks

anyone??

Terje
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - September 10 2008 :  07:22:21  Show Profile  Reply with Quote
I don't think you can change the alignment of the columns in shopdisplayproducts.asp. The main display area will be split evenly depending on the number of products across the screen eg. if there are only 2 products in a category you cannot force these 2 products to the left because it will only display 2 columns 50% of the available space each. It could be acheived but would require custom coding, and I don't really think it's that big an issue because it does not detract from the appearance of your site.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

anatur
Starting Member

42 Posts

Posted - September 10 2008 :  08:14:00  Show Profile  Reply with Quote
okay - thanks a lot - however from a design view it is not so nice.

Terje
Go to Top of Page

savvymedias
VP-ASP New User

191 Posts

Posted - November 11 2008 :  08:39:36  Show Profile  Visit savvymedias's Homepage  Reply with Quote
Did you check out the routine in shopproductformat.asp ? Look under Sub FormatImage and you will find that all of the images are aligned via <p>. That is also the appropriate place to globally change the "click to see more" verbiage.

You will see strings like this one:

<p class="ac"><a href="<%=strDescURL%>"><img src="<%=strcimageURL%>" alt="<%=getlang("langProductClick")%>" border="0" /></a><br />
<a href="<%=strDescURL%>"><%=getlang("langProductClick")%></a></p>


The last line is the link to click to see more. Above it is the image link, and the AC <p class="ac">
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000