Did I buy the wrong software? - Post...

User 2096236 Photo


Registered User
11 posts

Thanks for removing the code. (duh) Do you want the code for the whole page? I feel like I should start the whole page over again so I don't mess it up because I have switched back and forth some. Would you advise that? It wouldn't take that long.
User 117361 Photo


Ambassador
6,076 posts

Yes... I was after the whole page of code. If you say it is simple to begin over, why not just make a very simple page with just one item for sale so that we can show you where to slip in that button snippet.
You needn't dump what you have already done, but just save the trial page with a new name for now.
User 2096236 Photo


Registered User
11 posts

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)"/>
<meta content="Wed, 02 Jun 2010 21:45:03 GMT" name="created"/>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta name="description"/>
<meta name="keywords"/>
</head>
<body>
<div align="center">
<font color="#008000">Trial page to figure out how to put a Paypal button on this page!<br/><br/>Regular price $12.95<br/>now only<br/>$9.95<br/></font>
</div>
</body>
</html>


Okay, here's a trial page (good idea!)
User 117361 Photo


Ambassador
6,076 posts

Charlotte. Give me a few minutes to try this out in my editor and I will get back.
User 117361 Photo


Ambassador
6,076 posts

Ok... here goes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)"/>
<meta content="Wed, 02 Jun 2010 21:45:03 GMT" name="created"/>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta name="description"/>
<meta name="keywords"/>
</head>
<body>
<div align="center">
<font color="#008000">Trial page to figure out how to put a Paypal button on this page!<br/><br/>Regular price $12.95<br/>now only<br/>$9.95<br/>
</font>
</div>
<div align="center">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="12345678" />
<p><input type="hidden" name="on0" value="Template options" /><b>Choose your template purchase option from the dropdown list</b></p>

<p><select name="o0">
<option value="Standard download">Standard download €35,00</option>
<option value="Standard cd">Standard cd €45,00</option>
</select></p>

<p><input type="hidden" name="currency_code" value="EUR" />
<input type="image" src="https://www.paypal.com/en_US/IT/i/btn/btn_buynowCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="pixel" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" /></p>
</form>
</div>
</body>
</html>


So you should recognize your original bit of code. I have added a new block which will be similar to your own button snippet, though here I have added a fictitious customer id by way of example. Try just copying and pasting the code into a new html EMPTY page and then take a look in the preview. I cannot say how this will behave if you then start using the visual editor I'm afraid.
User 2096236 Photo


Registered User
11 posts

Okay, I tried that and it worked so I will play with it more. At least I have a place to start and I thank you.

What is the recommendation for a newbie to HTML in using this program? I will certainly be designing pages in the visual editor because that's why I bought it, but sometimes I'll have to add code manually like this. Just avoid doing it too often, lol? Do a save, then copy/paste into a new document to try out the code in another new page?
User 117361 Photo


Ambassador
6,076 posts

Glad it worked ok. Certainly until you manage to get your head around a bit more html I suggest that you always experiment in a blank page and save it perhaps as a resource page with a meaningful name so that you can pick it up again if you need it. I actually keep a folder just full of resources like that where my trials for javascript, html etc. get tucked away for when I need them.

Just always bear in mind that the code editor and visual editor do not allow you to switch between without a few changes taking place that you might find difficult to rectify. As soon as you can, try to use the html and then the preview tab which changes nothing.
User 1946084 Photo


Registered User
29 posts

Hey Charlotte,

HTML is not difficult, but it takes some good serious rainy days to get your head around it :-)

Like you I'm a newbie .. still .. just letting you know that it will come to you. The nice thing about CC is that these guys think like newbies :-)

Good luck with it

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.