If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
February 22, 2013 at 9:34 pm #20625
Any thoughts as to why this happens when I search for a product tag? Notice the breadcrumbs, for some reason it defaults to the blog when searching
Shop->Blog(set to private)->Tag
When I imported the Catalog file I created the column “attribute:pa_brand” with the Brand Names which have defaulted to Tags however they are not linking up properly.
I pasted some of the source code (I replaced the actual domain with “mysite” for confidentiality purposes) but it’ll give you an idea of what is happening.
<div class='sidebar sidebar_left three alpha units'>
<div class='inner_sidebar extralight-border'>
<div id="nav_menu-11" class="widget widget_nav_menu">
<h3 class="widgettitle"><span class='widget_first'>Brands</span></h3>
<ul id="menu-brands" class="menu">
<li id="menu-item-19897" class="menu-item menu-item-type-taxonomy menu-item-object-product_tag menu-item-19897"><a href="http://mysite.com/?product_tag=apexcarex-healthcare">APEX/CAREX HEALTHCARE</a>
<li id="menu-item-19898" class="menu-item menu-item-type-taxonomy menu-item-object-product_tag menu-item-19898"><a href="http://mysite.com/?product_tag=aplicare">APLICARE</a>
<li id="menu-item-19899" class="menu-item menu-item-type-taxonomy menu-item-object-product_tag menu-item-19899"><a href="http://mysite.com/?product_tag=applied-medical-tech">APPLIED MEDICAL TECH</a>
<li id="menu-item-19900" class="menu-item menu-item-type-taxonomy menu-item-object-product_tag menu-item-19900"><a href="http://mysite.com/?product_tag=applied-nutrician-corp">APPLIED NUTRICIAN CORP</a>
<li id="menu-item-19901" class="menu-item menu-item-type-taxonomy menu-item-object-product_tag menu-item-19901"><a href="http://mysite.com/?product_tag=argentus-bioscience-llc">ARGENTUS BIOSCIENCE LLC</a>
<li id="menu-item-19902" class="menu-item menu-item-type-taxonomy menu-item-object-product_tag menu-item-19902"><a href="http://mysite.com/?product_tag=arkray-usa-hypoguard">ARKRAY USA (HYPOGUARD)</a>
<li id="menu-item-19903" class="menu-item menu-item-type-taxonomy menu-item-object-product_tag menu-item-19903"><a href="http://mysite.com/?product_tag=aso-corporation">ASO CORPORATION</a>
<li id="menu-item-19904" class="menu-item menu-item-type-taxonomy menu-item-object-product_tag menu-item-19904"><a href="http://mysite.com/?product_tag=astra-tech-inc">ASTRA-TECH INC</a>February 24, 2013 at 3:38 pm #108370
There could have been an issue giving the products an attribute that was undefined. I’m not familiar with importing products with woocommerce, but if you can provide a link to the site we can take a look.
Raw source code doesn’t do very much without context.
DevinFebruary 28, 2013 at 4:56 pm #108371
I have a feeling this may have been a result of switching themes from propulsion to replete while the products were already imported. I will let you know if I continue to have issues after I attempt to “merge” my catalog file using the woocommerce product import suite.
One question I do have that I don’t know if you can answer is regarding the the way I map a field like “Brands” or “Manufacturers” during the import phase so I can create a widget with a drop down menu using this field.
My first import as I mentioned above was while I had propulsion as the theme and because I have thousands of products I chose to change the theme to replete. I set the field to attribute:Brand Names but I’m not certain if I should use something other than attribute for a field I want to create a drop down widget/searchable field for?
Thanks :)February 28, 2013 at 6:20 pm #108372
I don’t really know actually. Typically “attributes” with woocommerce are for product attributes like size, color etc. I’ve not worked with importing csv files so I don’t know if they use different terminology or anything like that.
You may want to check the woocommerce docs, they were just updated a few days ago and seem to be much better. A few bugs in finding what you are looking for right now but lots of better written information is available.
DevinFebruary 28, 2013 at 7:28 pm #108373
I have read through their documentation several times including today. They are pretty vague unfortunately.
I’ll have to do some more digging and testingMarch 1, 2013 at 7:58 pm #108374
Create a local install on your home computer (use free http://serverpress.com/downloads/ on windows) and start with a fresh site and test out replete fresh.
NickMarch 2, 2013 at 12:49 am #108375
Seriously that was the best idea I’ve heard to date!!! I wish I had known about this months ago and could have saved myself an enormous amount of wasted time, frustration and stress!
This is the first time, yes you read correctly, the first time I’ve actually been able to watch the Woocommerce Product Import Suite list all the products it’s adding….AND I don’t have to hit refresh every 5 seconds to load 5 products at a time…OMG
I have installed only the Replete theme, woocommerce and Wocommerce Prodyc import suite and so far the products are being imported as they should be…
Now here’s the most important question I have for you……drum roll
Seeing how I’ve already designed, customized, added additional custom pages etc etc on my actual site that is driving me bonkers but I don’t want to lose the work I’ve already spent a lot of time on…
Is there anyway to save the work I’ve done and import it into a fresh install?? (Fingers and toes are crossed :/ )
Thank you so much for this incredibly useful tool suggestion!March 2, 2013 at 4:28 am #108376
Better late then never. Developing on a live server only results in frustration and problems. Your workflow should be to create the initial release locally and when everything is tested, it gets moved to stager (your home computer is development), stager is on the same host as live site but a subdomain, stager.your-domain.com and here you make sure that everything works on a live linux server (which is not always the case) and only then does site goes live because you know 99% there won’t be any issues.
lol, who is your host, the hunchback of notra dame? i host with rackspace.com and there other hosts – cheaper and fast.
moving from live to dev – the road of tears
there are lots of ways to do that. Only thing you have to get is the database since everything else can be just downloaded with ftp. You get a database dump of all the tables,
then … (the path of tears begins) … you must download and install the real mysql server software suite on your local computer (its free) and then once its configuration is correct, you import the sql dump. That’s what I do at least. The sql server enterprise suite is a bit intimidating once you see the thousands of poorly labeled buttons, switches and and the good news is.. no good news it gets worse, no instructions, and its nasty habit of self destructing when it becomes unhappy (which is often) will depress a lottery winner. Takes years to get even a basic certification if you are a published theoretical physics major. Evil stuff.
forget it, instead…
Come to think of it, you can use this free plugin instead WP MIGRATE DB and skip the part of sql server database mastery.
Just remember that you will have to change the URL of your live site to local site, and the plugin will help you do that, but its a critical step. Also be careful with your live data, maybe back it up first so that if you screw up you can revert back and try again. Usually people screw up their first import unless they carefully follow directions of the plugin
Then use ftp to download all your files.
NickMarch 2, 2013 at 5:20 am #108377
Nick I can’t thank you enough for this info!
Godaddy is my hosting provider and I absolutely hate them. I have a few websites hosted on godaddy, some of which I’ve had no issues with and others, specifically this project/domain has been an utter nightmare. Their services seem to get worse by the day and when I submit a ticket I get the ‘Basic computer illiterate” response which infuriates me. I’ve managed my own hosting servers Linux/unix and windows servers in the past and know my way around them. Not having the ability to directly access the hosting server is the worst and even more so when the people who are the “Tech Support” for them haven’t a clue what they are talking about.
My challenge with this project has been that there are a variety of factors that can and likely have attributed to the increased lacking performance of their hosting services. Trying to determine if the issues I encounter are due to the hosting server, incompatible plugins, extremely large file imports, so on so forth has been a nightmare.
I am a backup junkie to say the least…I create my db backups before making any changes that could result in a catastrophe.
At the moment I am trying to determine the best approach to “the road to tears” lol
Here are my thoughts:
1) Due to the issues I’ve encountered since switching themes and not doing a fresh install of Replete on my live server it’s apparent that one way or another I’m going to have to strip the current files off the love server so I can do a fresh install of Replete…sigh…
2) I am going to have to import the catalog data files on the dev site and/or the live site anyhow because of the issues I encountered with not only the theme switching but also due to the constant problems I encountered while attempting to import 13000 rows of product data and giving up after only 50% of the data was imported because of the amount of unnecessary time being wasted having to hit the refresh button every 20 seconds to get the products to import in a painfully time consuming manor.
3) I will just redo the WPML translations I started as I had to disable the string translator because it was literally bogging down my server like nothing I’ve ever seen before, or wish to see again in this lifetime :) I don’t mind having to redo the translations as I didn’t get far with it anyhow.
4) My main concern is losing the custom pages, design, and other customizations made to several other areas of the theme including multiple menus etc….and I was going to say all the several thousands of graphics and their properly generated variation of “thumbnails” but then I realized I could simply copy them to my local backup drive as well as copy them to a new directory under uploads->2013->3 seeing how they will need to be in that directory when importing the data so they are available when the script calls for them.
You have been of tremendous help with this! I can’t even tell you how insane all these tedious issues were driving me…March 2, 2013 at 6:52 pm #108378
I am too familiar with GoDaddy. They have excellent hosting facilities if you pay for their top package, I seen it myself and its lightning quick (hard to believe but true). Anything less than that and you get bottom of barrel in my personal opinion. As I said, if you are hosting multiple sites for clients , consider using a proper vps thats scalable (meaning that you can add 20 processors or 40 gigs of ram instantly , use them for 1 day and scale back and only pay/per/hour what you use without the need to talk to anyone) + have root access.
Re-read what I wrote above after path of tears. Use this plugin WP MIGRATE DB and it will spit out the entire dump for the database, which contains all customization and everything else. so if your live domain is xyz.com and your local is abc.dev you will just need to make that change in the dump (there is an option in the plugin to do that correctly. Then on your local server you import it using the same plugin. All you need to do then is connect via ftp to your live site and download your customized theme folder and put it locally. And you got a perfect clone of your live site.
Instead of having to hit refresh button every x number of seconds why not do it programmatically and add a meta refresh to your html next to the other meta fields
<meta http-equiv="refresh" content="5">
Content 5 means 5 seconds. So it will refresh itself every 5 seconds or however long you tell it to wait.
WPML is tricky but a solid plugin as is WooCommerce and offers functionality that before you had to pay for custom work through your nose to have. That is always an alternate.
My suggestion is to always backup so that as soon as something is done to make things slow, you can revert back and try an alternate approach.
NickMarch 2, 2013 at 9:23 pm #108379
I was just looking at the rackspace services.
I’ve been considering purchasing my own hosting server but have not had time to make my decision as of yet.
In regard to your suggestion for the automated refresh meta tag, after setting up the dev site and importing a smaller product data file with about 1600 rows without the need to hit the refresh button at all (first time I’ve had that luxury) , which is how it should work, my original theory is confirmed in that the $99 purchased plugin should be able to import my product data files without crashing every 5 seconds.
I’ve already downloaded, installed and activated the WP MIGRATE DB plugin and of course….as with all things I try to do that should add simplicity to modifying my live site, I get the same error I get when I try importing my data and end up wanting to rip my hair out.
I even disabled all but a few necessary plugins to see if that would help and BRICK WALL again.
So, in a nutshell, it’s evident to me that I will continue to go in loops, regress and likely end up bald if I continue to try and do anything with my messed up install on my live server. I should have done a fresh install from the getgo instead of installing Replete while I had Propulsion and Abundance installed. Really stupid of me. But at least I know there’s hope in a fresh install and rather than driving myself mad and going nowhere, I now have a better understanding of a whole lot of different aspects of this project from the framework to the plugins, the way things should be working and how to karate kick brick walls in WordPress blech…
However, before I go and rip out my WordPress installation and start fresh, any final suggestions? I’ll keep working on the dev site seeing how I’ve made more progress in 24 hours on the dev site than I did in the last couple months with my live site (insert ominous music here)…
Meanwhile, perhaps we can keep this thread open if by some really horrible chance I run into another brick wall on my way to OZ?
Oh, and I’ve officially designated you as my go to guy :)March 4, 2013 at 12:56 pm #108380
Just on the hosting cost, 8.99 is still pretty dirt cheap.
I use a DV server at Media Template as just about anything else for multiple clients was too slow in my experience. Then everyone gets their own cpanel (or not) and you can set the plans up however you want to make use of the space.
DevinMarch 4, 2013 at 5:42 pm #108381
The topic ‘Tag Search Results – Odd/Inaccurate Behavior’ is closed to new replies.