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.
Related
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().
I am using woocommerce and would like to add a custom text to the cart page.
So I add a product to cart, go to the cart and in there I see that the cart uses the page.php template.
My theme folder is called woocommerce, then inside my theme folder I created a folder called woocommerce/templates/cart/cart.php
I added text to the new cart.php but it does not work.
How can I override the woocommerce cart page?
It is my first time using woocommerce so I really hope you can help
Thanks in advance
Create woocommerce/woocommerce/cart/cart.php , folder templates should not be there if you are using theme to override default woocommerce php's
See the article
Template structure & Overriding templates via a theme
https://docs.woocommerce.com/document/template-structure/
I know how to use WooCommerce but even then, how could I integrate WooCommerce into my own HTML theme?
You can just edit CSS files according to your requirement... Also you can put a WooCommerce template file in your theme or in child theme and you can easily edit these files.
If you want to a user WooCommerce template in the theme then create a WooCommerce folder in your theme and copy the WooCommerce plugin template to this folder.
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.