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
search function not displaying quantity and add to cart button
(23 posts) (7 voices)-
Posted 1 year ago #
-
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.
Posted 1 year ago # -
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,
TimPosted 1 year ago # -
We can add in another shortcode that also puts an "add to cart" button for each product returned in the search.
Posted 1 year ago # -
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!
TimPosted 1 year ago # -
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-460Posted 1 year ago # -
Hi amin007,
That works! Thank you so much for the quick enhancement and keep up the great work!
TimPosted 1 year ago # -
Hi,
Thanks and that works well.
CaroPosted 1 year ago # -
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? -:)
Posted 1 year ago # -
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.
Posted 1 year ago #
Reply »
You must log in to post.