I have created a custom theme using Underscores Starter Theme.
I have installed Woocommerce( Got the messege that my theme is not compitable) , but all the pages are working just fine, except from the Cart and the Checkout page.
These 2 pages have no CSS applied as seen in the picture below.
Can anyone tell me how to fix this? Thanks
Working solutions:
copy the woocomerce folder from plugin add add in your current active theme folder.
check the checkout page template and check the page.php file thats is includes get_header(); and get_footer().
Related
I installed my theme with just html, and woocommerce plugin.
I created in my theme directory woocommerce and inside a file archive-products.
In admin, in settings -> reading i choose as a static page the Shop.
But i saw just the page, not the archive-product page.
Where i done a mistake?
When i create a theme with underscores.me, i forgot to check a checkbox for woocommerce.
Now i create another theme with checked checkbox, and the theme work.
The cart, my-account and checkout pages are all blank when I try view them. All I get is the header and footer. All I have done so far is download WooCommerce, go through the settings and add theme support. My shop page wasn't working until I added theme support but now thats the only page that does. Also I've noticed that if I use WooCommerce shortcode in my php files I can get the pages. But the shortcode doesn't seem to be working in the backend. BTW I'm using my own custom theme incase thats relevant.
What can I do to fix this?
update:
This must be an issue with my theme as if I set one of the default ones to active all the WooCommerce pages show. But I don't know what my themes issue is yet.
update: I have noticed that the WooCommerce pages are allowing me to add templates to them, apart from the shop page which is working. Why is this happening?
There are few steps to do.
First turn on debug, by switching WP_DEBUG to true.
View source of page, and check if everything is being rendered, and also check console for JS error.
At last, for theme, if after switching to default theme, content shows up, there is a theme related issue.
Check for missing templates or template parts or structure within related with page from which content is missing and compare it with default themes templates and template parts.
See if there is some template part missing, or modified, like content.php or content-page.php, the_content() , etc.
I have try to change UI of checkout page on woocommerce. I have try set checkout page same as a below link: http://demo.smartaddons.com/templates/joomla3/sj-tini/index.php/checkout
please suggest any idea regarding this problem.
In wordpress, you can change the UI of the checkout page.Although you can change all the pages.Follow some steps :1:Create a folder with name "woocommerce" in active theme.2: Copy the checkout folder in theme.Here is the syntax:
Plugin checkout folder : wp-content/plugins/woocommerce/templates/checkout.
Theme checkout folder : wp-content/themes/woocommerce/checkout.
Now when you copy the plugin checkout folder to the theme as per discussion above.Then your UI of the checkout page will be linked
to the theme checkout folder and you can easily change it.
For any dought,please email me.
Note:Difference of the folder structure is "templates" folder.
There are a set of several templates that control the checkout page. They can be found in the WooCommerce plugin folder in templates/checkout.
You can put a woocommerce/templates/checkout folder inside your theme's folder and copy the templates you want to alter into it.
Those will override the normal templates without altering the plugin itself. That way your changes won't get overwritten when WooCommerce is updated.
Hope it helps you.
Is it possible to create custom checkout page in my theme? I mean to create custom checkout.php document I do not want to edit WooCommerce default theme.
Yes, this is achieved by overriding the WooCommerce checkout.php file in the plugin itself by placing it in your theme's WooCommerce directory. You are right not to want to edit the plugin because any updates will render such changes obsolete. You can see the following files you would want to override here: https://github.com/woothemes/woocommerce/tree/master/templates/checkout
Your directory should look something as follows:
themeroot/
single.php
page.php
etc..
woocommerce/
templates/
checkout/
form-checkout.php
form-billing.php
etc
You can learn more about creating Custom WordPress themes by viewing the document. You will want to duplicate and work of these files to create your custom checkout page.
I am using wp e-commerce plugin & also used gold cart plugin for more functionality but my product inner page not working.
There is use in grid view of products and files from plugin where being put in my own theme.
I put my wp e-commerce plugin > wpsc-components > theme-engine-v1 > templates files in my theme but it still not working. Can any one having idea about this? so please help me.
page url:-
http://www.eddingtonhousenursery.co.uk/wordpress/products-page/perennials/achillea-terracotta/
It seems you template file is not in the right place.
Please make sure you have moved all the plugin template files in the theme.
Best way to debug is print a string and die. Now check if your printed string appears on the page.