WP e-Commerce

This thing is a beast, but hopefully the best. I’ll try to collect my solutions and resources here.

Template Tag Reference

The best list of template tags I’ve found is on a third-party site:

http://www.visser.com.au/wp-ecommerce/documentation/customisation/themes-and-templates/

Image uploader showing “HTTP Error”

Most likely PHP running out of memory during the “Crunching” phase. But this might help:

http://blog.nerdstargamer.com/2009/wordpress-upload-http-error-fix/

Tutorials

http://www.1stwebdesigner.com/wordpress/custom-wp-e-commerce-theme-2/

Custom Post Type Info

WPEC uses WordPress’s built-in custom post type system, which is awesome. Finding the name of the custom post type and the category taxonomy was not awesome.

WPEC’s custom post type: wpsc-product

WPEC’s product category custom taxonomy: wpsc_product_category

Notice the mixed use of underscore and hyphen separators. This is rampant throughout WPEC.

Remove “from: ” from prices on products with variations

Add the following to your theme’s functions.php:

function wpsc_remove_from_for_variations($from) {
return '';
}
add_filter('wpsc_product_variation_text','wpsc_remove_from_for_variations');

Via: http://getshopped.org/forums/topic/no-price-change-required-with-variations/

get thickbox to work if you’ve styled the body tag

in wpsc-core/js/thickbox.js, replace all instances of jQuery("body") with jQuery("html").

 

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*