WPSOLR: error on term
- ovaislak@hotmail.comParticipant5 years, 1 month ago #11006
I unchecked all custom taxonomies and the indexing is working fine. But my new orders are not indexing automatically . I have to run the index again and again to get them indexed.
Give me some solution to index custom taxonomies since these will be used as filters too.
wpsolrKeymaster5 years, 1 month ago #11007Orders, as all other post types, are indexed in real-time. Please open an order, publish it. Check if you see a WPSOLR notice.
Fo your custom taxonomies, I do not know what is the problem. Perhaps try to use a free plugin to manage them, like Custom Post Type UI.
ovaislak@hotmail.comParticipant5 years, 1 month ago #11008I can not use plugin to manage these taxonomies since it required data entry which is a huge task for a store with 87000 products
You already have my admin details, please look at this problem since there will be more people using custom taxonomies and solution for my problem will help others too.
ovaislak@hotmail.comParticipant5 years, 1 month ago #11016Do you know the fix ?
I can successfully print this taxonomy on frontend
See here — > https://medicalstore.com.pk/product/monis-tablet-xr-60-mg-30s/
wpsolrKeymaster5 years, 1 month ago #11018I found it.
I replaced:
register_taxonomy( 'Manufacturer', 'product', $args );
with:
register_taxonomy( 'manufacturer', 'product', $args );
It solved both problems:
– WPSOLR now indexes products with manufacturers
– The manufactures list now autocompletes as expected
ovaislak@hotmail.comParticipant5 years, 1 month ago #11093It broked my site 🙁
I had multiple taxonomies and after your suggestions I changed the code to
register_taxonomy( 'manufacturer', 'product', $args );
From
register_taxonomy( 'Manufacturer', 'product', $args );
It was just case sensitive problem. So I changed the codes for other taxonomies, the error from backend (returning 0) was solved but my site template was crashed.
Is there a way to change the taxonomies without loosing the data ? or get them indexed without making changes in the code ?
wpsolrKeymaster5 years, 1 month ago #11094From what I tested, the taxonomy name used in register_taxonomy() function must be in lowercase characters. This is not documented anywhere in the code, as far as I know. And it causes problems not only for WPSOLR, but on the post type edit page itself (lists of terms not appearing on the post type).
I do not know if there is a tool/plugin to change a taxonomy name everywhere in the database.
ovaislak@hotmail.comParticipant5 years ago #11832You firewall is blocking me to write the code.
I really want to use this plugin, please help.
ovaislak@hotmail.comParticipant5 years ago #11844I have explained the case in the above link, I you have any solution to fix this taxonomy problem please advise
ovaislak@hotmail.comParticipant4 years, 12 months ago #11876Thanks for your time. I have found the solution in case anyone else is facing the same problem you can visit this link for the solution :
You must be logged in to reply to this topic.