WordPress.org

Forums

WP eCommerce
wpsc_have_custom_meta no longer works (4 posts)

  1. kit.allen
    Member
    Posted 1 year ago #

    Hi - This no longer appears to return anything since upgrade. Anyone else having issues, or anyone have a solution?

    https://wordpress.org/plugins/wp-e-commerce/

  2. whitelamp
    Member
    Posted 1 year ago #

    What are you looking for? Is it definitely in the postmeta table?

  3. kit.allen
    Member
    Posted 1 year ago #

    Yep - I did a var_dump on the standard get_post_meta and the fields are appearing there. There's no way to tell what are WPEC custom fields though, and the have_custom_meta function draws a blank now.

    Code:

    if (wpsc_have_custom_meta()) : while ( wpsc_have_custom_meta() ) : wpsc_the_custom_meta();
    
    if (wpsc_custom_meta_name()!="Framing Options") {
    								       echo wpsc_custom_meta_name(). ": ".wpsc_custom_meta_value()."<br/>";
    								     }								    endwhile;
    endif;
  4. whitelamp
    Member
    Posted 1 year ago #

    Having had a look at the wpsc_custom_meta class, I think it's broken.
    rewind_custom_meta() doesn't reset current_custom_meta to its starting value.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic