• Great plugin. I am trying to add custom titles and one of your downloadable code changes says to specify custom titles on line 69. Is the code a replacement for line 69, or to be inserted before/after line 69? I Haven’t sorted out in my own mind how this code is working

    Second, how can I remove the Search button so people have to select the parent and subcategories? I have 3000 products and I don’t want anyone to search on the primary category and get several hundreds of products.

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    >changes says to specify custom titles on line 69

    If you are asking about the “Custom dropdown titles” modification:
    https://hottons.com/pcd_modifications

    You should replace the file:
    wp-content/plugins/product-category-dropdowns/view/frontend/web/main.js

    with the modified.

    Then edit the line:

    
    var selectTitles = ["-- select category --", "-- select sub category --", "-- select sub sub category --"];
    

    Instead of “– select category –” put your custom title.

    >how can I remove the Search button

    You can add the line:

    
    .pcd-selector-box button.pcd-submit {display:none;}
    

    in to the file:
    wp-content/plugins/product-category-dropdowns/view/frontend/web/main.css

    Then refresh your browser cache.

    Stanislav

Viewing 1 replies (of 1 total)
  • The topic ‘Custom titles and search button’ is closed to new replies.