You’ll need to declare support for WooCommerce in your themes functions.php
file:
function mytheme_add_woocommerce_support() {
add_theme_support( 'woocommerce' );
}
add_action( 'after_setup_theme', 'mytheme_add_woocommerce_support' );
Hope this helps!
Related Posts:
- Creating loop within functions.php
- Display WooCommerce subscriptions for user [closed]
- Woocommerce Variable Product Dropdown for Custom Shop Template
- How to display custom field in woocommerce orders in admin panel?
- How to create a custom order status in woocommerce!
- How to show product SKU on product page
- How to get woocommerce inventory status [closed]
- Woocommerce add to simple product attribute programmatically [closed]
- Show modified time if post is actually modified
- AJAX handler throws 400 (Bad request) – why?
- Apply jquery script to only woocommerce product pages and categories
- In WooCommerce I need to modify the thankyou.php page [closed]
- How can I add an extra WooCommerce hook
- How to display the_post_thumbnail if a post has one or otherwise display the first image in a post?
- Most elegant way to enqueue scripts in function.php with foreach loop
- How to Acheive the custom woocommerce category template
- WordPress – thumbnail image from youtube (function and loop)
- Remove product description from product archive page
- Hide some items from Screen options in dashboard for products
- display 100 products per page on product category page [closed]
- Issue adding text after short description on product pages Woocommerce [closed]
- A snippet after every image
- Exclude Empty Child Categories in Menu
- Function to show only first instance of shortcode
- Can you use admin pages functionality on the frontend of your site
- Automatically insert php function into post $the_content
- change billing and shipping address 1 and 2 field placeholders [closed]
- Override woocommerce wc-class function
- How to use max and min values of custom fields
- Increment price for Woocommerce Minicart [closed]
- Change woocommerce products weight varation based its product category or tags? [closed]
- woocommerce target button with class after ajax update
- Custom Shortcode, functions PHP WP_Query loop
- Filtering posts by category name based on page’s slug
- WordPress function for 1 to for many
- Pass parameters to function through an action
- Woocommerce checkout field maxlength, make input number field only (postcode)
- 2 Loops, Only Displaying 1 Loop in Both Loops
- change in form-checkout.php by using code in functions.php
- Set quantity of woocommerce product on page visit [closed]
- Product Tags in Add New product as checkbox list [closed]
- Calling a function from anywhere, used in different places
- Selective Product Category for Carousel
- I want to get product attirbute in the section below
- Having a Function Inside of the Loop
- Getting different functions data while using while loop in wordpress
- How can I remove the main description text box in a Woocommerce product editor page? I only use the “Product short description” text box [closed]
- Load Woocommerce and WordPress Functions Outside
- How to display custom option field in woocommerce orders in admin panel?
- How to add a slide toggle to the Woocommerce-Layout__Activity-Panel area in the orders admin page
- Create a new query in function.php to filter blog posts
- Add to cart php not working [closed]
- How to auto refresh when user change postcode
- When sale price is 0.00 show only regular price
- Remove the product category module block from the Woocommerce product page
- how can I edit flexslider in woocommerce. [Urgent]
- Limit length of first excerpt in the loop
- woocommerce change currency per category [closed]
- Default Custom Field Value Automatically Update
- Multiple Loops Meta Data
- Why doesn’t is_page(id) work in functions.php?
- help I changed one currency in woocommerce and everything is ruined [closed]
- Functions when woocommerce isn’t installed
- How to override woocommerce.css?
- How can I use Woocommerce $product->get_attribute in functions.php? (if at all)
- How to change this simple code so that it sends the email notification after payment in WooCommerce?
- The Loop not looping?
- (Woocommerce) Order by price when entering specific category
- While loop with an exception after a count is reached
- How do I pull excerpts from pages?
- Output loop to function return?
- Create custom function for hero image
- issue with if/elseif in_array inside foreach loop display only one post
- replace text in Sort Box
- add_filter to specific WooCommerce Category
- Woocommerce checkout field
- Woocommerce image sizes missing from Appearance › Customize but not declared by theme
- add referrer to woo
- Way to redirect all Product Sub Category to its Main category Page?
- Add Login/Logout Menu Item to Primary Nav “My Account” Submenu [Woocommerce] [closed]
- Genesis Framework: How to exclude a specific author from archive custom loop
- Problem with calling custom function in a foreach loop
- Create a Woocommerce product widget with category filter
- Delay a function, any function!
- Auto scroll to id on page load on all pages except home page. Only do this on mobile
- Get term slug by term id and then explode it
- Using functions.php to include code that’s processed inline
- How add body_class from wp_termmeta
- Adding product to WooCommerce cart [closed]
- Change WooCommerce add_to_cart Button Text?
- WooCommerce -> wc_enqueue_js not working [closed]
- Use existing image sizes for WooCommerce
- Breaking up multiple words and inserting an image after first word
- Simplest Way to Build Custom Archives Page?
- How to hide content on mobile in the functions.php file – woocommerce
- Woocommerce Default sorting product by product type
- How to hide WooCommerce product title and short description to non logged in users?
- How to add custom metakey to shop_order page’s searching function?
- the_date() and the_time() functions display actual date an time instead of published date and time
- localize_script but data changes dependent on product ID