Forum Replies Created
- PiteusParticipant3 years ago in reply to: Custom field filters #26300
Thanks, it works perfectly!
But when i’m using date slider it doesn’t match any items, in the bar I can see first and last value that are correct but if i try to move it, for example i’ve selected from 10 August 2020 to 2 January 2021, it show me “No products were found matching your selection.” but i’ve more products in this range for example 1 December 2020
Do you know why it happens?PiteusParticipant3 years ago in reply to: Custom field filters #26298If you use strtotime() should be enough to replace “/” with “-“(25/05/2020 -> 25-05-2020)
https://stackoverflow.com/questions/2891937/strtotime-doesnt-work-with-dd-mm-yyyy-format
Apparently there are two possible formats European or US, if it’s a problem for you, you can tell me where edit code to replace the symbols without having to generalize it in your pluginPiteusParticipant3 years ago in reply to: Custom field filters #26296In my custom field date is “dd/mm/yy” Ex. 4 January 2021 -> 04/01/2021, but plugin index it as “1 April 2021”.
But still using US format when I use range slider does not find any products, this is the query in nav bar:
?element=%5Bobject%20Object%5D&wpsolr_fq%5B0%5D=custom_data_str%3A1585103563636-1612137600000
1585103563636 -> Wednesday 25 March 2020 02:32:43.636
1612137600000 -> Monday 1 February 2021 00:00:00
But i’ve a product with date 07/23/2020(which once solved I will mark as 23/07/2020)PiteusParticipant3 years ago in reply to: Custom field filters #26294Ok thanks but i’ve a problem, i think that it doesn’t index because of Italian Date format(dd/mm/yy), can i set this format somewhere?
Another problem is that when i’m trying to filter with date slider it make no result but products exist in that rangePiteusParticipant3 years ago in reply to: Indexing woocommerce custom fields #26228Problem solved
PiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25679Of course, if you go to “3. Send your data” returns an error
Error on embedded url “https://www.domain.com/wp/wp-content/uploads/woocommerce_uploads/2021/03/sample.pdf” of post_id 67. Could not access the attachement content. Forbidden
But this product doesn’t exist anymore, but this but doesn’t always happen, it happened to me twice out of ten, i solved using “delete selected post types…” and reindexing with “index selected post types…”
PiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25674Hello again, i’ve bought license, and as agreed i’m using the version that you send me here, i noticed a bug:
when in woocommerce->All products I select checkbox of product and i delete them by group action/bulk action, wpsolr doesn’t delete all attached files from the indexPiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25474Ok, thanks again for your availability
PiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25472I’ve reset wordpress and reistalled all plugin, now it works perfectly, thank you so much.
Last question: if I buy pro version can i still use the version with this feature?PiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25466I’m not using AWS, i’m using elastic, everything works correctly except for the error I told you before and then the indexing inside the file
PiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25463Ok thanks, new error 🙁
(WPSOLR) Error while indexing this post type:
failed to parse field [categories] of type [text] in document with id ’11’. Preview of field’s value: ‘{file=https://dev.domain.com/wp/wp-content/uploads/woocommerce_uploads/2021/03/sample.pdf, name=sample, id=580abb80-8d32-437e-81e9-2c957a4bc3c2}’PiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25461Ok, now i’ve set up Elasticsearch, but i’ve a new error 🙁
(WPSOLR) Error while indexing this post type:
Error on embedded url “https://dev.domani.com/wp/wp-content/uploads/woocommerce_uploads/2021/03/sample.pdf” of post_id 14. {“error”:{“root_cause”:[{“type”:”parse_exception”,”reason”:”No processor type exists with name [attachment]”,”processor_type”:”attachment”}],”type”:”parse_exception”,”reason”:”No processor type exists with name [attachment]”,”processor_type”:”attachment”},”status”:400}PiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25459Algolia
PiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25457Nope, i can’t save the product or send data, if i try to save I get this error https://postimg.cc/RWchb342 if i try to “send your data” it starting to loading endlessly
PiteusParticipant3 years, 1 month ago in reply to: Index by attached – woocommerce #25453I think i solve this, woocommerce by default in /wp-content/uploads/woocommerce_uploads/ create a .htacces with “deny from all”, now i set “Require local”.
Now when i try to save product i get this error:
https://postimg.cc/RWchb342
If i try to synchronize in “Send your data” it start loading in loop