Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Offline
#74 2008-03-28 08:32:19
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: yab_shop (simple textpattern shop with paypal support)
I’m having the same problem on 3 different txp installations, any chance you could email me the plugin please: leeaston @ gmail . com
Best wishes
Lee
Offline
Offline
Re: yab_shop (simple textpattern shop with paypal support)
trenc wrote:
Can someone give me a feedback please whether the described problems by lee exits for anybody or not!
I have a suspicion it’ll be the size of the plugin. Some people have problems with “large” plugins; it may be the maximum size of a POST request set by some servers. If you can, offer a gzipped version of the plugin as well. ied_plugin_composer gives you that option, or the newest version of the official zem template.
Last edited by Bloke (2008-03-28 16:56:03)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: yab_shop (simple textpattern shop with paypal support)
Your right, Bloke, that could be the thing, thanks for the hint.
So here is the additionally offered (compressed version). Lee, please, can you test it! Does the compressed version works for you now?
Offline
#78 2008-03-29 11:33:16
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: yab_shop (simple textpattern shop with paypal support)
trenc wrote:
Lee, please, can you test it! Does the compressed version works for you now?
Worked perfectly. thanks both.
Offline
#79 2008-03-29 12:38:17
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: yab_shop (simple textpattern shop with paypal support)
hey trenc, I’m seeing a few problem using your demo shop:
Firefox:
1. Add The Circle to cart
2. Click proceed to checkout
3. On the checkout page I’m getting No Items in Cart
Safari:
1. Add The Circle to cart then add the Pentagon
2. Click proceed to checkout
3. On the checkout page it’s only showing the Circle (the cart only seems to be showing the first item added to the cart)
IE6
Only showing first item in cart
Clicking shop when on the checkout page show an empty cart message on shop page
Best wishes
Lee
Offline
Offline
#81 2008-03-30 11:46:57
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: yab_shop (simple textpattern shop with paypal support)
More like it, I was getting worried :)
Offline
#82 2008-04-09 09:36:18
- jonasgrau
- New Member
- Registered: 2008-03-25
- Posts: 6
Re: yab_shop (simple textpattern shop with paypal support)
Hi again. I’ve done some heavy modifying to this amazing plugin. Without knowing exactly when it happened i run into a problem: every time i press the ADD TO CART button the cart qty increases by 2. If I write 5 in the qty field, it will add 10 items to the cart. So without really knowing what I did, the shop will now double the items added.
I know this is my own fault and understand if noone has a clue about this, but I simply can’t find the cause for this bug. Has anyone had similar problems?
Last edited by jonasgrau (2008-04-09 09:36:58)
Offline
#83 2008-04-09 10:10:00
- jonasgrau
- New Member
- Registered: 2008-03-25
- Posts: 6
Re: yab_shop (simple textpattern shop with paypal support)
OK. I will now answer my own question:
This might be bug in the plugin as I had the same problem after reverting back to the original source.
In my site template i had both <txp:yab_shop_cart output=“cart” /> and <txp:yab_shop_cart output=“message” /> (I wanted to display both the cart and the message). That would double the items added to the cart. If I deleted the “message” then it would work as normal. I believe it should be possible to display both the cart and a message on the same page and that is the reason I believe this is a bug.
Offline
Re: yab_shop (simple textpattern shop with paypal support)
It’s not a bug. That’s because of program design:
The function yab_shop_cart() was originally used for calculating and adding products and of course for showing the cart if something changed. The additional attribute output="something"
for selectable output was a later implementation. For an easy use I’ve decided to summarize it in one function, so you only have to choose your appropriate attribute by using only one txp:tag (<txp:yab_shop_cart output="cart" />
).
So a double call of the function will double calculating/adding procedure. Maybe I can introduce an additional attribute or an additional txp:tag, which you can place everywhere.
Let me think about it a while, how to handle. :)
Offline