Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

search function not displaying quantity and add to cart button

by

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 13 years, 8 months ago by admin.
Viewing 15 posts - 1 through 15 (of 23 total)
1 2 →
  • Author
    Posts
  • February 16, 2011 at 3:59 am #2728
    caro
    Member

    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 #29073
    wpCommerce
    Moderator

    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
    tryt53
    Member

    Hi,

    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 #29075
    amin007
    Participant

    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
    tryt53
    Member

    Hi,

    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 #29077
    amin007
    Participant

    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:

    [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 #29078
    tryt53
    Member

    Hi 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 #29079
    caro
    Member

    Hi,

    Thanks and that works well.

    Caro

    May 5, 2011 at 10:32 am #29080
    Rinaldo
    Member

    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
    amin007
    Participant

    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
    Rinaldo
    Member

    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
    amin007
    Participant

    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
    Rinaldo
    Member

    OK, thanks again, it appears to be a problem of the weaver theme with different browsers .

    May 7, 2011 at 9:44 pm #29085
    Rinaldo
    Member

    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 #29086
    wpCommerce
    Moderator

    Can you please post a link to the page where you have the search box?

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 23 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ