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

Cannot search categories with extra shortcode

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Cannot search categories with extra shortcode

Tagged: Extra Shortcodes for WP eStore plugin, search multiple categories and product shortcode not wo

  • This topic has 8 replies, 2 voices, and was last updated 13 years, 4 months ago by darleenw.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • February 18, 2012 at 5:12 pm #5593
    darleenw
    Member

    [wp_eStore_product_search_with_add_to_cart_button search_category=true] or [wp_eStore_product_search_with_add_to_cart_button search_category=1]

    I am getting no product found – unless I add each category I want the product to be associated with in the product description.

    Example: Product Name: 20 ways to better sleep for your child is associated to multiple categories, so I want to search by product name and category.

    IF I do not add categories to the product description, but only select from the category list – The search only displays if I search by product name or example: sleep.

    This product is associated to several categories – and when I search ADD (one of the categories) then it returns NO PRODUCTS found.

    IF i enter ADD in the product description I get this result:

    Product Search

    Product Name Price

    20 ways to better sleep for your child $0.01

    Category Search Result

    AS noted > the Category search is not returning any results > However I am being returned only the product that has the category name in the product description.

    WordPress: 3.3.1

    Theme – Genesis – with child theme Scribble

    Other plugins installed:

    Constant Contact Widget 2.0

    Custom Contact Forms

    Custom Post Background

    Extra Shortcodes for WP eStore

    Jetpack by WordPress.com

    myRepono Backup Plugin

    Shortcodes Ultimate

    Social Media Widget

    Under Construction

    WP eMember

    WP eStore

    I will keep searching through the forum to see if I am missing something, but seems that possible issue with database?

    I did have another ecommerce store installed after installing WP eStore, that I deactivated and permanently deleted. It did cause some issues with my pages – such as Store Page, I did have to delete and create new in order to get shortcode for shopping cart to work.

    Site is http://totalabilitysolutions.com – I have it locked down, but will open in order that can display issue.

    Thanks very much

    …darleen

    February 19, 2012 at 4:23 am #42102
    darleenw
    Member

    I have managed to get this working as desired, when I add a page for each category. I don’t really want 80 pages. What are the other options?

    Thanks!

    February 19, 2012 at 6:25 am #42103
    admin
    Keymaster

    I think it will help if I explain how this shortcode works.

    By default the following shortcode will search all your product (doesn’t matter which category it is in):

    [wp_eStore_product_search_with_add_to_cart_button]

    When you use the following it simply means that it will also search any category name with the “search term” and show the category if a match is found

    [wp_eStore_product_search_with_add_to_cart_button search_category=1]

    On the other hand, when you use the following shortcode it it will restrict the product search within a particular category. So ti will search any product that belongs to the category with a ID of 5 for example

    [wp_eStore_product_search_with_add_to_cart_button category_id=5]

    February 19, 2012 at 9:58 am #42104
    darleenw
    Member

    What I am wanting is it to search the database and return list – but it does not seem to be working correctly.

    It will only work if I create WP pages with the category names — which I don’t want to use. OR add the category names to the description. It does not seem to be sending a query from the database.

    I understand that if category=! is used then all will be searched, but it is not working.

    Thanks

    …darleen

    February 19, 2012 at 11:39 am #42105
    darleenw
    Member

    If there is any way to provide a search for Category – that will list all products per category > Which is what I believe that this shortcode is to be doing. >> is what I require to avoid creating 80 pages for each category. Seems redundant, and not what I want.

    [wp_eStore_product_search_with_add_to_cart_button search_category=1]

    It is my understanding that it should display a list of products that match the criteria of the search and then categories that fall within the search. I want to create a lis of each category -listing all documents that are associate.

    So if have categories – Red, White, Blue product A, B, C – A is category red and white, B is Red, White. Blue ; C is category Red

    So result for search – RED

    I should get Product A, B, C

    For category -Red > which I don’t really requre

    Need a list of categories with products associated – many documents are associated with many categories (42 as example)

    I can get it to work by creating 80 oages – categories.

    But not sure why I need the WP pages at all

    So what should this shortcode do?

    Thanks

    …darleen

    February 19, 2012 at 5:51 pm #42106
    darleenw
    Member

    Is the only way to get category search working to use a WP Page for each Category?

    Thanks for any help

    …darleen

    February 20, 2012 at 7:16 pm #42107
    darleenw
    Member

    The only way I can get search to show files / products or category correctly is to create WP Page for each category – and I believe I should not be required to do this. Can you please advise?

    Thanks

    …darleen

    February 21, 2012 at 12:23 am #42108
    admin
    Keymaster

    We don’t have a feature for what you require. eStore’s product search does not show categories and then the products in that category.

    February 24, 2012 at 4:11 pm #42109
    darleenw
    Member

    Ok thanks – I have managed with creating WP pages for now

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • 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