FYI - Permalink Redirect version 0.8.1 also breaks YAK. You will not be able to update quantities or delete items on the checkout page. Also, the buy button will not work when Permalink Redirect is activated.
XDForum does not appear to work with YAK at the moment. I haven’t been able to track down the problem in the YAK code, but am in contact (well… sent an email at least) with the XDForum developer(s).
Hi, I am noticing that on the archive pages (i.e. if I bring up all pages relating to particular model of shoes), the price is missing after the dollar sign. How do I fix?
One more question: on the checkout page, if I empty out cart then click on link “shop” - it sends me to your homepage. How do I fix it so it links to my homepage? Thanks.
Pick any pair of shoes (use “Models” drop down menu to get started), add it to cart, go to checkout page, then look at the bottom left, under the product info table, you will see this word “shop” - it’s a link that links back to your website. How do I either change the link or delete it altogether?
I can’t explain it. From the source of your page, that “shop” link is the alternative text to the basket.gif image — which is no longer used in the YAK code.
Can you email me the content of your cart page, and perhaps the template as well?
I’m afraid I don’t know anything about WordPress MU, and YAK has never been tested with it. I suspect there’s some major difference with the way pages are built or some of the functions — YAK will probably be interrupting that process, but it’ll take investigation to figure out why.
Sorry yes I did. But after I’d already disconnected for the night.
The response from your site seems like a database lock. If you go to the cart page independently of an order, it works fine. If you go via the “Confirm Order” it hangs. It seems like a table lock of some kind, but I’m afraid I don’t know why.
It looks like the page just stops at the order table. Bizarre.
Couple of things to check — have you got any other plugins that might be conflicting (try disabling everything except YAK and see if the problem is still there).
Second thing would be to try to increase the memory limit in case there’s a problem there. At the beginning of the file yak-for-wordpress.php you’ll find something like:
if (yak_return_bytes(ini_get(’memory_limit’)) < 15728640) {
ini_set(”memory_limit”, “15M”);
}
You were right, another plugin caused the problem. It’s the StatTraq plugin (http://www.sieker.info/stattraq/). It won’t be a big deal to find another tracking method.
But I am really happy YAK now works properly. It is great. Thank you very much for your help. As soon as we sold something (hopefully next month) there will be a donation
Henning
PS: This cooperation between two people living on two edges of the world, thousands of miles apart, 10 hours time difference, is really amazing…
You should have a category called “products” and a single sub-category called “default” (unless you have more than one type or style of product). This is detailed in the instructions.
Ok, I started from scratch. Deleted all the additional categories I created.
The first post worked out ok. Just like clockwork! Then the following posts will not include the price or add to cart options.
I place them in the post from the HTML part of the post. Odd that when I go back to edit the post, both of them were removed from the HTML and placed themselves in the “visual” editor.
You don’t create the categories beneath “default”. You should have a “products” category. Beneath that you should have “default” and then any other types. For example:
products
|
|—- default
|
|—- small
|
|—- medium
|
|—- large
Jason will this work on a site that is already set up with categories (as it happens I already have a category called “products” with sub-categories within it - I added one called “default” under products. But even though my posts are tagged with “products”, and “default”, and other related categories, and I have the keys set up (yak_price) and yak_title), nothing shows up under my admin page for Yak > products…….
It should work. Can you check in Yak > Settings that the “Product category name” is actually set to the exact (slug) string you’re using as the products category name.
The subdefault categories won’t work, but a post assigned to ‘default’ should work fine. You haven’t ticked the “products” super category as well have you?
I think I found what is causing the problem but I don’t know how to fix it. In the file “yak_view_products.php” on line 57 there is a php function “foreach ($product->types as $type) {” that may have a problem - when I view the source of that page in my browser (after going to my admin Manage>yak>products) nothing appears after the line right above that (the closing /tr) until the form closes - so the page is missing everything down to the closing php function on line 84. It goes straight from the close /tr to the close /form with nothing in between including the close /table - so it looks like it basically doesn’t keep writing the table, hence nothing displays.
I am using both WP 2.3.3 and have no other plugins at all - I just want to get this working first. Any ideas?
I don’t think there’s anything wrong with the code. More likely it’s a data issue. Can you confirm that the slug of your categories “products” and “default” are exactly the same… ie. “products” and “default”.
Yep, the slugs read exactly like that - “products” and “default” - default is a child category of products, and I also have several other child categories - and the posts are assigned to “products” and “default” and other child categories as appropriate. But when I go to the Manage>yak>Products tab to enter inventory, nothing shows up at all. When I view source, the row (tr) with the class of “hidden” and it’s embedded table, as well as the closing for the parent table ( /table) tag are missing - it goes from the close of the row (tr) before the hidden rows to the close of the form tag, so the table where it would show my products, as well as the table where I would enter the inventory is just not displayed at all……because of these missing closing tags, the WordPress Footer is display over top of the table row header and partially covers the yak tabs (about, settings, orders, products, and reports) although this only happens on the Products tab - the other tabs appear correct even though there is no info (order or reports). That’s why I thought there might be something wrong with the code on the yak_view_products.php file….everything from line 57 down to line 84 seems to be ignored when that file is loaded.
Hi Jason,
I am just updating the views for Yak to look great with WP 2.5.
I managed to sort out XHTML and CSS yesterday and I am working on the behaviour today.
The main job is a bit of JQuery to use sortable tables for products and orders (we updated JQuery tablesorter be able to use your expandable row UI element
I also want to use JQuery tabs to break the options screen and make it easier to use.
Hello!
Is there a fix available regarding: ‘when I go to the Manage>yak>Products tab to enter inventory, nothing shows up at all.’?
Any info or suggestions is most greatly appreciated as I have the same problem.
At the moment, it appears to be a problem with certain versions of MySQL. I’ve been unable to track down exactly why though. Nor have I been able to reproduce the problem. An upgrade to MySQL 5 fixed at least one of the issues.
I found that you need to be sure that you have the products in the sub categories UNDER the products category when posting a product. Try that and see if it works….
TY jr & dee. my ‘default’ category is a child under my ‘products’ catergory. Product shows properly in post. The problem is I am unable to add qty & wt. I go to Manage-Yak-Products and click on the … button, it opens up a set of tables but only shows type, qty, weight and download file headers. There are no boxes below to enter the quantity and weight. Since I am unable to enter any data, the product shows as out of stock. I am using yak-1.0.2a, wp 2.5 and just love the simplicity of Yak and hope to find the problem soon.
MySQL version 5.
I can confirm, as seen on other sites, that this plugin is definately awesome and working so for the few of us that are having problems, I don’t think it’s due to the plugin.
Great job on an excellent plugin!
TY, BebeGirl
Hi Jason, Am working with your excellent plugin again, but this time trying to get it to work with the french — and Les Bleus are being très difficile. I have a .po and a .mo — all valid — and localising for french is fr_FR. Problem is neither ‘yak-fr.po’ or ‘yak-fr_FR.po’ work. I am presuming that its the file name which has to be consistent with the WPLANG variable in the wp-config file. I have localised my install of WP no problems (it is 2.3.3 btw with latest version of YAK). Any immediate thoughts? I’m hoping I missed a config step which links Yak to the .po/.mo file. Thanks, Charles
I had this problem with another language. Can you try setting the WPLANG variable to “fr” and the file as “yak-fr.po”? Might not help, but just to make sure…
BTW I’ve had the inability to add quantities to products on both my last installations and in each case it was a problem to do with the categories I was placing products in, nothing to do with mySQL or PHP or server. It is something to double-check at least. FYI An example of an installation where this happened was scottishlaird.com
Hi Jason, I use the ones you suggested, products and default… By the way, it worked before wp 2.5! Here are some screens from my actual 2.5 installation:
Hey jrbriggs.
I seem to be having a problem with my settings in Wordpress’ admin.
Under Shipping Options, where there is “Shipping by country”, there is an option to select all the countries.
I select all countries and update my options with the button at the bottom.
This doesn’t select every country, which is what I’m trying to achieve. It selects a few countries from the top, until Kyrgyzstan and from there onwards it only selects alternate countries.
I’ve tried to select the countries manually but that didn’t work either.
FYI - Permalink Redirect version 0.8.1 also breaks YAK. You will not be able to update quantities or delete items on the checkout page. Also, the buy button will not work when Permalink Redirect is activated.
Thanks for the plugin.
Thanks anemec. Will add to the forum.
XDForum does not appear to work with YAK at the moment. I haven’t been able to track down the problem in the YAK code, but am in contact (well… sent an email at least) with the XDForum developer(s).
Quick, working fix (proposed by XDF developer) is to comment out a line
if (!$_SESSION) session_start();
from xdf_functions.php (file can be found in includes folder).
However, note that it means also that there is no prevention of double posting in XDF. More information from http://www.xdweb.net/
Hi, I am noticing that on the archive pages (i.e. if I bring up all pages relating to particular model of shoes), the price is missing after the dollar sign. How do I fix?
This is the coding on the archive.php:
Your code sample didn’t come through. Can you try again. Replace the < brackets with < and it should work.
One more question: on the checkout page, if I empty out cart then click on link “shop” - it sends me to your homepage. How do I fix it so it links to my homepage? Thanks.
What link “shop”? You mean the link for your shopping cart page?
Hi, please ignore my first question - it actually wasn’t yak related - I only realized that afterwards.
For 2nd question: please visit my website http://tangospeak.com/shoes/
Pick any pair of shoes (use “Models” drop down menu to get started), add it to cart, go to checkout page, then look at the bottom left, under the product info table, you will see this word “shop” - it’s a link that links back to your website. How do I either change the link or delete it altogether?
I can’t explain it. From the source of your page, that “shop” link is the alternative text to the basket.gif image — which is no longer used in the YAK code.
Can you email me the content of your cart page, and perhaps the template as well?
When I enable the plugin, a whole wordpress MU install goes down and all pages are white or can’t be reached.
After removing the plugin, everything is working again.
What could be the issue ?
I’m afraid I don’t know anything about WordPress MU, and YAK has never been tested with it. I suspect there’s some major difference with the way pages are built or some of the functions — YAK will probably be interrupting that process, but it’ll take investigation to figure out why.
It spews an error in MU because there’s a conflict with user capabilities. pages are the same, it’s the way users are handled that’s different.
I’m also looking into it.
I get all the way to Confirm Order, then when I click it the whole site appears to just freeze up until I close my browser.
Do I need to make any directories writeable for the Confirm Order step?
YAK works from the database, so you shouldn’t need to make directories writable — unless there’s some weird PHP reason which I’m not aware of.
Is this a consistent problem, and can you send me a URL to try it out myself? Send to my email (see the Contact page).
It’s consistent and identical each time, even after I restart the installation from a clean wp database.
I’ve replied via email.
did you get my response? the site is stock except for a couple images changed. I tested it stock on a fresh db too.
Sorry yes I did. But after I’d already disconnected for the night.
The response from your site seems like a database lock. If you go to the cart page independently of an order, it works fine. If you go via the “Confirm Order” it hangs. It seems like a table lock of some kind, but I’m afraid I don’t know why.
What version of MySQL as a matter of interest?
I’m trying to implement yak but it does not work with Wordpress 2.3.3 ?! During checkout it “forgets” the items which where ordered.
When the file yak_view-confirm.php is processed the table is cut of…
Artikel
Preis
Menge
Zwischensumme
Do you have any idea?
Well, this did not get clear I think. In the file it is the lines 90-95 which are the last displayed in the browser:
name ?>
quantity ?>
and that’s it.
Just upgraded my test environment to 2.3.3 and had no problems at all. Do you have a url I can check?
Thank you, the URL is:
http://www.selbstaendig-mit-erfolg.de
It’s in German but you should find your way through it.
It looks like the page just stops at the order table. Bizarre.
Couple of things to check — have you got any other plugins that might be conflicting (try disabling everything except YAK and see if the problem is still there).
Second thing would be to try to increase the memory limit in case there’s a problem there. At the beginning of the file yak-for-wordpress.php you’ll find something like:
if (yak_return_bytes(ini_get(’memory_limit’)) < 15728640) {
ini_set(”memory_limit”, “15M”);
}
Delete those 3 lines and replace with:
ini_set(”memory_limit”, “20M”);
You were right, another plugin caused the problem. It’s the StatTraq plugin (http://www.sieker.info/stattraq/). It won’t be a big deal to find another tracking method.
But I am really happy YAK now works properly. It is great. Thank you very much for your help. As soon as we sold something (hopefully next month) there will be a donation
Henning
PS: This cooperation between two people living on two edges of the world, thousands of miles apart, 10 hours time difference, is really amazing…
Except I’m not on the opposite edge of the world now…
…having moved to the UK in Jan.
Hello,
Im running wordpress 2.3.3 with PHP 4.4 and apache 2.
When I try to install (activate) your plugin, I get a blank page. Then when I go to my main page, its all blank. No errors.
Has anyone ran into this issue?
Could be a memory problem. Do you have access to your web server logs?
I am running Wordpress 2.3.3
I am brand new to Wordpress and having a problem with Yak item quantities.
I am at part three of “Enabling Wordpress for Ecommerce”.
When I click on the three dots to the right of the products list, the expanded view opens, but there are no boxes to place quantities in.
There is not box under quantity, weight, or the download file.
Help please?
Have you selected the “default” product category (step 6 of the installation manual) for your product post?
Yes…,
Manage/Yak/Settings and I selected the default that I have labeled as “E-Commerce”
You should have a category called “products” and a single sub-category called “default” (unless you have more than one type or style of product). This is detailed in the instructions.
Ok, I started from scratch. Deleted all the additional categories I created.
The first post worked out ok. Just like clockwork! Then the following posts will not include the price or add to cart options.
I place them in the post from the HTML part of the post. Odd that when I go back to edit the post, both of them were removed from the HTML and placed themselves in the “visual” editor.
Thanks for helping. I do appreciate it very much.
George I
Don’t use the visual editor to start with. It’s probably causing that problem.
You can see the posts I am talking about under the “gemstone” category.
Ok, got it working.
One of the last things I could use your help with is the Yak settings.
I am in the US.
What exactly should the money format,and currency format settings look like? I can’t make heads or tails of what is there.
Thanks again!
Money format would be: %01.2f
Currency format would be: %2$s%1$s
Everything working ok except when I create any categories under the default category so that I can have more than one type or style of product.
When I do, then I am not able to enter quantities in the “price and add to cart options” box. Like before, it is not there.
Is there a way?
You don’t create the categories beneath “default”. You should have a “products” category. Beneath that you should have “default” and then any other types. For example:
products
|
|—- default
|
|—- small
|
|—- medium
|
|—- large
Jason will this work on a site that is already set up with categories (as it happens I already have a category called “products” with sub-categories within it - I added one called “default” under products. But even though my posts are tagged with “products”, and “default”, and other related categories, and I have the keys set up (yak_price) and yak_title), nothing shows up under my admin page for Yak > products…….
It should work. Can you check in Yak > Settings that the “Product category name” is actually set to the exact (slug) string you’re using as the products category name.
first: congratulations for this great piece of code!!!!
I’m testing YAK in Wordpress 2.5
in the admin section:
Manage/YAK/Products
click on [..] to edit product info,
but no fields appear
how to fix it?
thanks so much,
I double checked and I have the categories set correctly
products
- default
- - subdefault1
- - subdefault2
- default A
- default B
ant the test product belongs to (Products + Default)
any idea on what might be wrong?
thanks
The subdefault categories won’t work, but a post assigned to ‘default’ should work fine. You haven’t ticked the “products” super category as well have you?
I think I found what is causing the problem but I don’t know how to fix it. In the file “yak_view_products.php” on line 57 there is a php function “foreach ($product->types as $type) {” that may have a problem - when I view the source of that page in my browser (after going to my admin Manage>yak>products) nothing appears after the line right above that (the closing /tr) until the form closes - so the page is missing everything down to the closing php function on line 84. It goes straight from the close /tr to the close /form with nothing in between including the close /table - so it looks like it basically doesn’t keep writing the table, hence nothing displays.
I am using both WP 2.3.3 and have no other plugins at all - I just want to get this working first. Any ideas?
I don’t think there’s anything wrong with the code. More likely it’s a data issue. Can you confirm that the slug of your categories “products” and “default” are exactly the same… ie. “products” and “default”.
Hi Jason
Yep, the slugs read exactly like that - “products” and “default” - default is a child category of products, and I also have several other child categories - and the posts are assigned to “products” and “default” and other child categories as appropriate. But when I go to the Manage>yak>Products tab to enter inventory, nothing shows up at all. When I view source, the row (tr) with the class of “hidden” and it’s embedded table, as well as the closing for the parent table ( /table) tag are missing - it goes from the close of the row (tr) before the hidden rows to the close of the form tag, so the table where it would show my products, as well as the table where I would enter the inventory is just not displayed at all……because of these missing closing tags, the WordPress Footer is display over top of the table row header and partially covers the yak tabs (about, settings, orders, products, and reports) although this only happens on the Products tab - the other tabs appear correct even though there is no info (order or reports). That’s why I thought there might be something wrong with the code on the yak_view_products.php file….everything from line 57 down to line 84 seems to be ignored when that file is loaded.
Have to admit, I’m stumped. If you’d like me to take a look, setup a temporary admin account and send me (email) the details.
Hi Jason,
I am just updating the views for Yak to look great with WP 2.5.
I managed to sort out XHTML and CSS yesterday and I am working on the behaviour today.
The main job is a bit of JQuery to use sortable tables for products and orders (we updated JQuery tablesorter be able to use your expandable row UI element
I also want to use JQuery tabs to break the options screen and make it easier to use.
Do you want to have a look on the testing server?
Does this mean that yak works on 2.5?
Well it works for me, and appears to work for others as well — although some have experienced problems.
The new look-and-feel created by Frank is going in the next release.
Hello!
Is there a fix available regarding: ‘when I go to the Manage>yak>Products tab to enter inventory, nothing shows up at all.’?
Any info or suggestions is most greatly appreciated as I have the same problem.
At the moment, it appears to be a problem with certain versions of MySQL. I’ve been unable to track down exactly why though. Nor have I been able to reproduce the problem. An upgrade to MySQL 5 fixed at least one of the issues.
I found that you need to be sure that you have the products in the sub categories UNDER the products category when posting a product. Try that and see if it works….
TY jr & dee. my ‘default’ category is a child under my ‘products’ catergory. Product shows properly in post. The problem is I am unable to add qty & wt. I go to Manage-Yak-Products and click on the … button, it opens up a set of tables but only shows type, qty, weight and download file headers. There are no boxes below to enter the quantity and weight. Since I am unable to enter any data, the product shows as out of stock. I am using yak-1.0.2a, wp 2.5 and just love the simplicity of Yak and hope to find the problem soon.
What version of MySQL are you using?
MySQL version 5.
I can confirm, as seen on other sites, that this plugin is definately awesome and working so for the few of us that are having problems, I don’t think it’s due to the plugin.
Great job on an excellent plugin!
TY, BebeGirl
I’m running Wordpress 2.5 and am also having the problem of not being able to add quanities. MySQL is version 5
Existing install? Or new?
Can someone give me a site where this plugin actually works…I need to see it in action.
I can’t get the buy now button to show on the post but it shows on the products page.
Is it supposed to show on the post?
Same problem here, no possibility to add quantities. MySQL version 5, WP 2.5. Wish I wouldn’t have updated my WP…
Can you give me any more information about your environment? Windows or Unix? What version of php and mysql (exact version of mysql that is).
Hi Jason, Am working with your excellent plugin again, but this time trying to get it to work with the french — and Les Bleus are being très difficile. I have a .po and a .mo — all valid — and localising for french is fr_FR. Problem is neither ‘yak-fr.po’ or ‘yak-fr_FR.po’ work. I am presuming that its the file name which has to be consistent with the WPLANG variable in the wp-config file. I have localised my install of WP no problems (it is 2.3.3 btw with latest version of YAK). Any immediate thoughts? I’m hoping I missed a config step which links Yak to the .po/.mo file. Thanks, Charles
I had this problem with another language. Can you try setting the WPLANG variable to “fr” and the file as “yak-fr.po”? Might not help, but just to make sure…
Yep, did that one too. In fact did every combination I could think of … Any thoughts?
Send me the files and I’ll try on my dev instance, if you like…
Hi jrbriggs,
it’s MySQL-Client-Version: 5.0.32, Server: Localhost via UNIX socket. Need more information?
Not far removed from the version I’m running without any problem. What are the categories you’re using?
The one you’ve suggested, products and default… By the wy, it worked before 2.5! Here are some screens from my actual 2.5 installation:
http://www.jenbachweb.de/yak/yak1.jpg
http://www.jenbachweb.de/yak/yak2.jpg
http://www.jenbachweb.de/yak/yak3.jpg
BTW I’ve had the inability to add quantities to products on both my last installations and in each case it was a problem to do with the categories I was placing products in, nothing to do with mySQL or PHP or server. It is something to double-check at least. FYI An example of an installation where this happened was scottishlaird.com
What was the problem with the categories?
Hi Jason, I use the ones you suggested, products and default… By the way, it worked before wp 2.5! Here are some screens from my actual 2.5 installation:
http://www.jenbachweb.de/yak/yak1.jpg
http://www.jenbachweb.de/yak/yak2.jpg
http://www.jenbachweb.de/yak/yak3.jpg
Replied to your email…
Hey jrbriggs.
I seem to be having a problem with my settings in Wordpress’ admin.
Under Shipping Options, where there is “Shipping by country”, there is an option to select all the countries.
I select all countries and update my options with the button at the bottom.
This doesn’t select every country, which is what I’m trying to achieve. It selects a few countries from the top, until Kyrgyzstan and from there onwards it only selects alternate countries.
I’ve tried to select the countries manually but that didn’t work either.
Other times I try selecting all countries with that single checkbox, it doesn’t even alternate.
It checks the top 1/4 number of countries in the list and the rest are unchecked.
What browser?
Mozilla Firefox 2.0.0.14