Forum Replies Created
-
AuthorPosts
-
November 23, 2023 at 2:35 pm in reply to: Urgent: Request for Assistance with Ajax Search Pro Integration #46147
Ernest Marcinko
KeymasterYou cannot access this content.
November 23, 2023 at 2:33 pm in reply to: CLI or API method for importing plugin configuration/settings #46146Ernest Marcinko
KeymasterHi,
Unfortunately we don’t have an API for that, however if you can move database tables, then all you need to do is copy the
wp_ajaxsearchprotable, and that should do the trick.Ernest Marcinko
KeymasterHi,
The most likely cause is that you may need a customized DOM selector. Based on your page layout, try this:
.main-content .block-wrap .block-contentPut it here.
Ernest Marcinko
KeymasterHi,
As long as the LeafBridge triggers the
save_posthook, you don’t need to do anything. That hook is triggered whenever a new post or post object is created/changed and saved to the database. Usually properly coded migration/sync plugins trigger this hook for every single item they synced so the appropriate functions attached to that action can execute.
Ajax Search Pro listens to that action and whenever it’s triggered it updates it’s database with the new post data automatically.Ernest Marcinko
KeymasterHi,
Make sure you downloaded the correct package. Our vendor adds two different zip files for some reason, and the one you are looking for is this: https://i.imgur.com/OT8SYa3.png
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
Yes – it is actually possible via the front-end javascript hooks namely via the asp_redirect_url one.
In your case it would look something like:
add_action('wp_footer', 'asp_custom_footer_script', 99999); function asp_custom_footer_script() { ?> <script> const dazed_obj = JSON.parse(localStorage.getItem('leafbridge_recent_location')); const dazed_location = dazed_obj.retailer_id; window.addEventListener("load", (event) => { WPD.Hooks.addFilter('asp_redirect_url', function(url){ return url + "&retailer_id=" + dazed_location; }, 10); }); </script> <?php }Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterGreat!
Yes, of course, change it to:
.asp_ss_2 { display: block !important; opacity: 1 !important; visibility: visible !important; }November 22, 2023 at 3:10 pm in reply to: Custom Field Search Result Link Not Updating Site Content #46127Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
November 22, 2023 at 1:58 pm in reply to: Fast AJAX but search results page is very slow – please help! #46125Ernest Marcinko
KeymasterHi,
Thank you for the details, it helps a lot!
If the live search is quick, that is a very good sign, that means there is only some sort of a conflict on the results page – probably another plugin.
Do you have any other search plugin active which may affect the results page? (SearchWP, Ivory, Relevanssi etc..)
If so, the please deactivate it and try again. It is possible that both plugins try to override the same query and it gets stuck.Ernest Marcinko
KeymasterI can check it out, but it is very likely that I can only apply the variation description and the SKU in this case and only for the index table engine. Regular engine will not work with this as the variation are separate post type objects, not stored as part of the product.
Can you please also add temporary (s)FTP access? I will have to make change to the files and any mistake in the code could lead to a site error which I can’t revert from the back-end.
Ernest Marcinko
KeymasterYou cannot access this content.
November 21, 2023 at 1:20 pm in reply to: Custom Field Search Result Link Not Updating Site Content #46114Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts