WP ECommerce Blank Product Page After Upgrade

So you’ve upgraded your copy of WP Ecommerce on your WordPress site and you notice that your products page(s) are either blank or have a “1″ on the page and nothing else. WTF?

Well, what is happening is this:

1. The older version of the shopping cart used shortcodes to display categories on a page or post if you used the shopping cart icon in the text editor when making pages/posts.

2. The newer versions of WP Ecommerce still use shortcodes, but not the same ones….hence the blank page or the “1″ in place of products.

What you want to do is edit the page(s)/post(s) that are using shortcodes. You will notice that the shortcodes looked something like this:

[wpsc_category=1,full]

You will need to replace that with the new shortcode. In the WordPress admin area, go to “Products–>Categories” and then click “Edit” on the category you want to display.

Over to the right, you will then see the new shortcode for that category, which will look something like this:

[wpsc_products category_url_name='example-category1']

So, repeat these steps for however many pages/posts you have that are using shortcodes and you will then see that it all starts working correctly!

Hope this helps, and until next time…

Tags: , , , , , ,

12 Comments

Leave a comment
  1. Milan Sep. 16, 2009 at 1:34 am #

    Thank’s some useful help!! But there are lot more problems when upgrading!! So perhaps products also gone in the admin area, the gold_cart problem… the new version doesn’t recognise the gold_cart files (even when they are in the correct folder) and you have a Gold Cart (Old) thing in the Admin area. It’ll be grate if someone describe how we can manage this – because some use this plugin for commercial use ;-)

  2. shayne Sep. 16, 2009 at 8:28 am #

    Milan – I haven’t experienced the issues you’re mentioning. Have you followed the installation instructions in the README in the gold module?

  3. jghazally Sep. 16, 2009 at 9:16 pm #

    Hey mate, I work with the instinct crew on the wp-e-commerce plugin, the issue regarding Gold Cart (Old) in the side panel is just a way for us to tell the users that their gold cart version that they are using is old, this preserves some backwards compatibility. You should find your receipt you got from instinct and re-download your gold cart files, that will get rid of the (old) and itll just say upgrades. Hope this helps ;)
    If the products are gone in your admin area that means the tables for 3.7 (we renamed them for better readability and consistency) did not get properly created this usually happens if you have weird server configurations.

  4. Diego Oct. 09, 2009 at 4:34 pm #

    Hi Shane, I hope you can help me. I am really new to WP and I am trying to install the wp-e-commerce plugin, I am running WP Version 2.8.4 and WP Shopping Cart Version 3.7.4. I almost have everything working OK, but when I am at the products page I see all the products.but If I click the product title link to go to the individual product page then, the next page is blank. That page used to be the single product page. I don“t know exactly how I messed thing up. I would really appreciate if you can give me a clue.

    Best wishes,

    Diego

  5. shayne Oct. 09, 2009 at 5:12 pm #

    Diego -

    Use the contact form and send me a WP login so I can take a look.

  6. patrick Oct. 19, 2009 at 11:40 pm #

    Thank you so much! I can’ t believe that I spent almost a day to figure out this.
    But i still have a problem: we were using [wpsc_category=1] to load products to the homepage, and these products loaded as snapshot products. In css, we manage these products by class id like: single_category_product .etc, these products are displayed different as they are in products page. But now we have to use new shortcode instead of [wpsc_category=1], and I realised that the generated code in html are same in homepage and products page, which means we are not able to give them different styles easily. How can we solve this problem?
    Can you please give me some idea?

  7. Syvar Dec. 15, 2009 at 2:36 am #

    Shayne,
    You are clearly the guru on this product and I thank you in advance for your support. I have an odd problem regarding pages showing blank. We are using the shortcode [showcategories] to display categories. On our dev server, it works fine. Now that we’ve moved to production, ….nothing. Any suggestions? Other shortcodes don’t seem to be working either. Production site is at http://Zeopa.com/TQF. Development server is at http://www.debtfreeproject.org/pensionus

    Any help would be greatly appreciated.

    Sy

  8. shayne Dec. 15, 2009 at 12:42 pm #

    Syvar -

    If you’ll use the contact form and send me a WP login and FTP access, I’ll take a look for you.

  9. Syvar Jan. 19, 2010 at 3:58 pm #

    Thanks Shayne. Sorry for the slow reply. We’ve been waiting on the client prior to moving forward on this project. I’ll send you the access as requested via the contact form.

    Regards,
    Sy

  10. Syvar Jan. 24, 2010 at 7:51 pm #

    Shayne,
    I think we’ve figured out the issues related to [showcategories], etc. as noted above and we’ve gone live with the site. Site address is http://www.TopQualityFabrics.com. We’re trying to accomplish one other task, which is to show a listing of product groups (categories) from a particluar page. For example, we have three category groups – Categories, Brands, Designers. In the category group, we can call up all fabrics and it will list things like children’s fabrics, holiday fabrics, etc. In addition to that, we’d like to also display Brands and have it list products by brand. Finally, the same with designers. We’ve isolated the group_id function to do that and can probably write code to display those categories… but if something already exists, it would be much easier.

    WP 2.9.1
    E-commerce V 3.7.5.3

    Thanks.
    Sy

  11. Tim Feb. 19, 2010 at 9:37 am #

    Hi I am trying to do the exact same thing that Sy did at http://www.topqualityfabrics.com/shop-for-fabric/all-fabrics/

    How do you list the categories and all the products? or even all the categories. I used the shortcode showcategories it shows the list of group names however they are not hotlinks.

    Any help would be greatly appreciated

  12. shayne Mar. 09, 2010 at 7:03 pm #

    Tim,

    I’m not sure if that is out of the box or if he coded that in…you might contact him and find out actually…it’s hard to say by looking how it was accomplished.

Leave a Reply