I'm having an issue with woocommerce so I'm making this themes everything well well expect the shop page which does not display header and footer area all other pages do.Does anyone know what is the problem
Please check this code is available or not
get_header( 'shop' ); archive-product.php
in your theme woocommerce folder or plugin woocommerce folder.
Related
I installed WooCommerce. WooCommerce setup 5 pages like: Shop, Cart, Account, Privacy and Pay.
Everything works fine but WooCommerce shows only the main categories.
My settings in the WooCommerce dashboard set to show subcategories but nothing is happening.
How I can fix this?
If you switch to a default theme like Twenty Seventeen, do the sub-categories show up?
If so, I would suggest talking to your theme author.
If not, Try re-saving your products and categories and clearing the cache.
I solved the problem.
I added the woocommerce support in my theme.
Then I created a new page called woocommerce.php
In this fil you run a loop with woocommerce_content();
This line is required in div tags with class woocommerce.
This is important for the default style!
The file look like this
<div class=“woocommerce”>
<?php woocommerce_content(); ?>
</div>
I am integrating my online shop with Klarna payment provider. Klarna checkout should overwrite the regular Woocommerce checkout page. The Klarna checkout is visible on the page BUT so is the regular Woocommerce checkout information - that should be removed. Additionally, Klarna checkout should be full screen (now it is in some grid).
Checkout page
Would appreciate if anyone can advice!
I tried to remove custom CSS from my theme's additional CSS but that did not help.
https://senjacosmetics.com/shop/
Wordpress, theme Ellie with Woocommerce plugin
You can remove the order review:
This code on functions.php
remove_action( 'woocommerce_checkout_order_review', 'woocommerce_order_review', 10 );
Or copy the checkout/review-order.php template to your child theme, and modify it.
I have searched the forum and found people wanting to get rid of the sidebar when on the product category page. My issue is the opposite and I have not found someone raising it (so hopefully, the solution is easy):
the sidebar shows OK on the (standard woocommerce) shop page (based on woocommerce.php template) but when I click a product category in the sidebar of that same shop page, the product category page (based on woocommerce.php template as well) has no sidebar.
Has someone come across this issue?
(WordPress 4.9.4, woocommerce 3.3.3 (same issue on 3.3.1)
Add the following code to your functions.php file, I would recommend that you use a child theme or plugin for this. That way you won't lose your modifications when the theme gets updated.
add_action('wp', create_function("", "if (is_archive(array('product'))) remove_action( 'woo_main_after', 'woocommerce_get_sidebar', 10);") );
I'm trying to set-up a home shop page with specific content on it.
My menu contains all categories and I want to switch of category when I click on each item.
My problem is :
- I want to set-up my homepage with banner content above all products category (link "tous)
- I don't want this banner content appears on others categories.
I'm using Woocommerce on wordpress.
Many thanks for your help
Thib
In your WordPress theme, create a file called woocommerce.php This gives a you idea of how: https://docs.woocommerce.com/document/template-structure/
Once you add/create the woocommerce.php file to your theme then you can add the image banner above woocommerce_content()
If you want to target just the main shop page, you can use is_shop() but to add a function in your functions.php then you want to wrap it with:
if function_exists(is_shop()) {
//add code here
}
Is there any plugin available which I can use to post custom content on My front page?? I am using front page which has link to other blog pages. I want to put custom content on this front page but i am unable to find any plugin.
whatever plugins which i searched gives this facility for sidebar in a widget format there were no option for manually putting content in my theme.
Also is it possible to put latest post by a particular author on this page??
You need to edit index.php file in you're theme to do this . have a look at query_posts , what i would recomend is having a category called home_content and limit all the theme files using query_posts not to show that category , and show posts from that category only on the homepage ( index.php file from you're theme ) .
You could allso ask wordpress related questions on wordpress.stackexchange.com