Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 I want to delete <br /> in front of wishlist.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

elvis
VP-CART Super User

202 Posts

Posted - September 14 2008 :  06:40:41  Show Profile  Reply with Quote
In my shopdisplayproducts.asp, there is a line <br /><a href="shopwishlist.asp?action=add&id=7">Save to wishlist</a>

I want to take this <br /> out. Could anyone tell me where I can find it please?
Thanks in advance.

norik000
Starting Member

USA
43 Posts

Posted - September 15 2008 :  09:17:51  Show Profile  Visit norik000's Homepage  Reply with Quote
look in shopproductformat.asp around line 732

I am not sure if this is what you are looking for but the above line of code is in this file

Also, what kind of text editor are you using?
there is a functionality that you can search all files of a folder for that keyword you are looking for

for instance search for shopwishlist.asp?action=add&id in vpasp folder and you will find the line of code you want.
Go to Top of Page

norik000
Starting Member

USA
43 Posts

Posted - September 15 2008 :  09:23:09  Show Profile  Visit norik000's Homepage  Reply with Quote
Forgot to mention

Also check tmp_productformat.htm

this is the template file for shopdisplayproducts.asp

-------------------------------
www.Parscat.com
-------------------
Fedex Live Shipping Calculator + Freight
http://www.vpasp.com/virtprog/vpaspforum/topic.asp?TOPIC_ID=11363
-------------------
Go to Top of Page

elvis
VP-CART Super User

202 Posts

Posted - September 15 2008 :  11:08:46  Show Profile  Reply with Quote
Thanks norik for you tip and reply.
Go to Top of Page

elvis
VP-CART Super User

202 Posts

Posted - September 16 2008 :  11:19:20  Show Profile  Reply with Quote
I have deleted line 731 breaker="<br />"
But it still shows <br /> before <a href="shopwishlist.asp?action=add&id=...>

Any idea anyone how to delete <br /> ?
Go to Top of Page

norik000
Starting Member

USA
43 Posts

Posted - September 16 2008 :  23:37:28  Show Profile  Visit norik000's Homepage  Reply with Quote
did you check tmp_productformat.htm

-------------------------------
www.Parscat.com
Go to Top of Page

elvis
VP-CART Super User

202 Posts

Posted - September 17 2008 :  03:40:19  Show Profile  Reply with Quote
I have no <br /> tag in tmp_productformat.htm
Any suggestion will be appreciated.
Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - September 17 2008 :  04:09:14  Show Profile  Reply with Quote
Hi,

if you open shopproductformat.asp and find the following code (line 730approx.):

If getconfig("xProductwishlist")="Yes" then
strurl="shopwishlist.asp?action=add&id=" & lngcatalogid
strurl=addwebsess(strurl)
strMessage=breaker & "<a href=""" & strURL & """>" & getlang("Langwishlistsave") & "</a>"
Response.write ReviewHyperlinkFont
' breaker="  "
response.write strMessage
Response.write ReviewHyperlinkFontEnd
end if


Remove the breaker variable highlighted in red because it stores the <br/> value

Hope this helps,

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

elvis
VP-CART Super User

202 Posts

Posted - September 20 2008 :  07:47:54  Show Profile  Reply with Quote
Thanks. Solved.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00