Resucitate a Store to 3.8 life 1: Products Image permissions

I have imported product images onto my new WP e-Commerce 3.8 install however the thumbnails of the images were not showing because they were somehow set to a very low level permission.

For that I had to go under the uploads directory and issue a chmod 644 to the images that needed that adjustment, in particular the original images. The other images such as thumbnails etc, did not need the change of permissions.

After I had done that all my images were showing.

WP e-Commerce 3.8: Permission problems – You must update your database to import all of your products.

If you get a message to:

“You do not have sufficient permissions to access this page.”

after you clicked on the link to update from the message that appears on your admin pages like this:

“You must update your database to import all of your products.”

Here is the solution:

To get that beautiful window go to your console:

[code]pico +44 ./wp-e-commerce/wpsc-admin/display-update.page.php[/code]

and comment, add the line below, and save:

[code]//add_action( ‘admin_notices’, ‘wpsc_display_update_notice’ );
add_action( ‘admin_notices’, ‘wpsc_display_update_page’ );[/code]

Now go back to the link you were sent when you saw that message about upgrading your database and hit it again:

This is the link just in case:

http://…./wp-admin/admin.php?page=wpsc-update

Then you will update your database nicely!

I think WP e-Commerce has some admin pages and submenus, namely using add_submenu_page that are not really working.

WordPress Shopping Cart: View All Feature

The feature we want to implement is a link label “view all” that behaves in the same way http://www.sundancecataloge.com product page behaves.

The improvement will make it possible to display all the products of one category (or of all categories) in the same page where it usually is paginated.

There are at least two approaches:
1. hide the regular display of products with pagination and display all products
2. work on modifying the actual display of products function with pagination and tweak it so that it would receive a parameter acted by a form button “view all”

We solved with #2:

We modify the logic for the product queries. After some hard work I have come up with a solution that can be seen in action here


If you would like to get the patch for this feature it is available if you email me at cordoval@gmail.com with a donation of $17.

Your contribution will be used to develop more amazing improvements to the Shopping cart and I will post them on this blog.

Please encourage me to keep developing more patches for WPEC here: Donate HERE
Thanks!