Where sales manager of WP-Commerce plugin?
Look under Dashboard > Store Sales
Look under Dashboard > Store Sales
WordPress uses a template system- content is stored in a database and gets inserted into a template when a page is served, so pages and products don’t exist as separate, physical things. To edit the templates Wp E-Commerce uses, go to Settings > Store and click on the presentation tab. There will be an advanced … Read more
I just copied the testmode.merchant.php file (plugins/wp-e-commerce/wpsc-merchants). Renamed it (in my case mynewgateway.merchant.php) and changed name, class_name, display_name and form in the first array. Then changed the class name on line 29 (just changing test to mynewgateway, same as above), the name variable on line 31 and at last the form function name on line … Read more
You can handle this much more simply with CSS and a print stylesheet. Just add display:none within that stylesheet for all elements you don’t want visible in the print version.
There are currently two copies of jQuery loaded on site: In header there is jQuery bundled with WordPress, likely requested by some plugin. In footer there is jQuery from Google CDN, likely added by your code? Obviously this is one too many. There are couple of ways to handle it: If you are fine with … Read more
This code works! Sorts by category name (visible name), produces a list of links of categories (that aren’t empty) that are children of category_id. <?php //display sorted list of wpsc product categories $category_id = 10; $terms = get_terms(‘wpsc_product_category’,’hide_empty=1&parent=”.$category_id); usort($terms, function($a, $b) { return strcmp($a->name, $b->name); }); if ($terms) { foreach($terms as $term) { ?> <div> … Read more
Questions like this is are not really suitable for WPSE because they attract a lot of subjective, open ended opinion, for which there is often no right answer. Let me give you a real world example. I have used several WordPress E-commerce plugins, both free and premium types, I’ve also created my own custom solutions … Read more
The filter exists to avoid the need for replacements in the plugin code. What you probably need is: add_filter( ‘wpsc_purchase_logs_cap’, ‘wpse_72095_admin_to_editor’ ); function wpse_72095_admin_to_editor() { return ‘edit_others_posts’; } This will change the capability/role to editor.
I agree with Goran on editing the core files. It should not be done. But, if a user has dimensions in the name of the image, they will also be replaced and the image won’t display with this regular expression. Instead, you can create a new function in your theme’s functions.php file. Something like this: … Read more
WP E-commerce uses WordPress post objects to store products, so you don’t need any special functions or callbacks. query_posts will support everything you need, you can learn about the details of how everything is set up by reading about their database schema. Specifically, the SKU is in the wp_postmeta table with a meta_key of _wpsc_sku.