Ivory Search › Forums › Support › Would it be possible to change the layout of the search results?
- This topic has 9 replies, 2 voices, and was last updated 2 years, 8 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- February 18, 2022 at 9:50 PM #10764
All my products are variations. The search is returning them perfectly but the thing is, I’d rather if the flyout/popup part where you can actually add to cart would just be the main listing so I can “add to cart” right from the first panel, not the popup panel.
The problem is that on mobile that flyout is always hidden off the side of the screen. I’m trying to achieve a “quick” method of adding items to the cart and if they can’t SEE the add to cart button, it’s not very quick š
I’ve attached a screengrab of what I’m taking about. The add to cart panel on the right, I’d rather just have that on the left (for all the options).
Attachments:
You must be logged in to view attached files. - February 19, 2022 at 8:51 PM #10773
I hope you are well today and thank you for your question.
To achieve this, you have to develop custom code.
If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site or WordPress agency.
You can also consider us to develop it for you using the form https://ivorysearch.com/custom-work/
Best regards,
Ivory Search Support - February 21, 2022 at 2:18 AM #10789
I’m a developer. Can you point me in the right direction, or the best place to start, in order to achieve this? I’m not asking for a step by step guide, just a starting point to save me some time š
- February 21, 2022 at 8:04 PM #10800
You can overwrite the below plugin file in your child theme and edit it.
/add-search-to-menu/public/partials/is-ajax-results.php
- February 28, 2022 at 8:14 PM #10857
just wanted to give a quick update to say I have everything working great now. Thank you for your quick help on this (and my other) issue. It’s always refreshing to get good customer support! I will be leaving a good review for you shortly.
thanks again.
- February 28, 2022 at 8:54 PM #10860
You are always welcome here š
Thank you for the review!
- March 1, 2022 at 8:05 PM #10868
Another quick question…
I made a copy of the is-ajax-results.php file in my theme directory but it’s ignoring it. It only works if I make edits to the original. I’m assuming this is down to me not using the proper directory structure for it, but I’ve tried many different name options for it and nothing seems to matter.
the original file is located here:
site-name/wp-content/plugins/add-search-to-menu-premium/public/partials/is-ajax-results.phpin my theme it is here:
site-name/wp-content/themes/theme-name/add-search-to-menu-premium/public/partials/is-ajax-results.phpdoes anything look wrong?
- March 3, 2022 at 2:03 PM #10897
You should copy the file in the below theme directory.
site-name/wp-content/themes/theme-name/is-ajax-results.php
- March 3, 2022 at 9:51 PM #10906
that did it! Thanks again š
- March 4, 2022 at 7:48 PM #10913
You are always welcome, Iām glad I was able to help you with this matter. There is no obligation but by your kind words I wonder if I could trouble you to leave a review based on this experience here:
https://wordpress.org/support/plugin/add-search-to-menu/reviews/?filter=5
Iād really appreciate that. š
And if I can be of any further assistance please don’t hesitate to ask.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login