Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › search function not displaying quantity and add to cart button
Tagged: add to cart, quantity, search, search button
- This topic has 22 replies, 7 voices, and was last updated 12 years, 11 months ago by admin.
-
AuthorPosts
-
February 16, 2011 at 3:59 am #2728caroMember
Hi,
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??
Thanks,
Caro
February 16, 2011 at 4:28 am #29073wpCommerceModeratorThe 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 #29074tryt53MemberHi,
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?
Thanks,
Tim
March 4, 2011 at 3:35 am #29075amin007ParticipantWe 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 #29076tryt53MemberHi,
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!
Tim
March 5, 2011 at 2:24 am #29077amin007ParticipantAdded 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:
[wp_eStore_product_search_with_add_to_cart_button]
You can get the updated extra shortcodes plugin here:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
March 5, 2011 at 4:53 pm #29078tryt53MemberHi amin007,
That works! Thank you so much for the quick enhancement and keep up the great work!
Tim
March 6, 2011 at 5:43 am #29079caroMemberHi,
Thanks and that works well.
Caro
May 5, 2011 at 10:32 am #29080RinaldoMemberYes 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 #29081amin007ParticipantThe 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 #29082RinaldoMemberThanks, 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 #29083amin007ParticipantYes, 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 #29084RinaldoMemberOK, thanks again, it appears to be a problem of the weaver theme with different browsers .
May 7, 2011 at 9:44 pm #29085RinaldoMemberHi, 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 #29086wpCommerceModeratorCan you please post a link to the page where you have the search box?
-
AuthorPosts
- You must be logged in to reply to this topic.