Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#277 2009-04-09 18:20:18
Re: yab_shop (simple textpattern shop with paypal support)
Is there an easy way to modify the product/article output from a vertical list to a tabled list? As in this example: http://shoptotzonly.com/index.php?cPath=35_25
This is amazing, thank you SO much for this plugin.
Offline
#278 2009-04-11 08:35:09
Re: yab_shop (simple textpattern shop with paypal support)
Hi nardo,
request: a flag for the ‘terms of use’ checkbox
so that it can be removed (via a config preference) from the checkout form
It’s marked on my list.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#279 2009-04-11 08:49:45
Re: yab_shop (simple textpattern shop with paypal support)
Hi dl33,
Is it possible to create group discounts. So if someone orders 1-19 of something they pay the normal price, but if they order a complete set of 20 they pay a bit less?
No, sorry. Maybe it can be done with property prices, but not exactly as you wish.
You can say a set of 20 will be costs f.i. 18.00€ and a single one 1.00€. So the 20th-set have to be a property with an extra price (like the houses in the demoshop).
Since this might be a bit hard to implement, the alternative would be to only validate discount codes if there is a certain amount of one particular article. How could that be implemented?
Hm, this could be work. But then we need an additional custom_field and the discount could only be a percent discount or we need another custom_field with the absolute discount for this product. Seems a little bit to complicated for that little shop. But I will think about it.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#280 2009-04-11 08:56:25
Re: yab_shop (simple textpattern shop with paypal support)
Hi accarter,
Is there an easy way to modify the product/article output from a vertical list to a tabled list? As in this example: http://shoptotzonly.com/index.php?cPath=35_25
This is not a matter of yab_shop. This can be done with some HTML and CSS.
Your article listing have to be a list (ordered or unordered), where each list point have to be an article (in your case a link with the article image and price). Then you could set the list points with 33% width and a left float in your css. Then the articles will be showed row by row over three cols.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#281 2009-04-14 14:24:29
Re: yab_shop (simple textpattern shop with paypal support)
Hi.
I finished my online shop, you can find it here
http://www.softballinside.com/shop – feel free to comment :-)
A question:
I need to customize the emails that are sent once the client buy choosing a different method than paypal.
I know how to use ZCR, but don’t know how to find the code to do this customization… can you help me?
Thank you very much… it was amazing to work with this plugin :-)
Simone
Italy
Offline
#282 2009-04-14 15:48:28
Re: yab_shop (simple textpattern shop with paypal support)
link gives a 404 error
Offline
#283 2009-04-14 16:17:21
Re: yab_shop (simple textpattern shop with paypal support)
uh? thanks :-)
here’s the shop
i thought in italian, but wrote in english :-)
Last edited by midmood (2009-04-14 16:17:58)
Offline
#284 2009-04-21 17:53:42
- immarabi
- Member
- Registered: 2008-04-29
- Posts: 57
Re: yab_shop (simple textpattern shop with paypal support)
Hello,
I am trying to set up the plugin with paypal integration on a (stupid) shared server with no ssh access. After two long weeks the tech people finally generated the CSR (private key) and now I am waiting for them to upload all the files outside the root directory. My question is: I followed the instructions on the paypal website that you reference in the plugin installation section, but since it requires you to have OpenSSL access, I also used this link on the site
where is says:
Does your shopping cart ask you to upload a certificate from PayPal?
Follow these steps:
1. Log in to your PayPal Business account. 2. Click the My Account tab. 3. Click the Profile tab. If you haven’t already done so, you need to verify your account before requesting API credentials. 4. Click Request API credentials under Account information. 5. Click Set up PayPal API credentials and permissions under Option 1. 6. Click Request API Credentials. 7. Click Agree and Submit. 8. After you receive your API certificate, download it to your computer. 9. Enter the API username and password into your shopping cart’s configuration or administration screen. 10. Complete the process by following your shopping cart’s final steps.In step 6 you can check a box that says “Request API certificate if your shopping cart or solution provider requires a file-based certificate. “ So I did check that and I it gave me a Certificate ID and I downloaded a certificate.
Is this the same things as Generating Your Public Certificate Using OpenSSL? Or do I need to ask the server tech people to generate it for me?
And also, I had to skip number 4 and 5 because I did not know the API account username.
Thank you very, very much
Last edited by immarabi (2009-04-22 17:23:21)
Offline
#285 2009-04-22 14:32:47
Re: yab_shop (simple textpattern shop with paypal support)
Hi midmood,
I need to customize the emails that are sent once the client buy choosing a different method than paypal. I know how to use ZCR, but don’t know how to find the code to do this customization… can you help me?
yab_shop doesn’t use functions of ZCR. The email component is extra coded (or better mainly copied), ‘cause of the paypal/google checkout. These need some required fields, which will be checked from yab_shop.
You could hardcode your changes in the corresponding yab_shop function for the mail output. The function is named yab_shop_build_mail_body() and begins in the source code of v0.6.2 at line 1409.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#286 2009-04-22 14:48:01
Re: yab_shop (simple textpattern shop with paypal support)
Hi immarabi,
you don’t need the API credentials or API certificate. yab_shop don’t use the paypal SOAP API. yab_shop uses a simple POST requests to their … erm … let me say webservice. And you don’t even need a ssh account on your hosting (but for some reasons it’s usefull).
Some months ago I wrote a short todo for the encrypted paypal thingy. So I only quote my stuff here:
Using Payal:
At first you (the shop owner) need a paypal business account. With an
normal user account you can’t do this.Then follow the instructions described here
Relevant Chapters are:
- Setting Up Certificates Before Using Encrypted Website Payments
- Blocking Unprotected and Non-encrypted Website Payments
Summarized you have to do this:
First you need an access to a unix or linux machine with an installed
openssl. Maybe you have an ssh access to your hosting or web account
and this is a unix or linux so you can do this. If you own a windows OS maybe this
windows port of OpenSSL will work
(not tested, I have no machine running windows).1. First create a private key with the following command:
openssl genrsa -out my-private-key.pem 1024
this will produce a 1024bit long RSA key for you, where
my-private-key.pem is the name of the file which will be saved in your
home directory.2. With this key/file you can create your public certificate now:
openssl req -new -key my-private-key.pem -x509 -days 365 -out
my-public-certificate.pemDuring the generating process you will be asked some questions about the
owner of the certificate. The file my-public-certificate.pem will also
be saved in the same place as your private key.3. Then you have to upload your public certificate to your paypal
business account. After this procedure you will get your paypal
certificate id (CERT ID).4. Now you can grab the paypal public certificate (it’s a file, too)
from you paypal account.5. As the last step place the three files (your own generated
my-private-key.pem, my-public-certificate.pem and the paypal
certificate paypal_cert.pem) in your hosting account and configure the
shop in yab_shop_config as described in the plugin help.6. Block unprotected and non-encrypted website payments by logging in
your paypal business account. Go to Tab »Profile« -> »Selling
Preferences« -> »Website Payment Preferences«. There in the »Encrypted
Website Payments section« you should block the non-encrypted webseite
payments.Same information you can find here in the textpattern forum and the
other relevant part in the plugin help.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#287 2009-04-22 19:32:23
- immarabi
- Member
- Registered: 2008-04-29
- Posts: 57
Re: yab_shop (simple textpattern shop with paypal support)
Thank you. I guess my problem was that a generated an API certificate thinking it was the same as the public certificate. And then I thought a CSR was a private key, but it is in fact the public certificate that I am supposed to upload to Paypal. I will try it again once my host uploads the files to my root.
Offline
#288 2009-05-03 12:35:01
Re: yab_shop (simple textpattern shop with paypal support)
New version v0.7.0 with a bunch of changes:
Before you update from a previous version, please read the update and tags part
Changes:
- bugfix: forms are now valid (X)HTML
- bugfix: product properties are correctly escaped now
- bugfix: order of postcode/city in mail does now match the html order
- bugfix: minor typos (but maybe some others are added:/)
- bugfix: name of property custom field can include whitespace and are html-escaped now (class names has been changed)
- new feature: support for RON (Romanian lei)
- new feature: terms of use checkbox is now optional (via config)
- new feature:
<txp:yab_shop_cart />
can be used as container tag now - new feature: new tag:
<txp:yab_shop_cart_items />
- new feature: new tag:
<txp:yab_shop_cart_quantity />
- new feature: new tag:
<txp:yab_shop_cart_subtotal />
- new feature: new tag:
<txp:yab_shop_cart_link />
- new feature: new tag:
<txp:yab_shop_cart_message />
- new feature:
<txp:yab_shop_cart />
works in checkout section too - new feature:
<txp:yab_shop_add />
has full article listing support now
Last edited by trenc (2009-05-03 12:49:47)
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline