Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#496 2010-07-19 14:30:39

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: yab_shop (simple textpattern shop with paypal support)

Hi trenc, great plugin, but I ran into a similar (or the same) problem as in post #463 here:

There is an error message in test-mode which says “site_slogan” is an “unknown column”. This is the same as in #463 where “timezone_key” was unknown.

Maybe this has something to do with the number of custom_fields?
(I mean: the plugin must get the timezone_key and the site_slogan from somewhere. These are existent fields, maybe perhaps the plugin fetches some field from somewhere with an offset dependent on used/existent custom fields).
I have added some over the 10 built in (using glz_customfields).
Maybe this explains why here it is “site_slogan” instead of “timezone_key”?

The error doesn’t appear in individual articles but only when the add-tag is in article-lists.
And: The error is thrown the same number of times as articles with an add-tag are in the list.

Last edited by saccade (2010-07-19 14:33:49)

Offline

#497 2010-07-20 11:40:34

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

saccade wrote:

Hi trenc, great plugin, but I ran into a similar (or the same) problem as in post #463 here:

There is an error message in test-mode which says “site_slogan” is an “unknown column”. This is the same as in #463 where “timezone_key” was unknown.

Maybe this has something to do with the number of custom_fields?
(I mean: the plugin must get the timezone_key and the site_slogan from somewhere. These are existent fields, maybe perhaps the plugin fetches some field from somewhere with an offset dependent on used/existent custom fields).
I have added some over the 10 built in (using glz_customfields).
Maybe this explains why here it is “site_slogan” instead of “timezone_key”?

The error doesn’t appear in individual articles but only when the add-tag is in article-lists.
And: The error is thrown the same number of times as articles with an add-tag are in the list.

Hey saccade i had a similar problem, what you need to do is insure that under the admin tab- preferences, that a suitable time zone is selected from the drop down menu. and in the box above you have a site slogan entered. i hope this helps.

Offline

#498 2010-07-20 11:47:19

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: yab_shop (simple textpattern shop with paypal support)

Hi Nathanael,

thanks for this help.

Indeed “Slogan” has been empty, timezone was set. So I filled Slogan.
Funny though: Now the message says:

Fehler im Tag: <txp:yab_shop_add /> -> Textpattern Warning: Unknown column ‘spam_blacklists’ in ‘field list’
select custom_15 as property_1, spam_blacklists as property_2, spam_blacklists as property_3 from neu_textpattern as textpattern where ID = 3 on line 85
Fehler im Tag: <txp:yab_shop_add /> -> Textpattern Warning: Unknown column ‘spam_blacklists’ in ‘field list’
select custom_15 as property_1, spam_blacklists as property_2, spam_blacklists as property_3 from neu_textpattern as textpattern where ID = 4 on line 85

Last edited by saccade (2010-07-20 11:47:43)

Offline

#499 2010-07-21 20:50:46

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

ive never had that error before.

have a look at your custom fields and make sure that you havn’t got anything called spam blacklists in them. make sure you check in yab shop preferences, yab shop L10n and in admin, preferences, advanced.

then make sure that in admin, preferences, advanced, “Spam blacklists (comma-separated)” has this in it- sbl.spamhaus.org

im really not too sure but just check to see if that works.

Offline

#500 2010-07-21 20:54:31

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

hi trenc,

i was wondering is there anyway to have an image change a custom field? for example if one of my custom property fields is color instead of using a drop down box to select the color the client can click an image which would change the color??

Offline

#501 2010-07-22 08:55:42

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 Michael,

There is an error message in test-mode which says “site_slogan” is an “unknown column”. This is the same as in #463 where “timezone_key” was unknown.

Maybe this has something to do with the number of custom_fields?
(I mean: the plugin must get the timezone_key and the site_slogan from somewhere. These are existent fields, maybe perhaps the plugin fetches some field from somewhere with an offset dependent on used/existent custom fields).
I have added some over the 10 built in (using glz_customfields).
Maybe this explains why here it is “site_slogan” instead of “timezone_key”?

The error doesn’t appear in individual articles but only when the add-tag is in article-lists.
And: The error is thrown the same number of times as articles with an add-tag are in the list.

I had some testings on my own hostings, but I can’t reproduce this errors. But thanks for the tip with the article list. This gives me a clue where to begin an deeper investigation.
I also dally with the idea of a complete code rewrite to a more atomic and isolated oo code. Meanwhile the increased code looks very ugly and it’s hard to maintain. After a month of not looking into the code seems to be written from another person. :/


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

Offline

#502 2010-07-22 09:00:00

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 Nathanael,

i was wondering is there anyway to have an image change a custom field? for example if one of my custom property fields is color instead of using a drop down box to select the color the client can click an image which would change the color??

The shop can’t do this. But i can imagine this could work with some jQuery voodoo.


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

Offline

#503 2010-07-22 20:45:08

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

cheers trence, think i might have to do that voodoo or at least try.

Offline

#504 2010-07-22 20:51:34

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

i know this is probably not the place to ask this but, how do i put an swf file up on my site? Like so when someone opens the page the file loads and plays the content?

Offline

#505 2010-07-23 07:30:49

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 Nathanael,

i know this is probably not the place to ask this but, how do i put an swf file up on my site? Like so when someone opens the page the file loads and plays the content?

Is it a SWF file? So have a look here: w3schools
Is it a FLV file? Look here: Flowplayer


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

Offline

#506 2010-07-23 15:09:02

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

thanks trenc, i was lost for a bit there.

cheers

Offline

#507 2010-07-27 08:04:25

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: yab_shop (simple textpattern shop with paypal support)

Hello Tommy/trenc !

I try to setup a shop here : aoa.lu/editions

1/ problem with shipping cost :

I set shipping in the admin to 15 EUR.
I set shipping for each product at 5 EUR.
I set a drop down list with multiple prices in a custom field.

Problem :

If i put a product in a cart, I get a (15 + 5) shipping cost : OK.
If I add x time the same product, I get the same 20 EUR value (I want 15 + 5 x thenumber of product).
If I choice an other price in the drop down list, I get an other item in the cart, and shipping cost are now 15 + 5 + 5 : OK !

Bug ? I want shipping cost added for each product added in the cart, not only for each different item.

2/ The cart as container tag

I use the code in the help.

Just below the items, I get a line I don’t want (Sous-total: €xxx,xxPasser à la caisse) : I don’t see how get rid of this.
The other lines are displayed as I want :

<txp:yab_shop_cart>
  <txp:yab_shop_cart_items />
  <txp:yab_shop_cart_quantity output="all" break="" label="Produits : " wraptag="div" class="aaa"/>
  <txp:yab_shop_cart_subtotal break="" label="Total : " wraptag="div" class="bbb"/>
  <txp:yab_shop_cart_link break="" wraptag="div" label="Procéder à l'achat" class="ccc"/>
  <txp:yab_shop_cart_message wraptag="div" add="Un produit a été ajouté"  edit="Le panier  a été modifié"  del="Un produit a été supprimé"   />
</txp:yab_shop_cart>

Offline

#508 2010-07-27 10:23:01

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 jpdupont,

If i put a product in a cart, I get a (15 + 5) shipping cost : OK.
If I add x time the same product, I get the same 20 EUR value (I want 15 + 5 x thenumber of product).
If I choice an other price in the drop down list, I get an other item in the cart, and shipping cost are now 15 + 5 + 5 : OK !

Bug ? I want shipping cost added for each product added in the cart, not only for each different item.

Oh, yes, this is a not yet implemented feature. The special shipping costs for a product is ignoring the amount of the product. It does work only for products and not for amounts of products.

Just below the items, I get a line I don’t want (Sous-total: €xxx,xxPasser à la caisse) : I don’t see how get rid of this.
The other lines are displayed as I want :

Ok, this is really a bug. The tag <txp:yab_shop_cart_items /> will additionally produce this fields by default. It’s hardcoded this time. As a workaround you can hide this with a bit of css:

span.yab-subtotal,
a.yab-to-checkout {
        display: none
}

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

Offline

#509 2010-08-04 05:23:31

Bijay
Member
Registered: 2010-07-02
Posts: 17

Re: yab_shop (simple textpattern shop with paypal support)

Hi mate…… Is there any way to increase the width of the “Item Property 1 (custom field)”………… I couldn’t able to increase the width of the “Item Property 1 (custom field)” i.e Dropdown menu………

Waiting for your reply
Thanx…
Cheer’s

—-> I had solved it ….

Last edited by Bijay (2010-08-04 06:49:24)

Offline

#510 2010-08-20 14:03:43

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 79
Website

Re: yab_shop (simple textpattern shop with paypal support)

Hi there,

I’ve installed the plugin yab_shop and it’s working really nice! Our website “sells courses”. Therefor we need some extra fields in the checkout screen. I already found the state field which I gave a different name. Date of birth is one of the new fields I need and I also need a radio button list.

Is there any way to add some extra fields to this screen?

We’re not using the Google checkout or Paypal stuff. We collect the amount of the purchase by bank after the order is made. So the only thing we need is some extra fields in the screen and in the email confirmations.

Kind regards!

Last edited by keukenkikker (2010-08-20 14:07:45)

Offline

Board footer

Powered by FluxBB