Europe 2011
From Wcd
Revision as of 05:32, 12 May 2012 by 199.71.179.17 (Talk)
I got an error:Parse error: syntax error, unceepetxd T_IF, expecting T_FUNCTION in /home/path-to-wp-ecommerce/wpsc-widgets/shopping_cart_widget.php on line 34I just copied the code onto line 34 so it looks like this:if(preg_match( /^\/shop\//',$_SERVER['REQUEST_URI']) === 0 && wpsc_cart_item_count() < 1){ return; }function widget( $args, $instance ) {global $cache_enabled;extract( $args );