WordPress.org

Support

Support » Plugins and Hacks » Car Demon » [Resolved] Show Sold Vehicles on Inventory Page?

[Resolved] Show Sold Vehicles on Inventory Page?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author theverylastperson

    @theverylastperson

    Hi Scot,

    Well, technically they never actually disappear when marked sold, they just stop showing in the search results.

    It should be fairly easy to go in and modify the PlugIn so they stay on the result page.

    In the includes folder is a file called “car-demon-query.php”, I believe if you remove lines 24-30 then the sold vehicles will be returned in your search results.

    $meta_query = array(
    				array(
    					'key' => 'sold',
    					'value' => 'no',
    					'compare' => '='
    				)
    			);

    I’ll go ahead and add an option to the admin area in the near future that let’s you retain sold cars in the search results, that way you’ll be able to upgrade without issue.

    Let me know if that works.

    -jay

    Plugin Author theverylastperson

    @theverylastperson

    Hi Scot,

    I just wanted to let you know that a feature has been added in the next release (version 1.2.0) that will give you the option to display sold vehicles in the inventory result pages.

    Version 1.2.0 should be released later this week.

    If you have any other questions let me know.

    strollan

    @strollan

    Jay, Thank you for your fast response! Sorry for delay in responding. I will try adding the code today and see if it works.

    strollan

    @strollan

    Jay,
    Just saw your following up – if i add the code – when i upgrade will it effect anything – or just write over the changes? Or should i just hang tight for the update? Thanks again!

    Plugin Author theverylastperson

    @theverylastperson

    Hey Scot,

    Unfortunately upgrading will overwrite your changes. If you’ll go to our website http://www.CarDemon.com and fill out a contact form I’ll send you a pre-release copy of the PlugIn that you can use, which already has this option added to it. That way you can upgrade in the future with no issues.

    strollan

    @strollan

    Jay,

    Thanks again for getting back to me. Unfortunately when i click the link http://www.CarDemon.com, it brings me to a domain for sale page – I am definitely interested in the pre-release copy and in taking part in the beta tests you mention in the forum (especially the facebook beta) – Please let me know where to send my contact info.

    Thanks again

    Scot

    Plugin Author theverylastperson

    @theverylastperson

    Sorry about that. I mis-typed, it’s http://www.CarDemons.com with an s.

    strollan

    @strollan

    Cool – thanks!

    Plugin Author theverylastperson

    @theverylastperson

    Just got your email, you should receive a reply in just a moment.

    Let me know if you run into any other problems.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Show Sold Vehicles on Inventory Page?’ is closed to new replies.
Skip to toolbar