This topic contains 7 replies, has 3 voices, and was last updated by Roy Ho 1 year, 8 months ago.
| Author | Posts |
|---|---|
| Author | Posts |
| May 25, 2011 at 2:46 am #105066 | |
|
mikedistras New Member
|
At the moment these all seem like styling and small theming errors, nothing too major, but since the upgrade the site has had to be taken offline because of these issues. |
| May 25, 2011 at 9:01 am #105067 | |
|
mikedistras New Member
|
Righto, Ive managed to fix my own problems. How to fix “Individual Products Page Displaying as Blog Post”: How to fix shop homepage styling:
- change page.php to your theme file, or even your single page theme file (single-wpsc-product.php) They were the main of my problems, so I hope my answer at elast helps some other people. |
| June 3, 2011 at 10:53 pm #105068 | |
|
jakob@ludaxedo.se |
Mike, Would you mind explaining the “How to fix “Individual Products Page Displaying as Blog Post” issue a bit more? As you can see, my category pages and single product pages are treated as blog posts And if I understand correct, you managed to solve that? I just dont follow your instructions: “How to fix “Individual Products Page Displaying as Blog Post”: Care to explain a litte more in detail? Cheers, Jakob |
| August 30, 2011 at 1:21 pm #222611 | |
|
mikedistras New Member
|
I know this is a really old post. The products coming up as a blog post problem seems to just have merged into the second answer now. Open up: theme.functions.php Search for: if ( is_single() ) Change page.php and single.php to the files you would like to use as your shop fronts theme, and as your products themed page |
| August 30, 2011 at 1:38 pm #222614 | |
|
mikedistras New Member
|
Actually, nevermind. Still do what I said above. Now whatever you edit on this page, will change the theme of your Single Products Page |
| August 30, 2011 at 1:47 pm #222615 | |
|
Roy Ho Resident Expert
|
Not recommend to do that…If you change page.php like that, that means regular pages that are non-ecommerce will be affected by default…Instead of editing core files…simply wrap the code inside page.php in a condition and check for if wpec category or product display…else display normal page.php This is much better solution…no need to edit core file and it works for all post types… |
| August 30, 2011 at 4:16 pm #222656 | |
|
mikedistras New Member
|
I meant make a copy of your page.php file, and rename the newly copied one. So your original page.php page would be intact. Its the equivalent of creating a new page called “single-wpsc-product.php” and just pasting in literally everything from Page.php into the new file. |
| August 30, 2011 at 4:45 pm #222670 | |
|
Roy Ho Resident Expert
|
I understand, however you’re still touching the core files… |
The forum ‘3.8 Stable Release’ is closed to new topics and replies.