Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: yab_shop (simple textpattern shop with paypal support)
trenc, thanks for all of the hard work you have put into this plugin; I’m very impressed. As I looked at the “roadmap” listed in the first post I noticed you’re thinking about “a small admin interface to manage orders.” How do you plan on achieving that? I ask because I want to use this plugin and was going to build something like that for myself and I was curious how you planned on managing orders. Are you going to add another table to TXP or do you have something else in mind?
Thanks again for all of your hard work.
Offline
Re: yab_shop (simple textpattern shop with paypal support)
Hi jdykast,
I have the following in mind: The order managing interface will be look like the »content->article« list with »delete«, »shipped«, »paid« and »pending« as selectable status. So it will be small and simple. »pending« and »paid« status shall be partial automatically set (with paypal I can probably resolve this with the PDT or IPN). By offline payment methods the status will be set to »pending«, so it must be changed manually.
I don’t know, whether I will use an additional db table or the given textpattern table. The additional table has the advantage I can define the fields by myself. But it’s always an additional non-genuin textpattern table, I don’t really like it.
If I use the textpattern table, I have to use an additional order section to save the relevant data. And probably I have to use more custom fields as I want. Further the data will be showed as article in »content->article« and »content->write« then. That’s not what I want, ‘cause these datas are sensitive customer datas and a thoughtless click in these tabs will publish the customer data on the site -> maximum credible accident.
So I think I will ask the textpattern developers what will be the best approach and which variant most likely will fit in textpattern program design.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
Re: yab_shop (simple textpattern shop with paypal support)
Sounds good. I agree that it would be bad news to publish an order to the site! I also agree that using the existing Textpattern table has some drawbacks. A site that has a decent volume of sales will quickly make the article table messy and difficult to use for managing the content of the site. Also, using more custom fields could run into problems if the site was already using a few.
I guess my strongest argument for a new table(s) is the possibility of middle to high volume sales. I would love to be able to look at just the orders themselves without also looking through articles, products and other content. This would stay consistent with TXP’s separation of Presentation, Content and Logic. To that list we could add Orders. In my opinion, the best route seems to be a new table or two. However, if the TXP devs think an additional table is a bad idea then maybe it’s worth reconsidering.
Thanks for the feedback.
Offline
#94 2008-04-14 12:36:59
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: yab_shop (simple textpattern shop with paypal support)
trenc:
Thanks for your response.
When I do what you have described above using (yab_shop_config 0.3.0) I get “Payment Method” then the Number 1 in a pull down box.
The code, I get is:
<p><label for="payment">Payment Method</label><select name="payment" id="payment"><option value="1">1</option></select>
</p>
I am sure it is me, just not sure what I may be overlooking.
Thanks.
Last edited by progre55 (2008-04-14 12:37:31)
Offline
Re: yab_shop (simple textpattern shop with paypal support)
Ah, I see. You have edited the language yab_shop_lang(), which should contents the translations:
'checkout_payment_acc' => 'Purchase on Account',
'checkout_payment_pod' => 'Purchase on Delivery',
'checkout_payment_pre' => 'Purchase against Prepayment',
'checkout_payment_paypal' => 'Purchase via Paypal',
but you have to edit the config yab_shop_config() above:
'payment_method_acc' => '0',
'payment_method_pod' => '0',
'payment_method_pre' => '0',
'payment_method_paypal' => '1',
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#96 2008-04-14 17:27:59
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: yab_shop (simple textpattern shop with paypal support)
trenc:
Again, I overlook the obvious … maybe because it is Monday … at least that is what I will tell myself …
Thanks for the help and awsome plug in.
progre55
Offline
Re: yab_shop (simple textpattern shop with paypal support)
After a special wish via email, I shipped out a minor update 0.3.2. Now with support for serbian dinar.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#98 2008-04-19 17:03:41
- minioak
- New Member
- Registered: 2008-04-19
- Posts: 1
Re: yab_shop (simple textpattern shop with paypal support)
I was wondering if there was a configuration option to only allow one of each product to purchased. This is because the shop I am planning on setting up, there will only ever be one of each product available (ever).
Thanks for such a great plugin!
Offline
Re: yab_shop (simple textpattern shop with paypal support)
No, there is no such option.
But I don’t understand it correctly. Do you mean that your costumers can only buy one of a specific product or buy only one product in the whole? If last one it should be possible with a buy now button (paypal) or an simple contact form in which you refer a POST or GET variable from the product. So there is no need of a cart functionaltity.
And I can’t imagine a real scenary of the first option (buy one product of specific product). Except the products are unique — like masterpieces etc. This could be possible with a store or warehouse management. But this is not implemented in yab shop.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#100 2008-04-24 12:16:45
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: yab_shop (simple textpattern shop with paypal support)
Trenc:
I know you have advised against it, but are their any plans to allow the purchase straight from a list. Right now, as you know, I can display a list, but then the user needs to go into the individual articles to select and make a purchase. Not that this is a huge deal, but it would be nice and convenient for people who wanted to purchase quickly and miultiple items if they could do so from a list view.
Again, thanks for the great plug in.
progre55
Offline
#101 2008-04-26 03:53:20
- King Rat
- Member
- Registered: 2004-11-11
- Posts: 20
Re: yab_shop (simple textpattern shop with paypal support)
Thanks, trenc, for this great plugin. I’ve downloaded it and am playing with it now. I was wondering about the possibility of having the product options affect the price. So, for example, if I were selling shirts, and I had a size option such that small or medium were the set price, but large would be +$2.00. This would be awesome, but I don’t know that it would be easy to code.
Offline
#102 2008-04-26 07:07:39
Re: yab_shop (simple textpattern shop with paypal support)
King Rat – i think what you ask can be done by easy javascript ;)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#103 2008-04-26 10:06:38
Re: yab_shop (simple textpattern shop with paypal support)
@progre55:
Yeah, I know the problem. It’s annyoing to click on an add-to-cart-button and to redirect to the single product. I will try find a proper solution for this.
@King Rat:
As the_ghost wrote this could be possible with javascript respectively with an ajax call. But the main problem here is: I don’t know yet where the prices for the specific property (e.g. size) will be stored. It have to be such an form that I can build an array from it. But I will think about it.
As an dirty workaround this time you can only store the different sizes/prices as single products and arrange it in (sub-)categories.
Similar is the problem with different shipping costs per product.
Here is my internal todo list in todo order for interested parties to see what could be following next:
- admin order interface – will store the customer data, purchased products, status of selling process (pending, paid, shipped etc. will be changed automatically and manually)
- paypal ipn or ptd – will see which one; could automatically change the selling process status
- cart adding on product lists without redirect to the single product
- different shipping methods and different shipping costs
- different properties (e.g. size or amount) and different prices
- token or array return after a successfull transaction to ship out downloads etc.
- mlp compatibility
But, of course, bug fixing and security fixing will be served first.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#104 2008-04-26 17:03:17
- King Rat
- Member
- Registered: 2004-11-11
- Posts: 20
Re: yab_shop (simple textpattern shop with paypal support)
the_ghost wrote:
King Rat – i think what you ask can be done by easy javascript ;)
Hmm. Yah. I tend not to think in Javascript terms for some reason. Probably because I’m not as good with it as I am with other languages. But yeah, that’s a solution ;)
Offline
#105 2008-05-02 07:41:04
- amyng
- Member
- Registered: 2007-01-05
- Posts: 55
Re: yab_shop (simple textpattern shop with paypal support)
Is there a way to put a limit to the quantity of things I’d like to sell? Say I have 20 bags to sell, and I want a SOLD OUT button to display after selling the 20th piece…
I’m also puzzled on how to get the Private Key and Public Certificate from OpenSSL. I don’t understand a word of what I’m supposed to do to get a cert! Can anyone guide me please?
Amy
Last edited by amyng (2008-05-02 08:14:05)
Offline