## How to display two different custom taxonomy terms on a WooCommerce single product page

Question
Our WooCommerce products have two custom taxonomies: sizes and colors. I'm trying to display the custom toxonomy terms for a product on its single product page. I'm using the woocommerce_single_product_summary action hook. I can't get both taxonomies to display at the ...
0
1 day 0 Answers 8 views

## How to filter menu of categories on attribute archive pages

Question
The following PHP displays menu of WooCommerce product categories: <?php $orderby = 'name';$order = 'asc'; $hide_empty = true ;$cat_args = array( 'orderby' => $orderby, 'order' =>$order, ...
0
2 days 0 Answers 8 views

## How can I remove a hooked action created by a plugin?

Question
public function orddd_capabilities() { $role = get_role( 'shop_manager' ); if ($role != '' ) { ...
0
3 days 0 Answers 11 views

## WooCommerce: How to filter menu of categories on attribute archive pages

Question
The following PHP displays menu of product categories: <?php $orderby = 'name';$order = 'asc'; $hide_empty = true ;$cat_args = array( 'orderby' => $orderby, 'order' =>$order, ...
0
3 days 0 Answers 12 views

## delete_user hook failed

Question
I would like to delete a specific post when the user is deleted in admin/users.php. I did this code : add_action('delete_user', array(__CLASS__, "delete_user_profile"), 10 ); //I´m sure the code passed by here. public static function delete_user_profile( $user_id ){ var_dump($user_id ...
0
4 days 0 Answers 16 views

## Remove Header and Footer if user is not logged on

Question
Using Hook, is there a way to remove the Header and Footer from the specific page that is trying to access by users, if the current user is not logged on? function footer_header_remove() { if(!is_user_logged_in() && is_page('the-page')){ ...
0
4 days 0 Answers 11 views

## Moving beadcrumbs to different part of the page with hook and action

Question
I am using the Avada theme, and WooCommerce. This is mostly a question about hook / filter syntax and usage. I need to move the breadcrumbs from the normal place, inside the page title bar, another place on the page. I ...
0
6 days 0 Answers 16 views

## Use apply_filters to fetch value in another function

Question
Is it possible to fetch apply_filters value some other place like a global variable? function one(){ $value = 'default'; .... some functionality to set$value return apply_filters( 'this_is_filter', \$value ); } add_filter( 'this_is_filter', function( ...
0
1 week 0 Answers 16 views

## Add to cart behavior on custom variable.php

Question
I've created a custom shop, basically composed by variable products only. My problem is whenever the user does not select any variation it is being forward to woocommerce product.php instead of staying the the page and make a proper selection. How ...
0
1 week 0 Answers 15 views

## Remove image on product and archive pages in Woocommerce

Question
In Woocommerce, I want to remove the product image on both the single product page as well as the main product page and category/archive pages. I was able to remove the image from the single product page by adding the ...
0
1 week 0 Answers 20 views