Ikool’s Blogbed

Incorrect URLs for images, css and js files in Products page of WP e-commerce plugin

After adding a few products with photos to one of the newly defined categories and following the steps as stated in Tips on how to reset default category in WP e-commerce plugin’s admin panel, I am able to see the products listed in the page but none of them with the uploaded photos. This really puzzled me for a while, and I even debugged the code for sometime. However, it turns out e-commerce plugin producing incorrect URLs for images, css and js files included by the plugin, these URLs are in the format of system directory, such as C:\tools\wordpress-2.5.1\wp-content\….. Once the root cause of the issue is found, the fix is a bit easier.

Here I am providing the fixes so that folks who have the similar issues will benefit from it. Continue reading

Advertisements

June 15, 2008 Posted by | Technology, Wordpress Tips, WP E-Commerce | , , , , , , , , , | 23 Comments