February 16, 2011 at 3:59 am #2728caroMember
I was wondering if any one has any answers to the following? I have installed the other shortcode wpestore plugin, and can use the search button, but, when it finds a product it only displays the product and price, it does not display the quantity box, or the add to cart button,also, it cannot be added to the cart?
Is there any code for this, ie, can we add something to the search shortcode to display the product being searched with the add to cart button etc??
CaroFebruary 16, 2011 at 4:28 am #29073wpCommerceModerator
The search function has been made to display the list of products. However, if you specify a product page URL for each product the search result will also show a link to the product page where you can display the add to cart button, quantity box etc.March 3, 2011 at 6:47 pm #29074
One of the problems is that if the products move from page to page because you add or delete a product from a page, you need to manually change some product page URLs because of having to put in the page that the particular product is on. Another problem is that it puts a link beside the picture of the item, and when the user clicks on that link it now doesn’t do anything except take the user to the top of the page, which is really confusing for them. Any possibility that the search could return the product with the ability to look at the large image for that product and add it to cart, without having to manually keep track of what page the product is on, and not creating a link on the product that is confusing?
TimMarch 4, 2011 at 3:35 am #29075
We can add in another shortcode that also puts an “add to cart” button for each product returned in the search.March 4, 2011 at 4:56 am #29076
That would work if you could you also return the image? If they search on a word, it would be nice to also see the picture to make sure they are adding to cart what they think they are getting. You can see my site at finddahlias.com and see the store page (which has 4 pages of products) to see what I have set up. Thank you!
TimMarch 5, 2011 at 2:24 am #29077
Added this in. Use the following shortcode to display a product search option that returns the result with a thumbnail and add to cart button next to each item:
You can get the updated extra shortcodes plugin here:March 5, 2011 at 4:53 pm #29078
That works! Thank you so much for the quick enhancement and keep up the great work!
TimMarch 6, 2011 at 5:43 am #29079caroMember
Thanks and that works well.
CaroMay 5, 2011 at 10:32 am #29080
Yes that works better, but why do we have to use this ugly rectangle search button while in the forum you do use a nice apple type search button? –May 6, 2011 at 12:22 am #29081
The search box is a standard text input box. So it will look different based on how your theme styles the input text box. This way the search box blends in nicely with the look and feel of your existing site. You can obviously modify your themes CSS to make the text input boxes however you like it.May 6, 2011 at 6:36 am #29082
Thanks, but I didnt mean the text input box, I was talking about the search button. Does this button also come with the theme?May 6, 2011 at 6:40 am #29083
Yes, button is another type of input field. Its called a submit input. All of the various HTML input fields (text box, select box, radio box, text area, buttons etc) come from your theme’s CSS. You can customize them easily by modifying the CSS file.
You can do a quick test yourself to find this out. Quickly switch the them to the default WordPress twenty ten theme and then refresh the page and you will see how the look and feel of the input fields change.May 6, 2011 at 6:47 am #29084
OK, thanks again, it appears to be a problem of the weaver theme with different browsers .May 7, 2011 at 9:44 pm #29085
Hi, there is one other unhandsomely thing – the search button sits below or rather on the input field – which seems to be a problem of estore css, because in the standard WP search function the button appears next to the input field. Where can I change this?May 8, 2011 at 12:20 am #29086wpCommerceModerator
Can you please post a link to the page where you have the search box?
- You must be logged in to reply to this topic.