WordPress.org

Support

Support » Plugins and Hacks » WP eCommerce » wpsc_have_custom_meta no longer works

wpsc_have_custom_meta no longer works

Viewing 3 replies - 1 through 3 (of 3 total)
  • What are you looking for? Is it definitely in the postmeta table?

    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;

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wpsc_have_custom_meta no longer works’ is closed to new replies.
Skip to toolbar