Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#265 2009-03-21 08:55:52
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: yab_shop (simple textpattern shop with paypal support)
the demo store shows – on the checkout page – the size, color & variant of each product in the cart
I would like to display the size of my items in the checkout list, but nothing is appearing when using the tag txp:yab_shop_checkout
that particular custom field seems to be working okay, it’s listed on each individual product page (i.e. I select size and quantity in the form)
am using yab_shop 0.6.1
Last edited by nardo (2009-03-21 08:56:23)
Offline
#266 2009-03-22 12:13:54
Re: yab_shop (simple textpattern shop with paypal support)
Hi nardo,
does really nothing is appearing in the checkout page or only the property list (size, color, variant) of the products?
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#267 2009-03-22 15:53:41
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: yab_shop (simple textpattern shop with paypal support)
trenc, everything appears – looks great – but no property list
Offline
#268 2009-03-23 22:08:49
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: yab_shop (simple textpattern shop with paypal support)
Hi trenc,
Hope you don’t mind but here’re some more items you might like to add to your non-urgent “to do” list:
- Escape output: for example a colour “Black & White” is output in the select list without the “&” being escaped (
&
) - default message for
affirmation_mail_pre_products
is ‘You has ordered the following:’ – it should be ‘You have ordered the following:’ - In the email sent to the customer, perhaps some tidying up?
- postcode/city doesn’t match the checkout order (now that you’ve separated the two)
- remove the “———————————-” line after the Total?
- make the “=============” lines the same length as the “———————————-” lines (would make the email printout much neater)
Cheers,
Adi
P.S. Did you get that email I sent you?
Offline
#269 2009-03-24 17:54:11
Re: yab_shop (simple textpattern shop with paypal support)
Hi nardo,
I’ve read your first message:
I have one custom field, but it’s not showing in the checkout form … should it appear by default?
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.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#270 2009-03-24 19:01:33
Re: yab_shop (simple textpattern shop with paypal support)
gomedia wrote:
- Escape output: for example a colour “Black & White” is output in the select list without the “&” being escaped (
&
)- default message for
affirmation_mail_pre_products
is ‘You has ordered the following:’ – it should be ‘You have ordered the following:’- In the email sent to the customer, perhaps some tidying up?
- postcode/city doesn’t match the checkout order (now that you’ve separated the two)
- remove the “———————————-” line after the Total?
- make the “=============” lines the same length as the “———————————-” lines (would make the email printout much neater)
Thanks for the feedback. It’s marked on list, except:
The extra line after the total shows that is the endsum. I think two same lines for different sums will break the semantic.
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. I prefer/recommend a monospaced font (so you are able to read funny ascii art mails :P).
P.S. Did you get that email I sent you?
Yes and I’ve answered you today. :)
trenc
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#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
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
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