• Not sure if fixed or just a problem for me but I think I found a bug. Subcats have never worked for us, upon investigation I found the following was the problem.

    Find: ua-category-feature/ua-category-feature.php
    $auc_cterm = term_exists($_POST['ua_auction_subcategory'], 'ua-auction-category', $_POST['ua_auction_category']);

    Replace: ua-category-feature/ua-category-feature.php
    $auc_cterm = term_exists($_POST['ua_auction_subcategory'], 'ua-auction-category', $auc_term['term_id']);

    The subcat was not found as the parent was being defined by its name from the select drop down not its term_id which was looked up just prior to the line of code above.

    https://wordpress.org/plugins/ultimate-auction/

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

    (@nitesh_singh)

    Hi,

    I’m assuming you are trying to do below and it does not work for us. Once you confirm the steps, then I’ll reply

    1. Activated category add-on

    2. Created category/subcategories.

    3. Added auctions and assigned categories (category and sub-category).

    4. Visited feeder page.

    5. Visited the auctions from the category menu.

Viewing 1 replies (of 1 total)
  • The topic ‘Bug fix: Subcat not working’ is closed to new replies.