Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Newcomer Formatting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Davidvdw
Starting Member

South Africa
15 Posts

Posted - June 25 2004 :  17:23:41  Show Profile  Reply with Quote
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  Show Profile  Visit devshb's Homepage  Reply with Quote
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
Go to Top of Page

Davidvdw
Starting Member

South Africa
15 Posts

Posted - June 25 2004 :  18:06:22  Show Profile  Reply with Quote
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>


Go to Top of Page

devshb
Senior Member

United Kingdom
1904 Posts

Posted - June 25 2004 :  18:56:43  Show Profile  Visit devshb's Homepage  Reply with Quote
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
Go to Top of Page

stingerman_1
Starting Member

6 Posts

Posted - June 25 2004 :  23:10:27  Show Profile  Reply with Quote
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

Go to Top of Page

Davidvdw
Starting Member

South Africa
15 Posts

Posted - June 26 2004 :  03:55:56  Show Profile  Reply with Quote
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

Go to Top of Page

devshb
Senior Member

United Kingdom
1904 Posts

Posted - June 26 2004 :  05:28:01  Show Profile  Visit devshb's Homepage  Reply with Quote
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
Go to Top of Page

Davidvdw
Starting Member

South Africa
15 Posts

Posted - June 26 2004 :  09:50:31  Show Profile  Reply with Quote
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



Go to Top of Page

devshb
Senior Member

United Kingdom
1904 Posts

Posted - June 27 2004 :  07:04:07  Show Profile  Visit devshb's Homepage  Reply with Quote
no worries, dave.

if you want to save yourself a lot of time/hassle when plugging in any top/left/right/bottom panels and generally sizing/configuring each panel, you'll probably find the following "vpasp panel-splitter" useful, as it eliminates you having to work out all the hideously complex html that's involved in configuring side-panels. As you're working out/configuring your html/format at the moment, this'd be a good time for you to plug this in as it'd transform your site very quickly/easily across the board with no changes needed to asps etc:

panel-splitter details:
http://bigyellowzone.com/shopexd.asp?id=26


panel-splitter demos:
http://demos.bigyellowzone.com/byz005_01/default/panel_test.asp
http://demos.bigyellowzone.com/byz005_01/narrow/panel_test.asp
http://demos.bigyellowzone.com/byz005_01/min/panel_test.asp

our forum postings for related issues:
http://bigyellowzone.com/forum/topic.asp?TOPIC_ID=25
http://bigyellowzone.com/forum/topic.asp?TOPIC_ID=23
http://bigyellowzone.com/forum/topic.asp?TOPIC_ID=22
http://bigyellowzone.com/forum/topic.asp?TOPIC_ID=21
http://bigyellowzone.com/forum/topic.asp?TOPIC_ID=12

when people have problems/questions with this panel splitter, they can post a message on our forum and we'll answer it there so that other people with the same problem/question can see how it was solved. You wouldn't believe how much time/effort this thing saves, which is why I'm always plugging it whenever I get the chance because I wish that such a thing had been available when I first started doing asp as I would have saved myself months of extra work!

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

Edited by - devshb on June 27 2004 07:15:07
Go to Top of Page

Davidvdw
Starting Member

South Africa
15 Posts

Posted - June 27 2004 :  10:18:05  Show Profile  Reply with Quote
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

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