Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#556 2011-02-25 22:36:04
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: yab_shop (simple textpattern shop with paypal support)
The solution is (for example with ‘netto’):
$sub_total = yab_shop_calculate_sum('netto');
if($sub_total >= 500.00) {
$postage_normal = "49.00";
$postage_courier = "110.00";
} else {
$postage_normal = "18.50";
$postage_courier = "55.00";
}
Offline
#557 2011-03-09 19:47:26
Re: yab_shop (simple textpattern shop with paypal support)
I can’t get it to work :(
I am able to add items to cart, but I have 2 problems:
1. when I’m on checkout page, I can’t remove previously added articles, neither can change quantity. When I click delete article page just refreshes, and nothing changes.
2. I have <txp:yab_shop_add /> in my articles with products, but after adding a product to cart, little cart shows up without <txp:yab_shop_cart />. So if I add <txp:yab_shop_cart /> then I have 2 little carts. This is a problem because I can’t control the first one, meaning I can’t add a headline Your cart like the on the demo site and have a little cart under it.
any help would be much appreciated.
EDIT solved! it looks like the problem was with puting <txp:yab_shop_cart output=“none” /> after <txp:yab_shop_checkout /> on checkout page! When I placed it before, now it works :)
Great plugin :)
Last edited by AndrijaM (2011-03-10 10:05:34)
Offline
#558 2011-03-10 10:04:03
Re: yab_shop (simple textpattern shop with paypal support)
Hi Andrija,
1. when I’m on checkout page, I can’t remove previously added articles, neither can change quantity. When I click delete article page just refreshes, and nothing changes.
Be sure you have placed the <txp:yab_shop_cart /> in the checkout page. If don’t want an output, place it with the output attribute “none”. Eg.: <txp:yab_shop_cart output="none" />.
I have <txp:yab_shop_add /> in my articles with products, but after adding a product to cart, little cart shows up without <txp:yab_shop_cart />.
I think <txp:yab_shop_cart /> is placed somewhere in your markup. This tag is the only one, which can output a little cart and the only one which can perform the »Add to cart« procedure. You could not add a product to the cart without this tag.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#559 2011-03-10 10:10:37
Re: yab_shop (simple textpattern shop with paypal support)
Trenc, thank you, looks like we posted at the same time :)
I just check again, when I have
<txp:yab_shop_cart output=“none” /> <txp:yab_shop_checkout />
in my checkout page, all fine. But like this
<txp:yab_shop_checkout />
<txp:yab_shop_cart output=“none” />
it gives me problem, I have to click delete 2 times, and if I want to add more items, also have to click twice.
Also probably what you said I had <txp:yab_shop_cart /> somewhere in my markup, I tried a lot of thing to get this to work, can’t remember now what I’ve done all.
Thanks a lot!
Offline
#560 2011-03-10 10:33:00
Re: yab_shop (simple textpattern shop with paypal support)
But like this
<txp:yab_shop_checkout />
<txp:yab_shop_cart output=“none” />it gives me problem, I have to click delete 2 times, and if I want to add more items, also have to click twice.
Edit: Yes <txp:yab_shop_cart output=“none” /> must be placed before the <txp:yab_shop_checkout />.
Last edited by trenc (2011-03-10 10:35:41)
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#561 2011-03-17 19:28:24
- rewQ
- New Member
- Registered: 2011-03-04
- Posts: 5
Re: yab_shop (simple textpattern shop with paypal support)
Hi to all! I have two ideas !
1. Choose item and choose : custom_field 1 (price) 100$+ custom_field2 (shipping) 20$ + custom field3 (Accessories ) 7$ —-> chekout —-> …. Subtotal :127 $
2. Example : if quantity => 3 items ——-> subtotal -7% (use promo automatically )
What do you think about it ? Is it probably to realize?
Offline
#562 2011-04-19 19:43:23
Re: yab_shop (simple textpattern shop with paypal support)
Hope someone can help!
Couple of problems:
1. Everytime I put something in the shopping basket and then go to the checkout nothing seems to be there unless I refresh. http://www.booenterprise.com/shop
Can anyone see what I mean?
2. Is there anyway to control quantity of an item. For example if I only have 10 of an item and then they are all sold out it removes it from the site or something?
Many thanks in advance?
Offline
#563 2011-04-25 20:06:50
- rewQ
- New Member
- Registered: 2011-03-04
- Posts: 5
Re: yab_shop (simple textpattern shop with paypal support)
Check your ways http://www.booenterprise.com/checkout and www.booenterprise.com/checkout are different values ..
Offline
#564 2011-04-26 08:31:56
Re: yab_shop (simple textpattern shop with paypal support)
Hi miles,
1. Everytime I put something in the shopping basket and then go to the checkout nothing seems to be there unless I refresh. http://www.booenterprise.com/shop
Can anyone see what I mean?
Disable the the »Send Last-Modified-Header« in the TXP preferences and try it again!
2. Is there anyway to control quantity of an item. For example if I only have 10 of an item and then they are all sold out it removes it from the site or something?
No sorry, a store or warehouse management is not implemented.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#565 2011-04-27 09:34:04
- Dimitri
- Member

- From: Johannesburg
- Registered: 2010-10-31
- Posts: 129
Re: yab_shop (simple textpattern shop with paypal support)
Hi guys, I have very little time to try out whats the best for me.
i have no experience working with gateway payment system but I am confident.
I need to develop a webticket site for events. The clients doesnt want Paypal but with Sage Pay payment gateway.
And i want to use this plugin yab_shop.
Is there any way i can develop with this plugin and proceed to the checkout page with all the values been entered by a customer and pay by “Sage Pay”?
Please let me know if it’s possible.
Thanks, any help much appreciated
My other option is ticketscript but i am leaving this as my last option
<txp:way_too_cool />
Offline
#566 2011-04-30 16:55:28
Re: yab_shop (simple textpattern shop with paypal support)
Hello,
I just installed a plugin version on 4.3.0 (on the way of upgrading soon), but the page returns a Errore tag: <txp:yab_shop_cart> -> Notice: Undefined index: wfcart on line 23 for each product in the page.
Thank you for any suggestion…
Offline
#567 2011-05-02 07:44:14
Re: yab_shop (simple textpattern shop with paypal support)
Hi Dimitri,
Is there any way i can develop with this plugin and proceed to the checkout page with all the values been entered by a customer and pay by “Sage Pay”?
Please let me know if it’s possible.
I think so. It’s all PHP, if you have some knowledge and a Sage Pay API you can develop a connection to the API.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#568 2011-05-02 07:49:11
Re: yab_shop (simple textpattern shop with paypal support)
Hi Mauaus,
I just installed a plugin version on 4.3.0 (on the way of upgrading soon), but the page returns a Errore tag: <txp:yab_shop_cart> -> Notice: Undefined index: wfcart on line 23 for each product in the page.
Do you have installed the yab_shop_3rd_party plugin?
If so, then it ‘seems your webserver have some problems starting a session.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#569 2011-05-02 11:12:09
Re: yab_shop (simple textpattern shop with paypal support)
Oh my, what can I do? I’m using MAMP on mac, latest versions of both…
Thanks!
Offline
#570 2011-05-09 08:36:57
- nj318
- New Member
- Registered: 2009-08-27
- Posts: 3
Re: yab_shop (simple textpattern shop with paypal support)
Hi there,
I also use this great plugin for quite some time now but I wonder if there is a bug with orders using PayPal checkout.
If it is selected, the customer is redirected to the PayPal website where he can confirm his payment. After confirmation the payment is sent. The PayPal confirmation site redirects the user back to our shop-url.
After redirect the user is back in our shops checkout section where it shows just an empty cart.
Then the process stops. No confirmation mail is sent to the customer or us. The payment however is done correctly so we can track the order via PayPal.
Any ideas how we can complete the order process correctly confirmation emails sent to customer an us after the (PayPal) payment process is completed?
Offline