Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
CuteNews Paypal E-Shop

 
Reply to topic    Forum Index » Skins and snippets View previous topic
View next topic
CuteNews Paypal E-Shop
Author Message
yesitsfree



Joined: 03 May 2007
Posts: 88

Post CuteNews Paypal E-Shop Reply with quote
Working on a new site I have and designing the template I came up with the following idea.

This would maybe work with a paypal shop.

Usining cutefields to add

Price = {cf:price}
ID code = {cf:itemIDnumber}
Description = {cf:itemname}
Image = {cf:image}

I have put a possible template below with the cutefields above in it

Code:

<table width="500">
  <tr>
    <td colspan="2">Category: {category}</td>
  </tr>
  <tr>
    <td colspan="2"><div align="left">
      <h3>{title} </h3>
    </div></td>
  </tr>
  <tr>
    <td width="187" rowspan="3" valign="top"><div align="center">{cf:image}</div></td>
    <td width="301"><strong>Description</strong><br />
    {full-story} </td>
  </tr>
 
  <tr>
    <td><strong>Price </strong>£{cf:price}</td>
  </tr>
  <tr>
    <td>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="your@paypal-account">
<input type="hidden" name="item_name" value="{cf:itemname}">
<input type="hidden" name="item_number" value="{cf:itemIDnumber}">
<input type="hidden" name="amount" value="{cf:price}">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
</td>
  </tr>
</table>


The form code is the paypal button info.
It could be a good way of building a paypal shop and might even work with other payment gateways , using there button codes.

I havent tried it but it should work.

_________________
yesitsfree freeware http://www.yesitsfree.co.uk
UK community website directory http://www.wvis.co.uk
Holiday Lets Directory ttp://www.holidayletsdirectory.com
Thu Sep 13, 2007 7:11 pm View user's profile Send private message Visit poster's website
Guest








Please login to hide the ads.

scottdallas



Joined: 04 May 2006
Posts: 1802
Location: US

Post Reply with quote
That does work, I did it with XFields before. Same idea exactly. The only thing you aren't allowed to do is open the shopping cart in an iframe. It won't let you finish processing the order form.. so no money will ever be made. I wanted to be able to click 'add to cart' and have it open in the same window without loading a new paypal screen. But, oh well. I always wanted to make a little paypal shop but I have nothing to sell :-/ reselling drop-ship items is ridiculously expensive and I always see people breaking even so I'm out of ideas.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Fri Sep 14, 2007 5:34 am View user's profile Send private message Visit poster's website AIM Address
kirby145



Joined: 08 Sep 2007
Posts: 36
Location: look behind you

Post Reply with quote
If you can get it to work re post. A lot of people on the cutenews.com site want a flatfile shopping cart off cutenews and this could be a good base/ start.
Sat Sep 15, 2007 4:09 am View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
scottdallas



Joined: 04 May 2006
Posts: 1802
Location: US

Post Reply with quote
Kirby, his code looks correct I'm sure that'll work as is. Just tweak it up a little to match the look of the site it goes on.

Neither his method or the XField method are going to work for regular cutenews though. If they want flat-file shopping cart they should try cutenews.ru lol why complicate things? It's sitting here waiting for them on an extremely accurately named thread.

Didn't someone make xfields for cutenews?

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Sat Sep 15, 2007 4:13 pm View user's profile Send private message Visit poster's website AIM Address
kirby145



Joined: 08 Sep 2007
Posts: 36
Location: look behind you

Post Reply with quote
I guess the main question would be why aren't those cutephp people updating to cuteru?
Sat Sep 15, 2007 7:23 pm View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Fenmere



Joined: 29 Jan 2008
Posts: 1
Location: Bellingham

Post Reply with quote
Oh, some of us are, Kirby, some of us are... Laughing
Tue Jan 29, 2008 10:05 pm View user's profile Send private message Visit poster's website
scottdallas



Joined: 04 May 2006
Posts: 1802
Location: US

Post Reply with quote
Quote:
Oh, some of us are, Kirby, some of us are...


haha what an awesome first post.. without introducing yourself you have already told us much about yourself Fenmere.. you obviously love cutenews but want more power Razz

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Wed Jan 30, 2008 12:47 am View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Skins and snippets All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.