Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#673 2012-03-23 14:56:30

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Angelic Relic wrote:

I sent an email to you through your site and haven’t heard back.

Oh sorry, I didn’t see it. Site must have been having a bad day. I’ll send you out a copy later when I get back to my machine.

Last edited by Bloke (2012-03-23 14:57:11)


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

#674 2012-04-01 08:12:02

Saldacenkaw
Member
Registered: 2006-12-28
Posts: 30

Re: yab_shop (simple textpattern shop with paypal support)

Hi Trenc! How I can change price and currency? I need new currency (I now how it build), belarussian ruble, and we write 15 000р. Now I see р. 15 000


I know, my english is horrible

Offline

#675 2012-04-01 08:21:31

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Saldacenkaw wrote:

Hi Trenc! How I can change price and currency? I need new currency (I now how it build), belarussian ruble, and we write 15 000р. Now I see р. 15 000

The whole currency thing is something I’ve been meaning to fix actually. I’ll see if I can figure out a way to accommodate this in the next version.

Last edited by Bloke (2012-04-01 08:21:45)


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

#676 2012-04-13 20:15:21

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: yab_shop (simple textpattern shop with paypal support)

Argh!
It took me a few WTF moments to figure out why the checkout page (.i.e. the checkout section where the table is shown) was acting weird, sometimes showing a list of products (when it should be empty), sometimes showing empty when it should be showing a list of products).

It was the “Last-Modified” header thing.
I had set it it to “Yes”, and things worked fine on dev version of website. But there, the site was set to “Testing”, which overrides the “Last-Modified” setting.

So, I wonder if next version of yab_shop (Bloke’s version) could include some trickery to disable the “Last-Modified” header only in the checkout section.
I mean, there is an (speed) advantage on having “Last-Modified” headers set to “Yes”, but then, it doesn’t play nice with yab_shop. Disabling it side-wide is a bit overkilling, just to solve the issue with yab_shop.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#677 2012-05-17 09:43:31

michaelb
Member
From: London, UK
Registered: 2008-04-02
Posts: 21

Re: yab_shop (simple textpattern shop with paypal support)

Hi Stef – I was wondering if I could please get hold of a copy of smd_ipn to use with a small yab_shop I am building? I have also asked via your website contact form (before I knew the name of the plugin), but just thought I’d ask here as well.

Offline

#678 2012-05-17 16:47:28

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 446
Website

Re: yab_shop (simple textpattern shop with paypal support)

Hi Steff, I would be interested in smd_ipn as well. Couldn’t find a download link on your site… ^^


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

#679 2012-05-17 17:00:43

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: yab_shop (simple textpattern shop with paypal support)

Hi Stef, If you wouldn’t mind include me into the cc: as well?


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#680 2012-05-23 18:31:06

luigiclaudio
New Member
From: Costa Rica
Registered: 2012-05-23
Posts: 3

Re: yab_shop (simple textpattern shop with paypal support)

Thanks Trenc! Great plug-in! I’ve implemented yab_shop on this website www.personal-resilience.com and very happy with the results. At the moment the client is using PayPal Website Payments Standard and he is about to upgrade the account to Website Payments Pro.

I was wondering whether this change will affect the flow of the plug-in. Anyone using yab_shop with PayPal Website Payments Pro?

Last edited by luigiclaudio (2012-05-23 18:34:42)

Offline

#681 2012-05-23 19:01:15

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: yab_shop (simple textpattern shop with paypal support)

Just chimed in to say: what a great website, Luigi Claudio!
Impressive use of responsiveness, pushState, & Textpattern, with a very nice design.
Hope you find some time to share some tricks you did there :)
If not, I’ll have to dig thru the website’s front-end code… P


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#682 2012-05-28 21:25:48

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: yab_shop (simple textpattern shop with paypal support)

[SOLVED]Hi

I am trying to use yab_shop using ajax but havent succeeded yet, i found this code from this discussion but it didnt add to cart:

$('.ajout form').submit(function(){
		event.preventDefault();
		var thisForm =  $(this);
		var url = thisForm.attr('action');
		var data = thisForm.serialize()+'&add=1';
		$.post(url, data, showAddedToCart());
		});

I dont know what is showAddedToCart(), i suppose it s a function that update the cart but i havent the code about it!

Hope someone can help!

Cheers

Here is the code that work:

$('.ajout form').submit(function(){
				var thisForm =  $(this);
				var url = thisForm.attr('action');
				var data = thisForm.serialize()+'&add=1';
				$.post(url, data, 
					function( data1 ) {
						var content = $( data1 ).find( '#panier' );
						$( "#panier" ).empty().append( content );
						$("#deta").delay(2000).hide("slow");
					}
				);

Hope that help others

Last edited by Dragondz (2012-05-29 09:05:45)

Offline

#683 2012-06-08 20:08:00

thijs
Member
Registered: 2012-04-17
Posts: 39

Re: yab_shop (simple textpattern shop with paypal support)

I’m trying this out, but i’ve noticed a weird phenomenon… when you add a product, and go to the checkout, change the quantity to zero, then navigate to the product again, the old quantity is there again. Proceed to the checkout again, and the quantity is back.

Has anyone else noticed this, or am I doing something wrong in the implementation?

working example here: http://dev.thijsvissia.nl/articles/99/cows

Last edited by thijs (2012-06-08 20:29:04)

Offline

#684 2012-06-08 21:24:20

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: yab_shop (simple textpattern shop with paypal support)

Try setting “Send Last-Modified header” setting to “No” in Textpattern’s advanced preferences.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB