Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

The one problem that is always finds me again is that I cant find particular pages. Lets say I created a product from the admin panel. I have a link to the page, but now I need to edit the look of that page. Where I can find this page physicaly?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

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 Theme Settings box which will allow you to select which templates you want to move into your active theme directory. Once you've moved them you can then edit those templates without losing changes in a plugin update.

Note that, much like WordPress posts and pages, your single product pages all share the same template, so you'll need some additional code in your template to determine what the current product is if you want to style specific products differently than others.

share|improve this answer
    
Thanks! Maybe, you will know this: I updated my checkout page by updating the file which was in ....wp-ecommerce/wpsc-theme/wpsc-shopping_cart_page.php It worked fine for a while, but now some of the changed states reverted to the previous state. Actually, I can even delete the file that I mentioned above, so it means wordpress is loading this file from somewhere else. Any ideas from where and what had happened? Thanks for your help. –  user385917 Sep 27 '11 at 7:48
    
@user385917 - If you've moved the theme files as I noted above, it's now pulling the theme files from your active theme in the wp-content/themes/ directory. You shouldn't edit the ones in the plugin's folder, as those will get overwritten if you ever update the plugin. –  Milo Sep 27 '11 at 21:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.