WP eCommerce
[resolved] Personalize This Product checkbox unticks itself on update (3 posts)

  1. summerlightning
    Posted 2 years ago #

    Store URL: http://bymoon.lordsolutions.com/products-page/chairs/childrens-chair-blackberry-purple/

    WordPress version: 3.9.1

    WP eCommerce version:

    Gold Cart version: N/A - I do have this on the main site of my client, but not on this test site.
    Theme: Parabola

    I ticked the box to display the personalization box. Clicked UPDATE. The box appears fine on the single product page, but if you go into the product to update anything else the box it immediately unticked and when saved, removes the personalization box. I expect the box to stay ticked unless I uncheck it.

    How do i fix?



  2. summerlightning
    Posted 2 years ago #

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

  3. summerlightning
    Posted 2 years ago #

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

    Properly initialise perso form settings #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();

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic