Custom Fields for WP e-Commerce allows store owners to manage additional Product detail fields with the ease WordPress users have come used to through standard field controls displayed on the Add/Edit Products page in both WP e-Commerce 3.8+ and legacy 3.7 stores.

The recent release of Custom Fields 1.1 includes support for text boxes in conjunction to standard input fields, this enhancement makes it possible for store owners to add additional content blocks to the Product detail page.

WP e-Commerce Compatibility

  • WP e-Commerce 3.7 ready (up to 3.7.8)
  • WP e-Commerce 3.8+ ready (up to 3.13.*)


Looking for support, a copy of the readme, Plugin updates, Ideas or usage instructions? Check out our Documentation for Custom Fields.



  1. Michael US Michael

    Hello there.

    Firstly, thanks for the deluxe product importer, works very well.

    for the custom fields, i got the plugin to install, added a few fields, but they are not showing in the product importer deluxe. Can you help?

    • Michael US Michael

      edit: Im a dork. I figured it out. Great plugins!

  2. Brett Schuler US Brett Schuler

    Hi there:

    Does anyone know if custom fields widget supports Multisite?


  3. Ivana HR Ivana

    Hy, I need a little help..
    I can´t see my field name (indeks), only the product fiels value (37) is displayed when using this code:

    My custom field is: Indeks, and the value: 37, i I would want te see it like this:
    INDEKS: 37
    Can You help me?

  4. Javier Riveros CL Javier Riveros

    Thanks for the update. I just update it in my site but i’m going to try it later ant I’ll tell ya.

    Thanks so much again!

    • Michael Visser au Michael Visser

      Good stuff Javier! 😀

  5. Andrew Miller IE Andrew Miller

    Great plugin.

    When I updated to 1.4.4 today I began to get this persistent error throughout wordpress dashboard:

    Warning: Illegal offset type in /data/25/2/105/156/2431156/user/2664573/htdocs/bannerbooks/wp-includes/plugin.php on line 69

  6. Nadja von Massow GB Nadja von Massow

    Hey – really nice plugin, but…
    … since the last WP eCommerce upgrade (or so it seems), the field name is suddenly showing on the pages, even though the “show name” box is unticked in the settings.
    Any ideas?

    • Michael Visser au Michael Visser

      Hi Nadja, giving this Plugin some love today. I’ve been focused on the Premium suite this past month. 🙂

      • Nadja von Massow GB Nadja von Massow

        Hi Michael – any luck with this yet? The extra bit of text (“Product Type:”) is breaking my layout, unfortunately and I cannot even seem to find it anywhere in the plugin code to at least comment it out manually for the time being. :o(

        • Nadja von Massow GB Nadja von Massow

          … ok, silly: I obviously mean the label/name of the field. The above example is specific to my own usage.

      • Javier Riveros CL Javier Riveros

        Finally, We will be waiting for this new release. Do you have perhaps checkboxes in your mind? Thanks!

        • Michael Visser au Michael Visser

          Hi Javier, checkbox and radio list support has been added in the update I’m pushing today. 😉

    • Nadja von Massow GB Nadja von Massow

      Hi Michael – just updated the plugin with the latest version. Still no luck with the field label (name). I have “show name” unticked, yet the still shows on all my pages. Can you replicate that behaviour, or could it be a clash with another plugin maybe?

  7. mali8 SI Mali8

    Hey, does anyone know how to add custom field value to Admin Purchase Report?

    • Michael Visser au Michael Visser

      Hey mali8, great suggestion. For now, there’s a filter called ‘wpsc_transaction_result_report’ on line #335 of wpsc-transaction_results_functions.php which can be used to extend the default Purchase Report sent to the store owner. I’ll look at automating this in the next Plugin update.

  8. Javier Riveros CL Javier Riveros

    Long time without writing to you Visser!
    Your plugins work like a charm as always … but …

    I’m using this plugin now but i wanna know why you don’t add Checkboxes to Custom fields, so the custom field list can be:

    Text Area (with Editor)

    This is in order to have a pre-defined options list in every product and select only the one that match with every product description.

    Is that so hard to do?
    Please I will be waiting your answer. We can pay for it like a premium plugin, why not?

    Thanks for your time and work !!!

    • Javier Riveros CL Javier Riveros

      So Visser, is there a way to add checkboxes to the list of custom fields? Thanks so much for your work.
      I’ll be waiting here like other for your answer.

      • Michael Visser au Michael Visser

        Hi Javier, don’t see why not. I’ll fix up that Label Name display issue and add in some additional Custom Field types. 🙂

        • Javier Riveros CL Javier Riveros

          Aha! I kew you were bussy working!

          Thanks for your answer! I’ll be waiting for that new release!

          Have a nice week!

          • Aaron NZ Aaron

            Hi, this may be a bit of a stretch but how about a date/time field… could be asking a bit much, but was thinking of Start date/finish date for limited time products… unless this is covered in another plugin, have been hunting but can’t seem to find anything.

    • Javier Riveros CL Javier Riveros

      By the way, let me tell ya’ that I managed to show and create checkboxes in the custom field list options, and then show them in the product custom fields, but can’t manage to save them or show them in the storefront …

      • Van PH Van

        can you share how you were able to add checkboxes to wp-ecommerce add new product backend?

        • Javier Riveros CL Javier Riveros

          I made some changes but still can’t figure out how to save the changes and show them in the frontend. I’m waiting for visser and his new release. (comment 56342)

          But if i got something I’ll let you know.

          BANZAIII !!!

  9. Ian GB Ian

    Thanks for this great plugin.

    I’m trying to make the dropdown options pull from the database.
    However, when I do this, the code is removed when I view the page.

    I’m editing release-3_8.php and starting at line 62 I have the following

    case 'dropdown':
    $output = '

    if( $wpsc_cf_field['options'] ) {
    // wp_reset_query();
    $args = array( 'post_type' => 'artist', 'order'=> 'ASC', 'orderby' => 'title');
    $loop = new WP_Query( $args );
    $loop = maybe_unserialize($loop);
    while ( $loop->have_posts() ) : $loop->the_post();
    # $output .= '' . the_title() . ' ' . "\n";
    $output .= '
    ID, $wpsc_cf_field['slug'], true ), false ) . '>' . esc_textarea(the_title()). ' ' . "\n";

    $output .= '

    ' . $wpsc_cf_field['description'] . '';

    When I view the page, the drop down box is messed up – the items are removed somewhere along the way. Is there something I need to register to make my own data to be preserved??

    • Ian GB Ian

      I managed to get this working. I was requesting the wrong variables from WP!

      case 'dropdown':
      $output = '

      ---- Record labels ----';
      if( $wpsc_cf_field['options'] ) {
      $args = array( 'post_type' => 'artist', 'order'=> 'ASC', 'orderby' => 'title');
      $options = new WP_Query( $args );
      while ($options->have_posts()) : $options->the_post();
      $labelName = get_the_title();
      $output .= 'ID, $wpsc_cf_field['slug'], true ) ). '/>' . $labelName .$post->ID . '' . "\n";
      endwhile; // End the loop
      $output .= '

      ' . $wpsc_cf_field['description'] . '';

      Just need to get it saving data now and I’ll be rockin

      • nemanja CY Nemanja

        have you managed anything?

        • Ian GB Ian

          I ditched the approach above and I’m now using the skeleton plugin to some effect. Haven’t finished yet though

          • Michael Visser au Michael Visser

            Hi Ian, keen to see what you’ve done. Happy to give you collaborative access to the Plugin. 🙂

  10. Greg Kerstin US Greg Kerstin

    Hey, I’m having a problem with Custom fields 1.4.3, and WPEC It always says No Custom Fields have been created. I’ve tried saving new ones, and it still says that.

    • Greg Kerstin US Greg Kerstin

      Ohhh I see the ADD NEW CUSTOM FIELD NOW!

  11. dean-lynn GB Dean-lynn


    I’m trying to work out how to include a Custom Meta/Custom Field Value in the display.functions.php.

    Either solution would be fine custom field or custom meta tag. Reason for this is I need to grab the information from a field to put in the add to cart button form.

    Any Guidance would be great.

    • pau1phi11ips GB Pau1phi11ips

      You can use this to retrieve the info from a custom meta field.

      echo get_product_meta( wpsc_the_product_id(),”your-custom-meta-slug”, true);

      Is that what you were after?

  12. Chuck US Chuck

    Also… every time I use a ” or a ‘ in a custom field dropdown item……… it translates that to \” or a \’.

    Example: All of this prints\’ editions are \”soldout\”.
    This should be: All of this prints’ editions are “soldout”.

    Please advise.

    • pau1phi11ips GB Pau1phi11ips

      This is in place to stop the the script breaking when outputting the text. May I suggest a simple re-wording?

      “All the editions are sold-out for this print.”

      • Chuck US Chuck

        Ok… thank you.

  13. Chuck US Chuck

    Hey Michael….
    I have two lengthly customfields items in a dropdown:

    (Customfield) Soldout Status
    (Dropdown options)
    1 – One or more of this prints’ editions are “Sold Out” and on the secondary market. However… we still have a limited number of these rare print editions available for purchase. See the table below for more information regarding this “soldout details” of this print.

    2- One or more of this prints’ editions are “Sold Out” and on the secondary market. We no longer have any of thes rare print editions available for purchase. See the table below for more information regarding this “soldout details” of this print.

    THE PROBLEM IS….The type in my second drop down option gets cut off when I try to apply it to a product page. Instead it says only says…..All of this prints\’ editions are \

    Is there some kind of limit on the number of total characters for each field?

    Please advise.

  14. Andrew IE Andrew

    Custom fields and search results in WP E-commerce:

    I’m trying to get the search module Relevanssi to include my custom field in it’s index.

    My Custom Field:
    Name: Author
    slug: book-author
    Field Type: input

    Relevanssi search configuration:
    -Indexing Options:
    –Custom post types to index: wpsc-product (I only want products displayed/this is a product search)
    –Index and search your posts’ attachments: YES
    –Expand shortcodes in post content: YES
    –Index and search your posts’ tags: YES
    –Index and search your posts’ categories: YES
    –Index and search your posts’ authors: YES
    –Index and search post excerpts: YES
    –Index and search these comments: NONE
    –Custom fields to index: HELP WITH THIS.. (I have a feeling this is my snag point.. would it be any of these: _wpsc_author, author, book-author, wpsc_the_custom_fields) ??
    –Custom taxonomies to index: EMPTY

    The search index is catching all of my products. However it does not return search results for the terms inside my custom field.

    • Andrew IE Andrew

      UPDATE: The problem is solved.

      I used this comma-seperated list for ‘Custom fields to index’ field in Relevanssi:

      That seemed to do the trick.

      • Shaun Evans AU Shaun Evans

        Hi Andrew, Mike …

        I’d like to get the same going on with WPEC 3.7 … any idea what custom fields I should use with Relevanssi? I imagine it’s set up a little differently than if I were using 3.8. Thanks for your input! — Shaun

        • Michael Visser au Michael Visser

          Hi Shaun, WP e-Commerce 3.7 doesn’t use Posts so will be incompatible with any off the shelf Custom Post Type-based Plugin. Products are stored in the wp_wpsc_product_list table and will need to be queried directly.

          • Shaun Evans AU Shaun Evans

            Gotcha. So the best bet for 3.7 users would be creating a page template that displays results for a given slug and linking to that directly? Is there any way to use a query to pull a given slug? Thanks!

  15. Fajy de CH Fajy de


    Is it also possible with your plugin to give to the customer the possibility to uplaod more than one picture, like for example T-shirt front picture and T-shirt back picture.

    I’d like to sell some Customizable t-Shirt with more than one picture to be uploaded.

    Best regards

Leave a Reply to ayadav064 Cancel reply

Before you comment - Do you have a support request? If so, this is not the right place to post it. Please submit support requests for Premium Plugins on the Support page and in the community Support Forums for free Plugins.


Custom Fields comes with a Quick Start document (readme.txt) to help with installing the Plugin. Additional support can be found from the Contact page or methods below.

Urgent Support

If you find yourself needing immediate support for your purchase use the Premium Support page or Live Support button.

Custom Fields Forum

If you have any problems, questions or suggestions please join the members discussion on our Custom Fields forum.