Home » GetShopped News » WP e-Commerce Release (Updated)

WP e-Commerce Release (Updated)

Update (2012/07/14): Just a reminder. After you upgrade to, please go to Settings -> Permalinks and update the permalinks settings there again. The erroneous rewrite rule that causes “preg_replace” warning will be replaced with the correct one.

Update (2012/07/13): WP e-Commerce has been released to address the following two issues:

* preg_replace PHP warning after upgraded to
* Order Closed status does not count in the sales log totals on dashboard widget.

The release of WP e-Commerce is now available. This is a maintenance release that fixes a few important issues that users were having with the release and WordPress 3.4+.

The following issues have been addressed in

* Also bought product image doesn't display correctly.
* Pagination fails when hierarchical category URL is enabled.
* Product Specials Widget causes 404 errors. Props Chris Jean.
* Product category slug beginning with a digit doesn't work.

In this version, we have also updated the translation for the following languages: Chinese, Portuguese (Brazil), Dutch, Spanish, German, and Czech.

As always before upgrading it is advised to make a full backup of your site (wp-content directory and a Database backup). If you’re unsure of how to make a backup then we would recommend you use Backup Buddy.

Once backed up you can upgrade your WP e-Commerce plugin from within your plugins menu or you can download the latest version from WordPress and upload it via FTP.

If you’re having any problems or questions about this release or how to upgrade, please don’t hesitate to let us know via this blog post.

70 Responses to WP e-Commerce Release (Updated)

  1. Stef July 13, 2012 at 12:30 am

    I’ve been using Subversion to keep all my WordPress installs up to date for years, but unfortunately the latest wp-e-commerce from WordPress’s repo ( http://plugins.svn.wordpress.org/wp-e-commerce/tags/ ) now fails with the following error:

    Fetching external item into ‘wp-e-commerce’
    svn: warning: The path ‘wp-e-commerce’ appears to be part of a Subversion 1.7 or greater
    working copy. Please upgrade your Subversion client to use this
    working copy.

    Any chance of downgrading this repo? Debian 6 Stable and Ubuntu 12.04 LTS both still use Subversion 1.6; switching to the unstable subversion package to get 1.7 forces a load of other things into unstable (including postfix), which means I can’t do it on production servers.

    No worries if you can’t – I’ll just have to manually SFTP the files – but if you could fix this without much trouble then that’d be great. Thanks!

  2. derekfudge July 13, 2012 at 3:51 am

    Version completely breaks all products and product category pages with this error;

    Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset and then site relevant gibberish

    Reverting to sorted it.

    • robert heller July 13, 2012 at 5:04 am

      you know, i’ve been in software engineering for 30 years. i would regularly fire people for telling me they had tested software updates that, within a day of release, showed critical bugs.

      i just installed and guess what, i can’t add anything to the shopping cart.

      look guys, it’s nice you do the basic plugin for free. but there are people like myself who have paid you good money to make sure this stuff works. it drives me nuts that you people have very poor quality control, exceeded only by your very poor documentation.

      • Davys July 14, 2012 at 12:02 pm

        I have to say……You are right. I also have a gold cart and this bugs are ridiculous.
        I wish we could pay 50 bucks for some that works…
        This plugin is basic and breaks with every update.

        • Mychelle July 16, 2012 at 12:13 pm

          Hi Davys,

          I would suggest that you contact premium support as your a gold cart customer, and entitled to premium support.

          The team in there will be able to help you with any questions, errors bugs etc.

          Normally we find that bugs are just settings gone wrong or something unique to your site and its setup. Either way we are very happy to help you resolve any issues.


      • Gary Cao July 14, 2012 at 4:05 pm

        Hi Robert,

        I’m Gary, lead dev of WPEC.

        I suspect that this is caused by the preg_replace warning interfering with the AJAX output when you add items to cart. The items are indeed added to cart, it’s just that clicking add to cart won’t indicate that the items are added. Updating to would resolve this issue.

        We apologize for messing this up. If after upgrading, the problem still persists, please contact me (gary@instinct.co.nz) and I will personally assist you with fixing this.


        • Michael July 16, 2012 at 9:46 pm

          Hi Gary,
          I recently upgraded to 3883 but encountered two problems. (1) the sales totals/counts are wrong which I see may be fixed now. (2) the Purchase Reports have lost their headings/formatting. Do you know if (2) being worked on?

          If your looking for other things to ‘fix’ then these two small things really drive me nuts – because they are small! (a) emails WPEC sends out do not have unique Subject lines i.e they don’t include the purchase number in the subject.(b) on the transaction results page the Review and Purchase section doesn’t show all the $ items which make up the grand total eg. the product and tax totals are not there.

          Regards, Mike.

        • Gary Cao July 19, 2012 at 12:39 pm

          Hi Michael,

          When you said “Purchase Report”, are you referring to the web page displayed when you finish a transaction, or the email notification sent to the user / admin?

          It would really help if you could post a screenshot.

          The request for unique email subjects is reasonable. We will consider scheduling it in our next release. The transaction results page will undergo a refactoring in 3.8.9, which will address your other issue with missing item totals as well.


      • Mychelle July 16, 2012 at 12:11 pm

        Hi Robert,

        Thanks for confirming below that your problem was caused by a plugin conflict please follow up with Gary if you have any further problems.

        • Mike September 3, 2012 at 5:41 pm

          Hi Gary,
          Sorry for the delay in getting back to you – I thought I’d get an email notification if my query was replied to. OOps on my part.

          Yes, it’s the Purchase Report email that gets sent to the shop operator/owner. If you visit http://wpbugs.com/2012/02/wp-e-commerce-purchase-report-layout/ you’ll see a comparison of the earlier version of the email which is nice and tidy with headings and spacing and the 3.8+ version with all that gone.
          Regards, Mike.

    • jwheck July 13, 2012 at 5:35 am


      I’m having the same problem with the preg_match warnings. On one site I was able to fix it by disabling the plug-in, resaving the permalink option, then re-enabling the plug-in. But that did not work on my other site. That one I had to copy over the like you said.

      • Mychelle July 13, 2012 at 8:01 am

        Hi Jwheck,

        Michelle here from WPEC thanks for providing this solution its something that Gary will be looking into for sure. For your other site as this is only a warning showing you could try turning off your server warnings by placing the following code in your wp-config.php file ini_set('display_errors', 0); This will supress your server warnings and notices and just log them to your error log.


    • Alex Silver July 13, 2012 at 6:20 am

      Having this exact same issue, and do not have a previous build to revert back to. Anyone want to help expedite this fix request? It’s throwing the error line at the top of my site all across the board.



      • Mychelle July 13, 2012 at 8:00 am

        Hi Alex,

        To revert you can donwload previous versions from here: http://wordpress.org/extend/plugins/wp-e-commerce/developers/

        Otherwise as this is only a warning showing you could try turning off your server warnings by placing the following code in your wp-config.php file ini_set('display_errors', 0); This will supress your server warnings and notices and just log them to your error log.

        The lead developer Gary will be working on a fix for this warning right away and we will keep everyone posted in the blog.


        • Alex Silver July 13, 2012 at 8:25 am

          Thank you for a temporary solution and letting us know about the status of the fix. It helps a bunch!



    • Mychelle July 13, 2012 at 8:04 am

      Hi Derekfudge,

      Michelle here from WPEC, thanks for your feedback the lead developer Gary will be looking at this error today and will be posting and update. I am sorry you have had troubles with this, hopefully he can recreate and fix this problem quickly.

      In the mean time if you would like to upgrade you could try turning off your error warnings.


  3. Robert Heller July 13, 2012 at 5:38 am

    ok, i figured out my problem.

    i had the email encoder plugin enabled. once it was disabled i could go back to adding products to the cart.

    i’ll have to figure some other way to stop the spam for now…

    • Mychelle July 13, 2012 at 7:57 am

      Hi Robert,

      Michelle here from WPEC, thanks for letting us know you have resolved your plugin. I will try this plugin myself to see if I can create the plugin conflict it may be an easy fix and you can keep both plugins.


  4. Deb July 13, 2012 at 6:24 am

    Would you recommend upgrading to WP before initiating the upgrade to the new Word Press 3.4?

    • Mychelle July 13, 2012 at 7:55 am

      Hi Deb,

      Sine your doing both upgrades make sure you take a backup of your site.

      I would suggest that you upgrade to WordPress first that way you can check if any of your other plugins are broken. WPEC is compatible with WP 3.3 so it doesn’t matter if you want to just upgrade WPEC and do WP later.


  5. Roy Ho July 13, 2012 at 7:07 am

    I have the latest and latest WP and I am not having any issues at all. Everything is working so far for me. Good job Instinct team!

    • Mychelle July 13, 2012 at 8:47 am

      Hi Roy!

      Glade this is working for you., for anyone else having problems please try visiting your permalink settings and re-saving them twice.

      I have now done this on a few support topic sites and it seems to resolve the error instantly.


    • Tatiana September 17, 2012 at 3:20 pm

      The benchmark was run on a prttey old MacBook Pro 2.2Ghz core duo with 4 gigs of ram running Debian Lenny.I will look at the memory consumption in the upcoming cross-language benchmark.Concerning your other ‘requests’, a qualitative comparison of documentation is really hard, I have been focussing mainly on the framework acting as some sort of Comet / Websocket and in that situation I don’t think SSL support is an issue as i imagine that in a production setting these daemons would be sitting behind a proxy anyway.

  6. monkseo July 13, 2012 at 9:31 am

    hi, I am having 2 issues after the upgrade.

    1. on some of my product pages it is showing custom meta data variable feeds in the products, this used to be hidden if they had no value – but now their names are showing after this update.

    and also on quick view or regular product view – it adds the products to the cart, but the little box or arrow pops up and never stops moving to complete its cycle… any ideas?

    • Roy Ho July 13, 2012 at 9:40 am

      You can go to your WPEC template within your theme and comment out the custom meta fields. That function is what is showing your meta data values. Search for “meta” in the templates and you should see a chunk of code that you can just comment out.

    • monkseo July 13, 2012 at 10:06 am

      Hi, I reuploaded WPEC and WordPress Core and was able to resolve that issue…

      but now I have this issue:

      Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 27 in /home/danbaron/public_html/wp-includes/class-wp.php on line 201

      Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 27 in /home/danbaron/public_html/wp-includes/class-wp.php on line 202

      And I tried saving permalinks twice and it didn’t work – I even deleted the htaccess file and then hit save 2X again on permalinks to make a fresh htaccess file but I still get this error!

      please help, thanks.

      • monkseo July 13, 2012 at 10:59 am

        I also tried deleting the rewrite value in the DB under wp_options and made sure that was cleared out before saving the permalinks again 2x but still same problem

        • Mychelle July 13, 2012 at 11:47 am

          Hi Monkseo,

          The developer will be working on this today however another suggested fix that is also working for a few sites is to edit the wpsc-functions.php file online 865 you should see the following code:

          '(' . $products_page . ')/([0-9]+)/$?' => 'index.php?pagename=$matches[1]&page=$matches[2]',

          Change it to:
          '(' . $products_page . ')/([0-9]+)/?$' => 'index.php?pagename=$matches[1]&page=$matches[2]',

          Flush your permalinks again by resaving twice and the error messages should go away.


  7. monkseo July 13, 2012 at 11:53 am

    i had to downgrade to to get it working without that crazy error.

  8. monkseo July 13, 2012 at 12:15 pm

    ok cool, thanks that code mod worked!

    • Mychelle July 13, 2012 at 1:44 pm

      Hi Monkseo,

      Thanks for confirming this fix worked for you it seems to be the most reliable solution right now the patches should be out soon and if anyone else is having problems editing the file then please let me know.


  9. Christian July 13, 2012 at 1:04 pm

    what directory is that wpsc-functions.php Cant find it, i may be looking directly at it, but in panic mode having to shut off site.

    • Mychelle July 13, 2012 at 1:43 pm

      Hi Christian,

      Sorry you can find the file in the following directory: wp-content/plugins/wp-e-commerce/wpsc-core

      Let me know if your having any problems


  10. mgason July 16, 2012 at 7:23 am

    order by “Time Uploaded” on Presentation tab does not work. Orders by post ID. I do not think this is new though

    • Mychelle July 16, 2012 at 12:07 pm

      Hi mgason,

      Thanks for pointing this out I will test it myself and create an issue on our Google code bug tracker if I can recreate.


  11. citrine July 16, 2012 at 2:43 pm

    I’m wondering if there is any plan to add the “tab” feature to the single products page? More and more shops are popping up with these and it seems wp e-commerce should keep up.


    It seems like a great way to provide additional information and save space :)

    • Roy Ho July 16, 2012 at 5:36 pm

      This is something you can add in yourself to the template quite easily using jquery ui which is already there in native wordpress.

  12. Clarel July 16, 2012 at 6:30 pm


    When I use custom meta for a product, it doesn’t appear in the product details on the product page. I can only see the custom meta when I click ”view product” after I add or update a product page.

    For example I add a custom meta ”Discount” and I put details ”until stock last” but it doesn’t appear on the product page. How can I fix this issue please?

  13. Mohsin July 16, 2012 at 6:31 pm

    I am having issues while integrating Multisafepay Payment Gateway with WordPress 3.4.x
    Any suggestions, I am unable to see the configuration tab for this Multisafe Gateway, while others are working fine? Thanks

  14. dito July 17, 2012 at 8:05 pm

    Hi! I’ve found a bug in the languages .pot file. Do the following:

    - open the wpsc.pot with PoEdit
    - press CTRL+F to search for the word “item”
    - you will find “%d item”. Try to translate it and save.

    To me, my translation doesn’t appear in the translations field and when I try saving it says that it has found 1 fatal error.

    Also, please make translations for:

    - “from” from the product page price [e.g. from 5$]
    - “under”, “above” from the Price Range widget
    - “Continue Shopping” the button from the right corner of the checkout page
    - “– Please select –” that appears in the form when client is asked to select a variation

    Other things that are on my mind:

    1. Make it possible to add a “Call for a price” instead of price, I know there is a plugin for that but it doesn’t work.

    2. Make it possible to add a price / something. Eg. $500/hour, $100/50 pieces.

    3. Make it possible for the customer to also buy products for his company by inserting other fields in the checkout form (company name, registration no., headquarters, etc.)

    4. When a product has variations, all the related products that appear to that product have price 0.00

    5. Add a option for Thickbox to open the image in full size.

    Thank you! Hope you read this.

    • dito July 17, 2012 at 8:37 pm

      ah, I’ve found the solution for the .pot file. I should have translated an existing language file, not save a new file from the .pot file. D’oh, that sucks. I have to translate it all over again.

    • Gary Cao July 19, 2012 at 1:02 pm

      Hi Dito,

      I’m Gary, lead dev of WPEC.

      Thanks so much for the list of suggestions.

      We’re having a thorough audit of translatable strings for 3.8.9. By then, all of the remaining strings will be made available for translate.

      The remaining suggestions, most of them are perfect ideas for a separate plugin from core. We’ll keep a note of those and consider developing them.

      Except for issue #4. If you could have a screenshot that would be extremely helpful. In the mean time we’ll try recreating this issue on our test sites.


      • dito July 20, 2012 at 6:10 pm

        Hi Gary, thank you for your answer :)

        I found something out: for the translation of files is better to use “BetterPoEdit” (freeware) because it supports better the strings that have multiple forms. If it happens to give an error you have to take a look at the line number where the error occurred. Then edit the .po file in Notepad++ and fix it (to me it was missing a “/n” at the end of the string). Then save and open again with BetterPoEdit and save again (to compile with the .mo file). This is a fix that should keep the translations problems away :D

        For issue #4, I guess there is a pretty good chance to be the themes fault. If you have time, you can see here: http://bit.ly/OzSmXn

        • dito August 16, 2012 at 3:37 am

          Hi! Have you got a chance to take a look at #4 problem? (When a product has variations, all the related products that appear to that product have price 0.00).

          Is it a theme problem or will be fixed with the next release of the plugin? Please answer when you have time so that I know what to do next. Thank you!

  15. DavysMarchiori July 17, 2012 at 9:44 pm

    I its hard to find a way other than posting here to inform that when users are trying to get premium support via http://getshopped.org/resources/premium-support/
    All 3 links are broken
    Gold Cart Here
    Recover it for you here
    We can do so here

    I finally noticed the problem and was able to bypass that in order to get premium support.
    You guys need to have some email posted somewhere, so when we try to help, we will know where to go to.




  16. Matthew July 18, 2012 at 4:59 am

    I recently upgraded to wp ecommerce and the ‘personalise your product’ message that people write when they buy something has stopped displaying at the checkout/paypal stage. In short I don’t recieve their message with the order notification and it has caused a few embarrassments.
    Is this a problem with the new version? If so, can you get it working again?

  17. mgason July 18, 2012 at 6:21 am

    Ditto from me, personalisation is no longer in the Purchase Report email or customer receipt email.
    It is in the Store Sales dashboard. There the layout/formatting is a bit messed up like this..
    Product A:
    personalisation for Product AProduct B:
    personalisation for Product B

    • Mychelle July 19, 2012 at 11:34 am

      Hi Matthew and Mark,

      I will alert the lead developer Gary about this now hopefully its something small that got over looked.
      Either way this is something that we will test and fix if it is indeed broken.

      I will talk to Gary first and if the issues gets fixed I would be happy to apply the patch to your files.


  18. Carolina July 19, 2012 at 6:51 am

    I uninstalled and deleted the e-commerce plug-in, but I still get the error message about all the pages.
    “Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 14 in /home/hiddenba/mothers/wp-includes/class-wp.php on line 201

    Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 14 in /home/hiddenba/mothers/wp-includes/class-wp.php on line 202″
    How can I fix this?
    thank you

    • Gary Cao July 19, 2012 at 12:32 pm

      Hi Carolna,

      I’m Gary, lead dev of WPEC.

      You need to upgrade to WPEC and then go to Settings->Permalinks to refresh your rewrite rules (either by clicking the Save Changes button, or you could select a different permalink scheme, save changes, then switch back to the original one).


  19. Davys July 23, 2012 at 10:13 pm

    Hello there,
    I am running WPMU version 3.4.1 and the lastest version of wpecommerce.
    When I have a blog with a domain mapped for it, buttons at the checkout page don`t work. Like if you try to clean the cart, it does not work, if you try to change the qtd of the product in the cart will not work. If I disable the mapping plugin everything goes works fine.
    I noticed that if I have the domain mapping plugin activated I have to manually go that particular blog settings and change the checkout url and siteurl to the domain mapped and flush the cache….That way will work..
    Is there a way to fix this so I don`t have to do it manually?


  20. Lon July 24, 2012 at 8:46 am

    Since the upgrade t0 I get 504 gateway timeout errors whenever I try to update a product page. Blog posts and web pages (not associated with wp-ecommerce) update and save fine.

    This may have been the case with as well, but I did not update any product pages after that upgrade.

    Here’s what happens. I open a product page from the admin section of WordPress, make a change, and press update. The window hangs, showing the timer icon, and eventually times out. I have to close the browser and re-log into my wordpress admin section to make another change.

    There are two other users who have expressed having this problem in the community forum.

  21. nuvu July 25, 2012 at 10:10 pm

    I am running WPEC on WP 3.4.1 on a new install, using the test gateway as a manual payment portal the session id returns this page ../shop/transaction-results&sessionid=xxx as expected, but when using a credit card gateway (payU) the return is ../shop/transaction-results&sessionid=yyy, again as expected, except that instead of loading the transaction results template it loads the shop (productspage) template instead…

  22. Ryan July 29, 2012 at 3:38 am

    Hi I just wanted to check with you guys to see if this is something that would work on my site http://bulldogpcinc.com we are a pest control company and we need is for customers to be able to click a service they want and pay for it but they also need to be able to schedule a time. Let me know if i can make this work

    • Mychelle August 1, 2012 at 11:18 am

      Hi Ryan

      Michelle here from WPEC thanks for your comment sorry for the delay in getting back to you. This is something that will work and I have seen people do before. You can either create a custom form on your checkout field to collect the time and date or you can create it on the product by using the advanced product options.


    • Ashok Rane October 6, 2012 at 2:24 am

      Hi Ryan,

      I have created Order Delivery Date plugin which will allow you to put the delivery date field on the checkout page & also control the dates. It will allow you to control the dates, time range, 24 themes for the calendar, customize the field label, etc. Check out the latest version of the plugin at:


  23. Niomi July 29, 2012 at 2:14 pm

    I had everything working fine, untill I updated, wordpress and e-commerce to the latest updates. When you go to Store Settings – Checkout. I cannot add new fields. All the plus and minus buttons that used to show on the far right are missing? I read on here that it may be a plugin conflict. After fidderling around. I have no decided to do a complete, NEW intall of wordpress on my site, along with a NEW install of e-commerce. Forfited all my shops products, the design and months of hard work. Now all I have on my site is a clean install of both wordpress and e-commerce. Nothing else. Went to Store – Settings, Checkout. They still dont show. What a complete waist. What am I doing wrong?:

    • Mychelle August 1, 2012 at 11:16 am

      Hi Niomi,

      Michelle here from WPEC, sounds like your having a terrible time. however this sort of problem does sound like its related to a plugin conflict or theme conflict. Did you make a backup and database before you upgraded? or before you deleted it?

      If you have a backup then I would suggest you contact premium support so they can debug and fix this for you. Otherwise you can try the default theme to rule out a theme conflict. or restore your backup that you made before upgrading both wpec and wordpress.


      • Niomi August 9, 2012 at 3:24 pm

        Hi Michelle. I uninstalled everything, took wordpress off my server, reinstalled it. Installed ecommerce again. No other plugins running, so how can it be a plugin conflicked. Also went back to the Twenty Twenty Theme.. Still.. No plus or minus tabs in – Store – Checkout. Gave up trying to edit my checkout since I can’t and left it. Reinstalled my own Theme, but it’s all changed,… so I’ve started making it look how I want. I have also Started adding products again, all one by one, since previous backups did not work. Just found today that, in potsing where you can edit, the day.. I click edit, and no boxes show for me to edit the date. It just says, ok or cancel. No where to change the date. Should I just go back to the previous version, it all worked fine then? Is ANYONE else having this problem.?

        • Mychelle August 16, 2012 at 3:23 pm

          Hi Niomi,

          I am going to email you directly to see if I can help you with this.


  24. MIke August 28, 2012 at 12:02 pm

    At 3885 it seems the Sales Summary is not correct. It’s including ‘Order Recieved’ order.

  25. Don Francis September 7, 2012 at 12:18 am

    I have a client who has been happily using wp-ecommerce for 12 months now. We haven’t made any upgrades to the base version of WordPress or to wp-ecommerce in that time. But now is the time to do so. Interestingly currently the plugin does not declare itself as requiring an upgrade but this may be because we are currently using WP 3.0.3 and WP-ecommerce 3.7.8. Last weekend I backed up the site, deactivated all plugins, upgraded WP to 3.4.1 and re-activated the plugins. WP-ecommerce then declared that it needed updating. So I instigated an automatic update of wp-ecommerce and in so doing completed vaporised the wp-ecommerce database. No products, no sales. Fortunately I had a backup and have restored since then. But I am back to square 1. What do you think I should be doing differently?

    • amandablum September 7, 2012 at 5:26 am

      Hi Don,

      unfortunately, in the WordPress world, there area certainly people who don’t upgrade for fear of messing up their site. As you well know from updating core, its kind of manifest destiny: don’t update for long enough and you have the same problem when you do. Updating from 3.7x to 3.8x is actually a HUGE step. I compare it to upgrading from WP 2.7 to 3.0. You’ve got to take a lot of steps inbetween. Interestingly, we’ll have a post going out today on this very subject. Because 3.7 is now 18 months + out of date, we’ve depreciated support for it- so the blog today will talk about how to upgrade if you want to go it on your own, or if you’d like us to do it for you. Look for it in a few hours. Don’t worry, we’ll make sure you’re taken care of.

    • Mychelle September 7, 2012 at 10:56 am

      Hi Don,

      The post is out now but it sounds to me like you didn’t run the database upgrade you can do this by going to dashboard > store update. This will convert all your products to their new custom post type it will also update your sales logs.


      • Don Francis September 7, 2012 at 7:16 pm

        Michelle, should the database upgrade be the last thing I do, after the WP base upgrade and the WP-ecommerce upgrade?

        • Mychelle September 11, 2012 at 3:13 pm

          Hi don,

          Thats correct once you have upgraded everything you will need to convert your products to the new custom post types