Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#241 2009-02-20 18:00:46
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: yab_shop (simple textpattern shop with paypal support)
trenc wrote:
MLP compatibilty is not only a matter of creating links. It’s a matter of renditions id too. So I ought to change the sql-queries. But because MLP works only with txp 4.0.7 with some exceptions and not with 4.0.8 and meanwhile the plugin becomes an orphan, ‘cause steve is leaving to Borneo (sniff :( ) I can’t put efforts for MLP compatiblity. I will work on admin interface instead, which was originally planed. Sorry! :/
Hi trenc, that’s completely understandable! I hope you will reconsider taking this up if/when MLP will be kept up to date again (Graeme has posted a fix for 4.0.8, and though this is still no guarantee for the future, there is hope :) ).
Offline
#242 2009-02-20 19:10:21
Re: yab_shop (simple textpattern shop with paypal support)
Els wrote:
I hope you will reconsider taking this up if/when MLP will be kept up to date again (Graeme has posted a fix for 4.0.8, and though this is still no guarantee for the future, there is hope :) ).
Of course, I will! MLP is a great plugin and I hope it will find a new maintainer.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#243 2009-03-04 10:52:24
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: yab_shop (simple textpattern shop with paypal support)
Hi trenc,
Great plugin, well done. I’m testing it on my latest client site.
I wonder if I might cast my vote for:
- being able to update the configuration options in an Extensions tab rather than editing the plugin code
- the ability to display the number of items in the cart (
output="items"
?) - the ability to display the cart subtotal without getting a link to the checkout as well (
output="subtotal"
?)
I’ve spotted one issue though which I can’t find mentioned in the forum. I have <txp:yab_shop_cart output="cart" />
at the top of every page. When items are added to the cart, the output from this tag is updated correctly. However on the checkout page, if items are removed or their quantities updated, the cart output doesn’t reflect this – I have to refresh the page to get the change. Any thoughts?
Thanks,
Adi
Offline
#244 2009-03-04 12:23:28
- ricoschette
- Member
- From: Estonia
- Registered: 2005-09-17
- Posts: 176
Re: yab_shop (simple textpattern shop with paypal support)
Great plugin!
I’ve just finished Varavalve website
I have one question though. I’d like to display on the homepage just a number of products in cart.
Right now when you put smth in the cart, it will display the list with all the details and sum.
But it’s not necessary for homepage.
I only need it to be like this: “You have n product(s) in cart”
How and where could I do that in config file?
Thanks a lot!
TXP rocks :)
Last edited by ricoschette (2009-03-04 12:24:00)
Offline
#245 2009-03-04 12:34:34
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: yab_shop (simple textpattern shop with paypal support)
ricoschette wrote:
I’d like to display on the homepage just a number of products in cart.
I don’t think it’s a configurable option at the moment but have a look at editing the plugin code.
Offline
#246 2009-03-05 11:59:13
Re: yab_shop (simple textpattern shop with paypal support)
Hi adi,
gomedia wrote:
being able to update the configuration options in an Extensions tab rather than editing the plugin code
I’m playing with this idea too since the config is growing with every update. I think I will this implement with a version that comes with an admin order interface, ‘cause it will need an additional db-table anyway.
the ability to display the number of items in the cart (
output="items"
?)
Ok, meanwhile some user ask for this, I have it marked on my list for a next version.
the ability to display the cart subtotal without getting a link to the checkout as well (
output="subtotal"
?)
Marked too.
I’ve spotted one issue though which I can’t find mentioned in the forum. I have
<txp:yab_shop_cart output="cart" />
at the top of every page. When items are added to the cart, the output from this tag is updated correctly. However on the checkout page, if items are removed or their quantities updated, the cart output doesn’t reflect this – I have to refresh the page to get the change. Any thoughts?
This causes in the session management, I think. Probably <txp:yab_shop_cart output="cart" />
is reading the session before changes from <txp:yab_shop_checkout />
will be made.
Do you need the <txp:yab_shop_cart output="cart" />
at the checkout page?
ricoschette wrote
I only need it to be like this: “You have n product(s) in cart”
As adi said, it’s not an option this time, but I’ve it marked on my todo list.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#247 2009-03-05 12:43:40
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: yab_shop (simple textpattern shop with paypal support)
trenc, thanks for the reply.
trenc wrote:
Do you need the <txp:yab_shop_cart output=“cart” /> at the checkout page?
It’s probably a bit superfluous considering the checkout page has all the same information. Although, in the future if yab_shop_cart outputs the number of items, then this information won’t be available at the checkout. Just wanted to do the honourable thing and keep pages consistent – just like having the menu in the same place all the time.
On a different note, there’re a couple of things giving me grief in the checkout:
- any reason Postcode comes before City?
- the markup for all the input fields is
<p><label>FIELD</label><input></p>
which is great, but the markup for Postcode & City fields is<p><label>Postcode</label><input><label>Suburb</label><input></p>
– it’s making styling very awkward
And a couple of suggestions:
- set a unique id on the “yab-shop-required-notice” message to be used as an anchor, so that if there’re missing/invalid fields the user can be returned to the relevent part of the checkout page (i.e. so that the “There are fields missing/email invalid” message is positioned at the top of the browser window.)
- a
<div>
around both the<p class="yab_shop_required_notice">
&<ul class="yab-shop-notice">
elements would aid styling (for instance, I’d like to draw a red border around these two elements but at the moment there’s nothing to hook the styling onto.)
Regards,
Adi
Offline
#248 2009-03-12 23:07:09
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: yab_shop (simple textpattern shop with paypal support)
just installed and started using this plugin
great work trenc!
for this application, need one shipping price for people in Australia, another for international orders (both flat rate)
can you suggest how to achieve this?
Offline
#249 2009-03-13 09:16:51
Re: yab_shop (simple textpattern shop with paypal support)
Hi Adi,
any reason Postcode comes before City?
No real reason. I’ve done this, ‘cause it’s something like a standard here in germany (on envelopes), but I did not think about it.
set a unique id on the “yab-shop-required-notice” message to be used as an anchor, so that if there’re missing/invalid fields the user can be returned to the relevent part of the checkout page (i.e. so that the “There are fields missing/email invalid” message is positioned at the top of the browser window.)
Ok, it’s marked.
a <div> around both the <p class=“yab_shop_required_notice”> & <ul class=“yab-shop-notice”> elements would aid styling (for instance, I’d like to draw a red border around these two elements but at the moment there’s nothing to hook the styling onto.)
What about
p.yab_shop_required_notice,
ul.yab-shop-notice {
padding: 1em;
border: 1px solid red
}
Would be easier with an wrapped div, of course. So it’s marked on list.
Last edited by trenc (2009-03-13 09:18:31)
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#250 2009-03-13 09:23:14
Re: yab_shop (simple textpattern shop with paypal support)
Hi nardo,
for this application, need one shipping price for people in Australia, another for international orders (both flat rate)
can you suggest how to achieve this?
Different shipping costs (destination related) are not implemented.
You only can write it manually somewhere in the page (f.i. in terms of use).
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
#251 2009-03-13 11:12:04
Re: yab_shop (simple textpattern shop with paypal support)
trenc wrote:
Hi nardo,
for this application, need one shipping price for people in Australia, another for international orders (both flat rate)
can you suggest how to achieve this?
Different shipping costs (destination related) are not implemented.
You only can write it manually somewhere in the page (f.i. in terms of use).
Regarding this, would it be possible to add 2 variable such as “$sphipping1” and “$shipping2” in the yab_shop configuration file, then a flag in the checkout such us (for example) “more than 30km or shipping abroad?”. By flagging it you let the sistem add the second price.
I’m not a programmer, really, does this idea make any sense? :-)))
Offline
#252 2009-03-14 10:48:55
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: yab_shop (simple textpattern shop with paypal support)
vague plan is to use javascript in the checkout section to dynamically replace a price based on the customer’s country … but not sure if that will work
another question – in the demo shop, you show on the checkout form ‘size’ ‘color’ and ‘variant’ for each product in the cart – I have one custom field, but it’s not showing in the checkout form … should it appear by default?
Offline