• tjackson70

    (@tjackson70)


    We recently had issues with the plugin causing a bad UX (not loading CTA in button) after first use.

    To correct this issue we de-activated, removed, added back and activated again. Using the default settings fixed the UX issue. Our site previously had YMM in the Year, Make Model order (which is not default). We switched this order at the request of our dealers and sales department feedback.

    After modifying the Year, Make Model order as per your instructions, we are now getting an error when we try to ADD new products or EDIT existing products. See ERROR BELOW.

    <h1>Error thrown</h1>
    Call to undefined method Pektsekye_Ymm_Model_Db::hasVehicleData()

    Any immediate help or direction on this would he HUGE! 🙂

    The page I need help with: [log in to see the link]

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

    (@pektsekye)

    Hello,

    > Call to undefined method hasVehicleData

    You should add the “hasVehicleData” function:

    
    public function hasVehicleData()     
        {
          $value = $this->_wpdb->get_var("SELECT EXISTS (SELECT 1 FROM {$this->_mainTable})");
          return $value == 1;         
        }
    

    into the file:
    wp-content/plugins/ymm-search/Model/Db.php

    Stanislav

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with YMM Search + Adding New/Edit Products’ is closed to new replies.