Author |
Topic |
|
Davidvdw
Starting Member
South Africa
15 Posts |
Posted - June 25 2004 : 17:23:41
|
Hello everyone,
This post officially loses my cherry here ...
I have basic html and asp knowledge and after 5 straight hours of tinkering I'm extremely impressed with my new cart so far.
Busy trying to format my product using the tmp_productformat.htm file and also the option packages extended description.
I'm struggling to get the format right and have the following questions
1. How do I display the retail price? How do I put a strikethrough on this retail price?
2. I'm battling to get the fonts to appear in the size and family I want. I specify arial in my html template but they show up verdana. I know its set somewhere in shop$colors but I'm stumped as to where. Or maybe I'm wrong.
3. My html file has a table, 2 cols wide. Image in first col, name in second. For some reason I can't understand, name appears UNDER the image? Any ideas as to why?
Thanks in anticipation
David
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - June 25 2004 : 17:35:20
|
For 1, just add: [retailprice] to the tmp_productformat.htm file wherever you want to show it
or:
[formatcurrency retailprice]
to make it show up in proper ccy format.
to strikethru, use the <s> and </s> html tags, eg:
<s>[formatcurrency retailprice]</s>
(that strikethru tag is something I've just found out about myself; I wasn't aware it even existed before; strange how the simple things are often the ones we all need to look up!)
For 2, it might be your xfont (which is in the config options rather than shop$colors.asp), and/or just try doing a text search in shop$colors.asp for verdana, and/or try doing a text search in shop.css for verdana.
For 3, can you post the html code that you're using to display the table/column? Normal code for something like that would be something like: <table border=0 cellpadding=5 cellspacing=0> <tr> <td valign=middle align=center><img src="blah.jpg"></td> <td valign=middle align=center>Name</td> </tr> </table>
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons
Edited by - devshb on June 25 2004 17:53:29 |
|
|
Davidvdw
Starting Member
South Africa
15 Posts |
Posted - June 25 2004 : 18:06:22
|
Thanks for super fast reponse.
Here's the html which produces all the right goodies, but formatted all over the place. I want pic top left, name next to it, the right side of table, retail, my price, order button, more info.
Not what happens, pic is in right spot, name beneath pic, more details beneath that, retail and price in right position but order button centered at the bottom. I don't get it??
<div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="13%" valign="top" align="left" rowspan="2">[FORMATIMAGE SUB]</td> <td width="87%" valign="top" align="left"><b><font ="Arial" color="#000080" size="6">[cname]</font></b></center> </td> </tr> <tr> <td width="87%" valign="top" align="right"> <b><font face="Arial" color="#000080" size="2">Retail Price : <strike>[formatcurrency retailprice]</strike> <br> Our Price : </font><font face="Arial" color="#FF0000" size="2"> [formatcurrency cprice]<br> [FORMATBUTTON SUB]<br> </font><font face="Arial" color="#000080" size="2"> <a href="shopexd.asp?id=[catalogid]">...more details</a></font></b> </td> </tr> </table> </div>
|
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - June 25 2004 : 18:56:43
|
it's difficult to get a picture of exactly what you're after without seeing it and pointing fingers at things, but try this, and then if possible give us a url that's showing it, then let us know "need to move this bit here.." etc.....
<center> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="13%" valign="top" align="left">[FORMATIMAGE SUB]</td> <td width="87%" valign="top" align="left"><b><font ="Arial" color="#000080" size="6">[cname]</font></b> </td> </tr> <tr> <td colspan="2" valign="top" align="right"> <b><font face="Arial" color="#000080" size="2">Retail Price : <strike>[formatcurrency retailprice]</strike><br> Our Price : </font><font face="Arial" color="#FF0000" size="2"> [formatcurrency cprice]<br> [FORMATBUTTON SUB]<br> </font><font face="Arial" color="#000080" size="2"><a href="shopexd.asp?id=[catalogid]">...more details</a></font></b> </td> </tr> </table> </center>
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
|
|
stingerman_1
Starting Member
6 Posts |
Posted - June 25 2004 : 23:10:27
|
I am a vpasp newbie looking for an easy way to have an extended description template used. Is it possible without the option package? What exactly do I have to set for configurations to use it? And does anyone have a simple one out there to use?
muchos gracias Sean
|
|
|
Davidvdw
Starting Member
South Africa
15 Posts |
Posted - June 26 2004 : 03:55:56
|
Hi,
Ok well the results of the code above is viewable here
http://www.mediaxchange.co.za/shopdisplayproducts.asp?id=10&cat=Rock+%26+Pop
The desired layout will be two products next to each other,
Image then title next to the image, flush with the top, then bottom right of the cell, retail price, our price, more info and then order.
Any suggestions?
Dave
|
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - June 26 2004 : 05:28:01
|
in the generated html code, the image is being placed before the first <td> instead of after.
ie it's producing:
<tr> <p align="center"><img border="0" src="uploads\depeche_mode_Singles_81_85.jpg"></p> <td width="13%" valign="top" align="left"></td>
instead of:
<tr> <td width="13%" valign="top" align="left"> <p align="center"><img border="0" src="uploads\depeche_mode_Singles_81_85.jpg"></p> </td>
if the template html code is as per my posting, then try moving the image special field onto a separate line in the template:
<td width="13%" valign="top" align="left"> [FORMATIMAGE SUB] </td>
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
|
|
Davidvdw
Starting Member
South Africa
15 Posts |
Posted - June 26 2004 : 09:50:31
|
Howzit Simon,
Thanks for your help, I've circumvented the difficulty by just inserting the image with the urlimage field name. Seems to offer more flexibility when I do it this way. I'm going to press on with this and see if it has any draw backs.
If I need more help, I'll holler. There's still all the rest of the customisation to do. I'm strictly an amateur at this so I'm feeling a bit daunted.
Thanks for help
Dave
|
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
|
Davidvdw
Starting Member
South Africa
15 Posts |
Posted - June 27 2004 : 10:18:05
|
Nice , very nice, but my budget is blown already.
Currency is a killer, we're at about 12 to one and that's the best its been in a while.
Thanks though
|
|
|
|
Topic |
|