Index by attached – woocommerce
- PiteusParticipant3 years, 7 months ago #25430
The ecommerce sells only pdf as product, between 400 and 600, this figure can change every year but the interval is that, so with WooCommerce add-on can users search inside the pdf file even if this one is protected (because it is itself the product to be sold)?
wpsolrKeymaster3 years, 7 months ago #25431I can add this feature, so visitors of your shop search can retrieve the products with downloadable files containing matching keywords.
Even if downloadable files are private.
Only the highlighted texts around the searched keywords of your PDFs would appear in the search.
wpsolrKeymaster3 years, 7 months ago #25443Here is a fix: https://trello.com/c/10cpmGEt/147-index-and-search-woocommerce-products-downloadable-files
Please replace your current WPSOLR plugin (or get a trial) with the fix.
PiteusParticipant3 years, 7 months ago #25444Sorry but I’ve a problem:
Error on embedded url “https://dev.domain.com/wp/wp-content/uploads/woocommerce_uploads/2021/03/sample-o5edxt.pdf” of post_id 11. Could not access the attachement content. Forbidden
Do i have to give the plugin some permission? If so, where?
PiteusParticipant3 years, 7 months ago #25451That’s results
https://postimg.cc/ZBWTmXP1PiteusParticipant3 years, 7 months ago #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
You must be logged in to reply to this topic.