• Resolved MrRedd

    (@mrredd)


    I am unable to change the Item Condition display to anything other than “NEW” when previewing the item. Also when I click “Verify” it says the item condition is not valid and was removed.

    I have gone through each category and set matching Ebay categories…I have set a default category that I know has “used” as an option and even tried the Books category several times which has other options instead of just used and new. I have also removed all categories and tried to start over..can;t seem to get anything to change it.

    Also many times there is no ‘used” or New” as an option when editing a product and it only shows “none” in the condition drop down box as an option.

    I have also tried this using the condition values directly on the product as well as trying the option to use “profile settings”…same result, it’s always showing as “New” in preview mode.

    I am not sure when this happened as I have not logged in for awhile to use my site but before diving back into this I did all updates first, maybe this is when this stopped working but I can’t be sure. I just know it had worked before.

    I have ran all the updates and checked for new updates on plugins and word press so I should be all up to date.

    My wp-lister-for-ebay plugin version is: 1.5.0.8

    If you need any more information please let me know.
    Thank you.

    https://www.ads-software.com/plugins/wp-lister-for-ebay/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter MrRedd

    (@mrredd)

    Well I see why it is always showing as “New” on the preview template…it is hard coded instead of dynamic.

    Around line 134 on listings_preview.php where it shows the condition I am guessing it should be called like the other details are but I can’t figure out how to call that with php.

    I am looking at the database and it looks like the condition is set in the item details and then defined in the conditions field…or something like that…lol (I really have no idea what I am seeing..just a total newbie to php and mysql)

    In the Database for a product listing:
    Under the “details” field it shows: condition_id”:”4000″

    Then there is another field called in that table called “conditions” which has:
    a:1:{i:378;a:5:{i:1000;s:9:”Brand New”;i:2750;s:8:”Like New”;i:4000;s:9:”Very Good”;i:5000;s:4:”Good”;i:6000;s:10:”Acceptable”;}}

    So I don’t think I can call it with a single call like I am trying..such as:
    <?php echo $wpl_item->Conditions ?>

    Any help on calling this value would be appreciated.
    Thank you.

    Thread Starter MrRedd

    (@mrredd)

    Not sure if this will help but here is a list of all the condition IDs from Ebay and it shows which categories use which condition possibilities.

    https://developer.ebay.com/Devzone/finding/CallRef/Enums/conditionIdList.html

    Thread Starter MrRedd

    (@mrredd)

    Interesting..Ebay does not have use a condition drop down for the pottery category I am using…that was one of the problems solved.

    This is why it was giving me the error when I verified the listing…I was sure there would be a “used” and “new” option for this category but after searching other listings I see them all as having no condition listed.

    Plugin Author WP Lab

    (@wp-lab)

    You’re right, not all categories to support even basic conditions – which is why you saw only “none” on the edit product page when you had selected the right category (either for that particular product or as the default category).

    You might still see the default “New” and “Used” in the profile because that’s the default fallback unless there are category specific conditions, but in your case you’ll just have to leave it empty.

    Thanks for bringing the “hardcoded” New condition to my attention – this will be fixed in the next update to version 1.6.1.

    kind regards,

    Matt

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with Item Condition not changing – stuck on New’ is closed to new replies.