Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#409 2010-02-06 19:02:57

freischwimmen
Member
From: Cologne
Registered: 2007-05-28
Posts: 71
Website

Re: yab_shop (simple textpattern shop with paypal support)

Thank you so much trenc! This did the trick, all is working again. Really no need to say you are sorry, i so much appreciate you looking into this. DANKESCHÖN!

Offline

#410 2010-02-07 15:09:41

mjut
Member
Registered: 2009-07-16
Posts: 32
Website

Re: yab_shop (simple textpattern shop with paypal support)

Hej there,

I am having trouble putting the shop to full functionality.
After setting the whole thing up (like it is described at the SET-UP page) I am able to put orders to the cart.
Unfortunately, the orders will disappear when i am reloading the page.
After redoing the process of clicking on the add to cart button, the item shows up twice in the shopping card!
If i clicked “Proceed to Checkout” the order will show up on the check-out-page. but, it will disappear when I am changing the quantity!
All in all, orders will show up or disappear from the cart and from the checkout-page by reloading the pages.

When it actually comes to place an order – the thank-you page won’t show up but adds “#yab-shop-checkout-anchor” to the url….

What am I doing wrong? Where can I look for an error?

I am using:
- Textpattern 4.2.0
- yab_shop 0.8
- PHP 4.4.9

I did do that:
<txp:yab_shop_cart output=“none” />
<txp:yab_shop_checkout />

And:
Send “Last-Modified” header? is “NO”

Thanks!

Stephan

Offline

#411 2010-02-09 20:03:05

inkywillow
Member
From: France
Registered: 2009-12-22
Posts: 37

Re: yab_shop (simple textpattern shop with paypal support)

Hi all,

I am trying to use a custom field (called code) as an individual product code but when I add the field to the yab config page it is then displayed on the product page as a select form element. Is there any way to change this? I just want to display the product code.

Cheers

Tom


The Design Works – Freelance website designer

Offline

#412 2010-02-10 10:24:03

trenc
Plugin Author
From: Malmö
Registered: 2008-02-27
Posts: 572
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Hu Stephan,

After setting the whole thing up (like it is described at the SET-UP page) I am able to put orders to the cart.
Unfortunately, the orders will disappear when i am reloading the page.
After redoing the process of clicking on the add to cart button, the item shows up twice in the shopping card!
If i clicked “Proceed to Checkout” the order will show up on the check-out-page. but, it will disappear when I am changing the quantity!
All in all, orders will show up or disappear from the cart and from the checkout-page by reloading the pages.

hm. Seems to me this is either a problem with the shop setup or with browser caching.
First be sure, you placed the <txp:yab_shop_cart /> once in every page template. Say once in the section(s) that displays the product and once in checkout section.

If this will not work, so I guess it’s an issues related with some caching mechanism. But without deeper investigation it’s only a speculation.

When it actually comes to place an order – the thank-you page won’t show up but adds “#yab-shop-checkout-anchor” to the url….

Do you have filled out the »Checkout thank-you-site (Full URI)« ind Yab_Shop_preferences? If is filled out a redirect will be automatically done.

Offline

#413 2010-02-10 10:29:45

trenc
Plugin Author
From: Malmö
Registered: 2008-02-27
Posts: 572
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Hi Tom,

I am trying to use a custom field (called code) as an individual product code but when I add the field to the yab config page it is then displayed on the product page as a select form element. Is there any way to change this? I just want to display the product code.

I’m afraid this will not work. The custom fields for the products are designed for the real product properties, so these will be shown as select elements. A product code, product ID etc. is not implemeneted this time.

Offline

#414 2010-02-10 13:30:38

mjut
Member
Registered: 2009-07-16
Posts: 32
Website

Re: yab_shop (simple textpattern shop with paypal support)

Hi Trenc,

thanks for replying! I ve been trying and trying witout any progress.
I think it is my clients server. I grabbed the whole site and took it to my server and the shop worked fine, as it should.
The easiest solution wold be to move his site to my host in general…. But I am not sure about the clients thoughts about that.

Cheers.

the two servers:
http://marqspusta.com/6.0/studio/my-morning-jacket-greek-theater-los-angeles-ca-09-21-2008 <—- NOT working shop
http://www.marqspusta.com/6.0/phpinfo.php
http://marq.fuyyz.com/studio/my-morning-jacket-greek-theater-los-angeles-ca-09-21-2008 <—- working shop
http://marq.fuyyz.com/phpinfo.php
(sites under construction… – its the SAME Textpattern/SQL code!!!)

Last edited by mjut (2010-02-10 15:34:40)

Offline

#415 2010-02-11 14:25:18

trenc
Plugin Author
From: Malmö
Registered: 2008-02-27
Posts: 572
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Seems to be an issue with sessions.

Does the error_log of the webserver show something?

What is the result, when you create a test php file on the server with the following content:

<?php
	session_start();
	$_SESSION['var'] = 'value';
	echo $_SESSION['var'];
?>

If there is no result – should be value – what says the error_log?

Offline

#416 2010-02-11 14:36:11

mjut
Member
Registered: 2009-07-16
Posts: 32
Website

Re: yab_shop (simple textpattern shop with paypal support)

Okay,
I put your script on the server: http://www.marqspusta.com/6.0/error.php
Its says “value”.

I am sorry – I have no idea about those things… MANY THANKS for your support!

Offline

#417 2010-02-11 15:31:25

inkywillow
Member
From: France
Registered: 2009-12-22
Posts: 37

Re: yab_shop (simple textpattern shop with paypal support)

Thanks Trenc,

Is it possible then to use the field for a product code but just not display it on the product page?

Tom


The Design Works – Freelance website designer

Offline

#418 2010-02-12 09:54:30

trenc
Plugin Author
From: Malmö
Registered: 2008-02-27
Posts: 572
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Okay,
I put your script on the server: http://www.marqspusta.com/6.0/error.php
Its says “value”.

So sessions are working and the header data looks ok to me, too.

I don’t know why this hosting or the plugin on this hosting aren’t working. :(

Last edited by trenc (2010-02-12 09:54:58)

Offline

#419 2010-02-12 10:04:02

trenc
Plugin Author
From: Malmö
Registered: 2008-02-27
Posts: 572
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Thanks Trenc,

Is it possible then to use the field for a product code but just not display it on the product page?

Yes and no.

  • If you have no other product property than the code you can simple hide the select field with CSS.
  • If you have other product properties you can rearrange the property select elements with some javascript.
  • Use no custom_field and write the product code in the body_text of the product.
  • Or you can use another regular custom_field (not a shop related). But this will not displayed in checkout nor in the order mails.

Last edited by trenc (2010-02-12 10:04:15)

Offline

#420 2010-02-12 10:12:04

mjut
Member
Registered: 2009-07-16
Posts: 32
Website

Re: yab_shop (simple textpattern shop with paypal support)

Hej Trenc,

no big deal – thanks for your help and the great plug-in!!!!
The host is slow a acting weird anyways, I am going to make my client move to my server.

I ll let you know, when the site is running completely – incl. the shop!

Bis bald,
Stephan.

Offline

Board footer

Powered by FluxBB