removing basel_woocommerce_after_sidebar not successful
-
I have added below lines of code to basel child theme functions.php page but still its showing these hooks on single product page. Can you please support how to remove it.
remove_action( ‘basel_woocommerce_after_sidebar’, ‘woocommerce_upsell_display’, 10 );
remove_action( ‘basel_woocommerce_after_sidebar’, ‘woocommerce_output_related_products’, 20 );
Hi,
Try to add the following code instead
function basel_woocommerce_hooks_child() {
remove_action( 'basel_woocommerce_after_sidebar', 'woocommerce_upsell_display', 10 );
remove_action( 'basel_woocommerce_after_sidebar', 'woocommerce_output_related_products', 20 );
}
add_action( 'wp', 'basel_woocommerce_hooks_child', 2000 );
added this code but still not taking effect..
Could you please provide us your FTP access?
Please find below user having access to basel-child directory.
Sorry, but we can’t connect. Could you please check the login information?
I am able to connect via provided ftp account successfully.
I tested with importing attached config file in fileilla…
I can see you are receiving error with password..
I changed the password, can you please test with below credentials:
Please, give us an access to both parent and child theme folders.
Can you please check now.
Please, disable the cache because we don’t see changes in theme files. And provide your admin access also.
Thank you. But there are no related and upsells products on the product page? Where can we see them?
On single product page, below text is appearing:
“Tag your photos with #adotstyle_stitched_shirt on Instagram.
Instagram did not return any images.”
that was coming form relate & upsells div. Where I can remove this from?
OK, so you just need to leave instagram hashtag field empty when editing the product in admin panel.
Regards
ahh… thanks a lot guys 🙂
The topic ‘removing basel_woocommerce_after_sidebar not successful’ is closed to new replies.