Home » GetShopped News » WP e-Commerce is now compatible with WordPress 3.5

WP e-Commerce is now compatible with WordPress 3.5

WP e-Commerce is now available for download.

In this release, we fixed some major issues with certain hosting configurations, especially the dreaded blank checkout page, or error when adding items to cart. We also made sure WP e-Commerce is playing nice with WordPress 3.5. You will notice that the product edit page is properly supporting the new media UI introduced in WordPress 3.5. It certainly makes managing product images much more pleasant.

Below you can find the list of changes made in this release:

* Fix: "No shipping quotes" error is displayed when selecting
"Shipping same as billing".
* Fix: Avoid flooding transient data when site's feed is being
  visited by bots.
* Fix: Blank Checkout page for some certain installation when
  Shipping is enabled.
* Fix: Can't add to cart on some server.
* Fix: Fatal error when viewing product variation iframe, because
  _wp_admin_html_begin() does not exist on older WordPress versions.
* Fix: MySQL error/warning in _wpsc_filter_special_widget_where().
* Fix: Only show attachment fields when viewed on an edit product page.
* Fix: PHP Notice in cart.class.php.
* Fix: Properly escape columns in admin products page.
* Fix: Purchase log's item names are not translatable via qTranslate.
* Fix: Shipping same as billing saves "State" field label as the
  shipping region.
* Fix: Shipwire settings are not updated.
* Fix: Shipwire syncing doesn't take into consideration products in
  trash, or multiple products using the same SKUs (as in WPML)
* Fix: Specials widget is empty when there are no product with variation
* Fix: Variation sets are not being sorted on the front-end.
* Fix: WPEC doesn't cooperate with WP 3.5 media UI.
* Fix: wpsc_pre_transaction_results filter is ignored.
* Make sure admin styles are enqueued for product variations iframe in
  older version of WordPress.

It is extremely important that before you upgrade to, please back up your files and databases. Backup Buddy is our top choice for making backup simple and effortless.

How to upgrade

You can simply use WordPress automatic updates feature to download and install WP e-Commerce

If that doesn’t work for you, try the following steps for a manual upgrade:

- Download WP e-Commerce from here and save it to your computer.

- Extract the downloaded package to a folder on your computer.

- Upload the contents of that folder to this path on your server, overwriting all existing files: wp-content/plugins/wp-e-commerce

56 Responses to WP e-Commerce is now compatible with WordPress 3.5

  1. CitizenChan December 13, 2012 at 7:16 am

    Thank you. I have to deliver a site I built on your plugin by friday, and a missing shipping component is kind of a big deal.

    Thanks for fixing this.

  2. tak December 13, 2012 at 8:49 am

    “Shipping same as billing” working in our site!!! Thank you.

  3. Visser Labs December 13, 2012 at 9:11 am

    Updated our site and all our dev. sites to with WordPress 3.5, WP e-Commerce and Twenty Twelve never looked so good! :D

    • Visser Labs December 13, 2012 at 9:26 pm

      Hi gang, where can we raise issues/changes? Is there a Topic or Forum Category within the Support Forum that the Core team monitors? Creating topics there will mean we stop polluting blog posts with technical issues.

  4. cam_o December 13, 2012 at 1:37 pm

    hey guys,
    well done on the changes.
    just a couple notes on Shipwire,
    Shipwires missing a few shipping methods in convert_code_to_service() & convert_service_to_code().
    Don’t think FT exists and INTL needs to be changed to Standard Shipping.

  5. Sol December 13, 2012 at 6:19 pm

    Good work WPEC team

    Did you fix the emails not sending issue?

    Looking forward to testing.

  6. adnanoner December 13, 2012 at 9:21 pm

    btw when are you guys going to replace .livequery with .on in the wp-ecommerce.js . livequery is depreciated and also makes some plugins incompatible and the replacement .on works perfectly. I can send you the updated code if you want but I think this problem was also mentioned on google code.

  7. Anette December 13, 2012 at 10:00 pm

    After update all i’m not able to open/close the layouts in theme settings and also in Widget im unable to open/close all the footer section?
    Should I try to update again??
    I have restarted several times??

  8. StereoHero December 13, 2012 at 11:04 pm

    Set shipping price on individual product to a four digit amount, for example 2500. Hit Save/Publish – everything looks fine. Hit Save/Update again and 2500 turns into 2.00.

    • Mihai December 14, 2012 at 9:31 am

      Thanks for spotting that!
      I will notify our developer and a fix will most likely be supplied with next update.

      • Bart Pluijms February 6, 2013 at 10:14 pm

        I am using and I have a problem properly related to above.
        After hit save/publish everything looks fine, hit save/update again and the price turns from 2500.00 into 250000.00 .

        When I am using a comma (,) in the price like (2500,00) everything works fine and getshopped converts it to a dot (.), but now I have to correct the price everytime I update a product.

  9. adekbayi December 14, 2012 at 12:06 am

    after update to and WP 3.5 too,
    i can’t edit stock, it always show N/A
    please help….

    • adekbayi January 1, 2013 at 11:28 pm

      hello… no one response to me? at wp 3.5 and e commerce + gold card, i can’t edit price and stock

      please help me

      did my 47USD has not work??????

  10. ktheory December 14, 2012 at 9:44 am

    [wpsc_products product_id='281'] now broken for grid view.

  11. AlexandraNestoridou December 15, 2012 at 12:03 am

    I have just installed a clean WP 3.5 and the latest versions of wp-ecommerce and gold cart:

    I am using twentytwelve as a theme but have also tried with others.
    The product editor is not responsive nor do the editors icons display.

    No other plugins are installed or used.

    Any idea?


  12. shannon December 15, 2012 at 1:14 pm

    Nope. Not fixed. I have one stinking, okay it’s not stinking, tee shirt showing and that’s it. Just in time for Christmas.

  13. Rebecca December 16, 2012 at 12:08 am

    Not fixed. If I enable the plugin I receive the error

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/myuserhere/public_html/wp-content/plugins/wp-e-commerce/wpsc-merchants/paypal-express.merchant.php on line 586

  14. TBFB112011 December 16, 2012 at 7:29 am

    I do not have a cart or checkout page and Paypal does not show up as a payment option even though it has been set up. None of the cart pages are functional. How do, I fix this? I can’t sell anything please help me. I did the upgrade and nothing. HELP!!!’

  15. Deb December 16, 2012 at 10:15 am

    Downloadable products aren’t uploading and can’t be chosen from existing download file links either. On update, the Products field says “There are no files attached to this product. Upload a new file or select from other product files.”

    I’d love to use this plugin if I can get a fix for it.

  16. Risto December 17, 2012 at 10:50 pm

    Well, getting better and better. But still one big issue – while updating WP E-Commerce (also with previous versions) it deletes every plugin and file from wpsc-merchants and wpsc-shipping folders. My developments are gone now.

    • Ray December 18, 2012 at 1:20 pm

      Hi Risto,

      Ray here with WP eCommerce Support.

      What I usually do is to make another folder in the /plugins, and deactivate the old version and activate the new version accordingly.

      Thank you,

    • Justin Sainton December 20, 2012 at 2:34 pm

      Also – if you’re saying that you’re adding/modifying files directly to the core plugin merchants directory – that’s the wrong way of going about it and the plugin is properly overwriting those files.

      • Risto December 21, 2012 at 1:56 am

        I never modify the core files, I added another merchant file there. Also it happens if I add shipping modules.

        My suggestion is that whilst upgrading WP E-Commerce, it should only delete/update the core files and not to delete files that do not belong in the core. Or is it the way WordPress upgrades plugins?

  17. ahojreh December 18, 2012 at 8:59 am

    Have the issues above been addressed? I notice no mention of Gold Cart and I want to make sure it’s safe to update to this version plus WP 3.5 and Gold Cart.

  18. Iain December 18, 2012 at 9:41 am

    It’s not safe– this issue is specific to most, if not all of the Gold Cart merchant plug-ins:


    • Mihai December 19, 2012 at 12:52 pm

      Hello Iain,
      Mihai here with WP e-Commerce support.
      We have seen quite few reports about the emails issue.
      The current dev version of the Gold Cart has been tested and the email issue is fixed! (tested it myself to make sure).
      Should be released soon.

  19. Andy December 18, 2012 at 10:59 am

    I assume everyone ALWAYS backs up their site before upgrading?

    That way, if there is a buggy release, you can roll back and then await the patch. (boctaoe)

    • Ray December 18, 2012 at 1:17 pm

      Hi Andy,

      Ray here with WP eCommerce Support.

      Yes, always back up your site, and even set up staging environment if necessary.

      Thank you,

  20. Tom December 19, 2012 at 12:52 am

    Jeepers WPEC team

    Seems to me that every time you release an update, there are a bunch of new bugs and then 3 or 4 more updates have to follow to fix new bugs.

    Don’t you have a team of testers to thoroughly check a new release? Ah wait – you do – your poor, gullible customers.

    Well, for Christmas I would just like a STABLE version :-)
    Pretty please!

    • Justin Sainton December 20, 2012 at 2:36 pm

      Beta testers are always welcome :) We always try to do several beta and RC releases before each stable release – the more our users are able to test those in their staging environments, the higher success rate we’ll have when stable rolls around.

      This is open-source software that you and all of the other hundreds of thousands of users get for absolutely free. It’s a team effort :)

  21. Thomas December 29, 2012 at 1:25 am


    after upgrade to WP3.5 and WPEC there are no product thumbnails created; for the product (in the shop) or for the variations.

    I use the Twenty eleven theme, with a minor mod of the page heading.

    I guess this is related to the new interface where the Update variations button is gone.

    I have a product image, which I have set to use as product thumbnail. I have tried this several times, both in our live site and in an local (offline) MAMP installation. When I try this with a local copy of the old site (before the upgrade) it works fine.

    I have tried to edit each variation and manage product image for them individually, with no effect.

    Have I misunderstood something in the new interface or is this a bug? Could I expect a fix within the next few weeks or should I rollback? Since this only happens when adding new products, we can manage to live with this for a while but not too long.

    Please advice.

    • Thomas January 6, 2013 at 2:28 am

      Hi again,

      I had a couple of functions to fix WPEC bugs, and when I commented these, the thumbnail shows, but: the square thumbnails bug reappears…

      Here is the code I commented out (which worked fine before the upgrade):

      // *** fix bug with WP e-Commerce and square thumbnails ***
      function template_image_make_intermediate_size($resized_file) {
      $file_path = get_attached_file($_REQUEST['attachment_id']);
      $resized_file = image_resize($file_path, intval($_REQUEST['width']), intval($_REQUEST['height']), false);
      if ( !is_wp_error($resized_file) && $resized_file && $info = getimagesize($resized_file) ) {
      return $resized_file;
      return false;
      if (isset( $_REQUEST['wpsc_action'] ) && isset( $_REQUEST['attachment_id'] ) && ‘scale_image’ == $_REQUEST['wpsc_action'] && is_numeric( $_REQUEST['attachment_id'] ))
      add_filter(‘image_make_intermediate_size’, ‘template_image_make_intermediate_size’, 9, 1);

      // *** fix bug with e-Commerce and not regenerating thumbnails when image is cropped ***
      function template_wp_update_attachment_metadata($data, $post_id) {
      if ( isset( $_POST['action'] ) && $_POST['action'] == ‘image-editor’) {
      $fullsizepath = get_attached_file( $post_id );
      $data = wp_generate_attachment_metadata( $post_id, $fullsizepath );
      return $data;
      add_filter(‘wp_update_attachment_metadata’, ‘template_wp_update_attachment_metadata’, 9, 2);


  22. gregm December 29, 2012 at 3:51 pm

    custom permalinks causing errors, just upgraded to new WP,Cart and WPEC.
    default permlinks brings back ‘cart pagenav’ and ‘checkout page’, but breaks my page links.

    any word on a fix??? Thanks

  23. paulastanton January 2, 2013 at 10:35 am

    I am not computer savy so most of what you say means nothing to me,all i know is I just updated my site and the entire thing is wiped out.

    • Thomas January 6, 2013 at 2:49 am

      Hi Paula,

      While this might not help you with your current site, I would suggest that you use a ready-made blog service with e-commerce (or something else), as installing and maintaining your own requires technical skills.

  24. mgerney January 3, 2013 at 7:08 am

    I upgraded to (automatically). Now I get this error that was supposed to be fixed – never got it before – Fix: “No shipping quotes” error is displayed when selecting
    “Shipping same as billing”.

    Also, my sales tax is being randomly applied – it is supposed to be just when shipping is one state – but it is sometimes applying it to other states, and sometimes not. Please help. I have a backup and can roll back, but would prefer not to. Thanks

  25. umar ayyaz January 4, 2013 at 3:32 am

    Products page are not showing. How i show the products? Please tell me…………………..

  26. T T January 5, 2013 at 8:25 am

    Hello After upgrading to
    WP e-commerce Version
    Gold Cart Version
    I started getting this Error and tried searching for solution, no luck. After I fill out the checkout form and hit purchase bottom, it takes me to paypal site alright but I get this Error in my Error log.

    [04-Jan-2013 18:50:21 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)’ at line 1 for query SELECT `id`, `associated_product`, `quantity` FROM `wp_wpsc_also_bought` WHERE `selected_product` IN(2146) AND `associated_product` IN() made by require (‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once (‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’),
    call_user_func_array, wpsc_submit_checkout, wpsc_populate_also_bought_list

    Will greatly appreciate if some one can help/ or a pointer!

    • T T January 9, 2013 at 1:41 am

      I guess I’ve found the solution:
      If anyone getting this WordPress database error ( pls note that my site is still under Construction)

      So in Store Settings under Marketing when I disable/uncheck
      Display Cross Sales
      I don’t get the above WordPress datebase error
      PayPal Payment Standard 2.0
      Test Gateway
      works perfect now with out any Errors.

      • CoB January 24, 2013 at 10:13 am

        you are my hero… after battling for hours with sandbox and live environment and getting always Warnings such as:

        error_log() has been disabled for security reasons in /users/shopname/www/wordpress/wp-includes/wp-db.php on line 1033 or : Cannot modify header information – headers already sent by (output started at /users/shopname/www/wordpress/wp-includes/wp-db.php:1033) in /users/shopname/www/wordpress/wp-includes/pluggable.php on line 876

        simply unchecking the Cross Sales did the job… but to be honest I would really like to have Cross Selling > Dear Support Team is there a chance?? And by the way I work with the theme gommero light which seems to have quite a wide sidebar leading to the fact that the “Buy now” button on the end of the checkout page (right side) overlays it (half)… is there a possibility to change its position and if so where?? Has anybody an idea and if so please in simple followable steps :)
        Sorry english is not my mother tongue and I am quite a computer dumbo

  27. Marloes January 10, 2013 at 5:49 am

    We are facing in the newest version, that after buying product no confirmation email is send, how so solve this issue?!



  28. Marloes January 15, 2013 at 2:19 am

    We have up-graded to WP e-Commerce and we are using as Payment provider MultiSafePay (iDEAL, Master/Visa) but after a client is paying he is not receiving any payment confirmation mail, so it seems that the newest update is not solving the problem for all payment providers / payments methods?!

  29. Rubina January 16, 2013 at 1:55 pm

    After upgrading to WP e-commerce, I am receiving the following error message when I add or update a product:

    Warning: preg_replace() [function.preg-replace

    ]: Compilation failed: missing terminating ] for character class at offset 7 in /home/content/51/7022751/html/wp-content/plugins/wp-e-commerce/wpsc-includes/currency.helpers.php on line 42

    Can anyone tell me how to fix this??

  30. Darrell January 20, 2013 at 6:32 am

    Prices in variations aren’t showing up at PayPal check out…

  31. Nico January 23, 2013 at 3:03 am

    I´m also facing the fact that no order confirmation is being send after a purchase. I have the same problem as Marloes has. Can you please help us out?

    THX Nico

    • Mihai January 23, 2013 at 10:44 am

      @Nico The emailing issue has been resolved in the latest WPEC version and Gold Cart
      Try updating to those versions.


      • Nico January 25, 2013 at 8:53 pm

        Hi Mihai, I currently use version already, but I forgot to say that I use iDeal Checkout. Does it have something to do with this?

      • Nico January 25, 2013 at 9:02 pm

        I think I have all settings right, the test gateway does send a reciept but my Checkout iDeal Checkout gateway does not :-(

  32. CoB January 25, 2013 at 12:03 am

    I get the following message:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /users/countessofberlin/www/wordpress/wp-includes/SimplePie/Item.php on line 662

    What am I supposed to do and is that the reason why I can’t have more than one picture per product?

  33. junaid umrani February 12, 2013 at 11:54 pm

    how can i change the format of transaction table as i want???
    can any body help me???????????