Home Forums Basel support forum removing basel_woocommerce_after_sidebar not successful

removing basel_woocommerce_after_sidebar not successful

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #14909

    akhtarusman
    Participant

    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 );

    #14911

    Artem Temos
    Keymaster

    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 );
    #14915

    akhtarusman
    Participant

    added this code but still not taking effect..

    #14918

    Artem Temos
    Keymaster

    Could you please provide us your FTP access?

    #14937

    akhtarusman
    Participant

    Please find below user having access to basel-child directory.

    #14939

    Artem Temos
    Keymaster

    Sorry, but we can’t connect. Could you please check the login information?

    #14942

    akhtarusman
    Participant

    I am able to connect via provided ftp account successfully.
    I tested with importing attached config file in fileilla…

    #14949

    Artem Temos
    Keymaster

    We can’t connect and get the error https://gyazo.com/b41cf18259dcaf6aa88a4810f359f16d

    #14971

    akhtarusman
    Participant

    I can see you are receiving error with password..
    I changed the password, can you please test with below credentials:

    #14974

    Artem Temos
    Keymaster

    Please, give us an access to both parent and child theme folders.

    #14985

    akhtarusman
    Participant

    Can you please check now.

    #14986

    Artem Temos
    Keymaster

    Please, disable the cache because we don’t see changes in theme files. And provide your admin access also.

    #14987

    akhtarusman
    Participant

    Please find below

    #15000

    Artem Temos
    Keymaster

    Thank you. But there are no related and upsells products on the product page? Where can we see them?

    #15001

    akhtarusman
    Participant

    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?

    #15003

    Artem Temos
    Keymaster

    OK, so you just need to leave instagram hashtag field empty when editing the product in admin panel.

    Regards

    #15055

    akhtarusman
    Participant

    ahh… thanks a lot guys 🙂

    #15060

    Artem Temos
    Keymaster

    You are welcome 🙂

Viewing 18 posts - 1 through 18 (of 18 total)

The topic ‘removing basel_woocommerce_after_sidebar not successful’ is closed to new replies.