Home / Forums / Basel support forum / removing basel_woocommerce_after_sidebar not successful
Home › Forums › Basel support forum › removing basel_woocommerce_after_sidebar not successful
removing basel_woocommerce_after_sidebar not successful
- This topic has 17 replies, 2 voices, and was last updated 9 years ago by
Artem Temos.
-
AuthorPosts
-
June 9, 2017 at 10:55 am #14909
akhtarusmanParticipantI 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 );June 9, 2017 at 11:13 am #14911Hi,
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 );June 9, 2017 at 11:34 am #14915
akhtarusmanParticipantadded this code but still not taking effect..
June 9, 2017 at 12:33 pm #14918Could you please provide us your FTP access?
June 9, 2017 at 6:55 pm #14937
akhtarusmanParticipantPlease find below user having access to basel-child directory.
June 9, 2017 at 8:26 pm #14939Sorry, but we can’t connect. Could you please check the login information?
June 9, 2017 at 9:31 pm #14942
akhtarusmanParticipantI am able to connect via provided ftp account successfully.
I tested with importing attached config file in fileilla…June 10, 2017 at 7:00 am #14949We can’t connect and get the error https://gyazo.com/b41cf18259dcaf6aa88a4810f359f16d
June 10, 2017 at 12:29 pm #14971
akhtarusmanParticipantI can see you are receiving error with password..
I changed the password, can you please test with below credentials:June 10, 2017 at 12:33 pm #14974Please, give us an access to both parent and child theme folders.
June 10, 2017 at 5:02 pm #14985
akhtarusmanParticipantCan you please check now.
June 10, 2017 at 5:27 pm #14986Please, disable the cache because we don’t see changes in theme files. And provide your admin access also.
June 11, 2017 at 12:37 am #14987
akhtarusmanParticipantPlease find below
June 11, 2017 at 10:03 am #15000Thank you. But there are no related and upsells products on the product page? Where can we see them?
June 11, 2017 at 10:07 am #15001
akhtarusmanParticipantOn 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?
June 11, 2017 at 10:13 am #15003OK, so you just need to leave instagram hashtag field empty when editing the product in admin panel.
Regards
June 11, 2017 at 9:01 pm #15055
akhtarusmanParticipantahh… thanks a lot guys 🙂
June 12, 2017 at 6:09 am #15060You are welcome 🙂
-
AuthorPosts
The topic ‘removing basel_woocommerce_after_sidebar not successful’ is closed to new replies.
- You must be logged in to create new topics. Login / Register