-
AuthorPosts
-
December 26, 2020 at 10:43 am #1269822Chris TrottGuest
Hi,
I am using the Enfold theme for a company shopping cart. It looks great so far. One question I have is, is there some way to substitute the page search for Smart WooCommerce Search in the header? That way people can just click on the little magnifying glass and search the shopping cart instead of the site. Here is a screen shot https://ibb.co/qnW9LSd
Thanks
December 27, 2020 at 5:20 pm #1269873Hey Chris Trott,
Please have a look at the following thread:
If you need further assistance please let us know.
Best regards,
VictoriaDecember 29, 2020 at 3:07 pm #1269965I got that working. How can I display Woocommerce product search results on the search page?
January 4, 2021 at 4:17 am #1270081Hi,
Glad it is working. To adjust the search query, we could use the pre_get_posts filter in the functions.php file. Please check the provided snippets in the following threads.
// https://kriesi.at/support/topic/changes-in-functions-php-functions-enfold-php-in-child-theme-are-ignored/#post-1077624
// https://kriesi.at/support/topic/masonry-galerie-sort-by-css/#post-1128916
// https://kriesi.at/support/topic/product-grid-and-product-slider-ignore-taxonomy-selection/#post-1027806Best regards,
IsmaelJanuary 9, 2021 at 1:55 pm #1271215Ok, I think I got the search and search page working and pulling woocommerce products on the search results page. Is there a way to format the search results page so that is displays a grid of products? Right now its displaying one, large image that spans the page (with sidebar)
https://www.mailboxesbybathx.com/?s=CBUJanuary 9, 2021 at 1:59 pm #1271216Oh also on the search results page. The dollar amount is off. The formatting on the dollar amount. Can I format the dollar amount to show $224.64? Not 224.6400$
January 12, 2021 at 9:38 am #1271787Hi,
It is possible but it will require modifications that are beyond the scope of support. By default, the search template is only used to display default posts, but not products. You may need to hire a freelance developer or contact our partner Codeable to help you with the customization.
// https://kriesi.at/contact/customization
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.