Support » Plugin: Product Table for WooCommerce (wooproducttable) » Adding Placeholder on the attribute fields and restrict searchbox for one catego

  • Resolved assad19

    (@assad19)


    Hi Plugin support team,

    I need a small help, I want to add a custom placeholder on the attribute filter, and the second thing, after the filters there is a big search, I want to restrict the search box to search only a few categories of products, sir how can I do this?

    website link:
    knola.co.za/school list

    Screenshot (PLease check this one):
    https://imgur.com/g9YoLcu

    Please help me,
    I am waiting for your reply

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor CodeAstrology IT Firm

    (@codeastrology)

    We have added a new filter hook ‘wpto_localize_data’. So now you can change Taxonomy placeholder text.
    Example

    function codeAstrology_wpto_localize_data_callback( $WPT_DATA ){
        $WPT_DATA['search_select_placeholder'] = "Choose your item text";
        return $WPT_DATA;
    }
    add_filter('wpto_localize_data', 'codeAstrology_wpto_localize_data_callback');

    You can chose which category should show inside taxonomy dropdown filter ( https://prnt.sc/1mrk8g1 ) . Go to “Search and Filter” Tab.

    For more information please visit our documentation site – https://wooproducttable.com/documentation/

    Plugin Contributor CodeAstrology IT Firm

    (@codeastrology)

    @assad19 Please update your plugin.

    Thread Starter assad19

    (@assad19)

    Hi Sir,

    I have some more questions that I need to ask, following are the question:

    1. I have updated the plugin now I need to add my own custom placeholders on the filter and each filter and search bar has their own specific placeholder, how can I do this, after updating the plugin, I don’t see any option in the plugin to change the placeholder of the filters and search bar? should I need to run this code that you sent me and how to use this code of different search box and filter because it seems like, it will work for all the search bar and filters?

    2. I want to put three search bars and the first one will fetch a specific parent category and the second one will fetch the subcategory of the first search bar and the third one will fetch the subcategory of the second search bar and if the user does not select the first search bar category then the 2nd and third will not fetch anything, how can I do this please help me, sir?
    Example: https://imgur.com/lWTmznk

    3.how to add the total in the product table at the bottom and when the user selects a bulk product or more than one product then the total will show the overall price, how can I do this?
    Example: https://imgur.com/bMRDrUt

    4.in the middle of the table, you will see a reset button, I want if we click on reset and then everything should be empty or clear, how we can do this?
    Example: https://imgur.com/xS8uNs9

    I am waiting for your reply
    Thanks

    Plugin Contributor CodeAstrology IT Firm

    (@codeastrology)

    Hello,

    1. Yes, right now that code will change all placeholder text. Maybe we will add a function to change each filter placeholder text un future.
    2 & 3. We don’t have that kind of facility now. But if you want we can do that. You need to pay a customization charge for that.
    4. Yes, Reset button will clear all filter data.
    So, if you want then you can contact our support team at https://codeastrology.com/support/

    Regards

    Thread Starter assad19

    (@assad19)

    HI sir,

    one more thing,

    how to add the child category in the filter and search bar, could you send me the taxonomy field on sub category please

    Thanks.

    Thread Starter assad19

    (@assad19)

    And Sir how to change the label?
    I want to remove the ‘product’ word in the label, how can I remove this?

    Image:https://imgur.com/wRvdOQo

    Thanks

    Plugin Contributor CodeAstrology IT Firm

    (@codeastrology)

    Hello assad19,

    As per your first question, our plugin displays category and sub-category in the filter like this screenshot: https://prnt.sc/1ndjl0m

    we tell you before that, We don’t have that kind of facility now. But if you want we can do that. You need to pay a customization charge for that.So, if you want then you can contact our support team at https://codeastrology.com/support/

    Second, you can removed the “product word” from the just follow this screenshot below:
    Go to product table and then select configur (https://prnt.sc/1ndq49e).
    now scroll down and select search keyword title text options and give your title (https://prnt.sc/1ndrpvj) and click to save all button like this (https://prnt.sc/1ndtxbu)
    now you can get like this result:(https://prnt.sc/1ndvdjj)

    Regards,

    Thread Starter assad19

    (@assad19)

    Hi sir,

    I have changed the search keyword but it doesn’t working, the three search filters that I am using is the three different product attributes, [pa_province] , [pa_grade] , [pa_school].

    Please could you help me with how to change these three labels?

    Image:https://imgur.com/RvYLQ0T

    Thanks

    Plugin Contributor CodeAstrology IT Firm

    (@codeastrology)

    Hello assad19,
    You can change search box taxonomy name by using our plugin filter hook. Follow this link: https://wooproducttable.com/change-default-taxonomies-names/

    Regards,

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.