WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Personalize This Product checkbox unticks itself on update

[Resolved] Personalize This Product checkbox unticks itself on update

Viewing 2 replies - 1 through 2 (of 2 total)
  • summerlightning
    Participant

    @summerlightning

    At present, I have left the page with the checkbox ticked, but can remove this if needed. Thank you.

    summerlightning
    Participant

    @summerlightning

    I found the issue raised on WP-Ecommerce on Github.

    Properly initialise perso form settings #1393
    https://github.com/wp-e-commerce/WP-e-Commerce/pull/1393

    I added the code as suggested to wpsc-admin/includes/display-items-functions.php and this fixed the problem.

    function wpsc_product_personalization_forms(){
     	global $post;
     	$product_meta = get_post_meta( $post->ID, '_wpsc_product_metadata', true );
     	if ( ! is_array( $product_meta ) )
     		$product_meta = array();
      ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Personalize This Product checkbox unticks itself on update’ is closed to new replies.