Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#271 2009-03-24 22:13:41

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: yab_shop (simple textpattern shop with paypal support)

trenc wrote:

The extra line after the total shows that is the endsum. I think two same lines for different sums will break the semantic.

Fair enough.

The lines have the same lengths. Both are 72 characters long, so they will not linebreak on terminals if you read your mails with mutt or pine. The length of each character is depending on your font for displaying the mail content.

Now I get it!

Thanks

Offline

#272 2009-03-25 00:41:56

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: yab_shop (simple textpattern shop with paypal support)

trenc wrote:

If is your custom field the field with the price, so only the price will be displayed. All other product properties you have to set in the config and in the txp preferences for the custom fields (similar to price, it’s explained in the config help).
If all is set, so the property list will be displayed.

trenc – I am having issues with the postage & the ‘size’ custom field for products – I’ll output the various forms/code below – maybe it’ll help troubleshoot

Custom Fields
Custom field 1 name item name (only used for display purposes, not shop)
Custom field 2 name item colour (only used for display purposes, not shop)
Custom field 3 name item sizes
Custom field 4 name – not used
Custom field 5 name price

yab_shop_config
'shipping_costs' => '9.99',
'shipping_via' => 'Post',
'free_shipping' => '20.00',
'currency' => 'AUD',

'custom_field_price_name' => 'price',
'custom_field_price' => 'Custom_5',
'custom_field_property_1_name' => 'item sizes',
'custom_field_property_2_name' => '',
'custom_field_property_3_name' => '',

On the checkout page, I do not see “item sizes” listed. And postage is not being added.

Otherwise, great plugin! PayPal connection working!

I would also like to see – a field for “Country” in the checkout; and options for postage based on location (“Country”).

Best regards, and thank you.

Offline

#273 2009-03-25 09:12:46

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Hi nardo,

On the checkout page, I do not see “item sizes” listed.

I’ve reproduced this behaviour. Seems to be a bug when the custom_field/product property contains a strings with a whitespace in it. Sorry for that. I’ve marked it for the next bugfix release.
Meanwhile you could only name the custom_field size or itemsize as workaround.

And postage is not being added.

If you mean the 'shipping_via' => 'Post' in config, this part is only used by google checkout this time. So if you don’t sell via google checkout, so there is no need to fill out. It will not displayed anywhere.

But will the shipping costs displayed in the checkout page?

I would also like to see – a field for “Country” in the checkout; and options for postage based on location (“Country”).

You could set

'using_checkout_state' => '1'

and name it as country instead of 'State':

'checkout_state' => 'Country'

So you have an extra field in the checkout form.

Location/country dependent shipping costs are not implemented, there are some issues I have to check before.


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#274 2009-03-25 09:19:41

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: yab_shop (simple textpattern shop with paypal support)

If you mean the ‘shipping_via’ => ‘Post’ in config, this part is only used by google checkout this time. So if you don’t sell via google checkout, so there is no need to fill out. It will not displayed anywhere.

But will the shipping costs displayed in the checkout page?

Using PayPal not Google Checkout.

There is no “9.99” displayed on my checkout page as “shipping costs”. But it’s in the config, right?

Offline

#275 2009-03-31 09:16:52

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: yab_shop (simple textpattern shop with paypal support)

request: a flag for the ‘terms of use’ checkbox

so that it can be removed (via a config preference) from the checkout form

thanks

Offline

#276 2009-04-02 20:53:47

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: yab_shop (simple textpattern shop with paypal support)

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?

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?

Offline

#277 2009-04-09 18:20:18

accarter
Member
From: Los Angeles
Registered: 2007-08-31
Posts: 31
Website

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

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

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

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

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

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

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

midmood
Member
From: Rome, Italy
Registered: 2007-07-20
Posts: 68
Website

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

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: yab_shop (simple textpattern shop with paypal support)

link gives a 404 error

Offline

#283 2009-04-14 16:17:21

midmood
Member
From: Rome, Italy
Registered: 2007-07-20
Posts: 68
Website

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

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

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

Board footer

Powered by FluxBB