WordPress.org

Ready to get started?Download WordPress

Forums

Car Demon
[resolved] Show Sold Vehicles on Inventory Page? (10 posts)

  1. strollan
    Member
    Posted 1 year ago #

    Hi ,

    Love the plugin. Thank you for creating it! Is it possible to have sold cars remain in inventory and say sold instead of a price or maybe a ribbon that says SOLD?

    Thanks again

    Scot

    http://wordpress.org/extend/plugins/car-demon/

  2. Jay
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. Jay
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  4. strollan
    Member
    Posted 1 year ago #

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

  5. strollan
    Member
    Posted 1 year ago #

    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!

  6. Jay
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  7. strollan
    Member
    Posted 1 year ago #

    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

  8. Jay
    Member
    Plugin Author

    Posted 1 year ago #

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

  9. strollan
    Member
    Posted 1 year ago #

    Cool - thanks!

  10. Jay
    Member
    Plugin Author

    Posted 1 year ago #

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

    Let me know if you run into any other problems.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.