Home Forums WoodMart support forum Compare Function.

Compare Function.

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #34523

    leonidas
    Participant

    Hello
    I want to remove the Yith compare and use another plugin

    https://codecanyon.net/item/woocommerce-better-compare/21158249

    The developer didn’t succeed to setup his plugin.
    “tried every hook position under single product “button position” and nothing works. either it’s caching or your simply do not accept any hooks there.”
    They told me that they use every possible hook but nothing:

    woocommerce_before_single_product
    woocommerce_before_single_product_summary
    woocommerce_single_product_summary
    woocommerce_product_meta_start
    woocommerce_product_meta_end
    woocommerce_after_single_product_summary
    woocommerce_after_single_product
    woocommerce_after_main_content

    Can you help me with that problem?

    #34532

    Artem Temos
    Keymaster

    Hello,

    They should be able to add the hook to this action – woocommerce_single_product_summary. Could you please ask them what code they use for adding this button?

    Regards

    #34661

    leonidas
    Participant

    Hello,
    their answer:

    “You can use this hook by setting the button position inside your settings to 

    “In Single Product Summary”.

    Then the following Hook is used:

    add_action( ‘woocommerce_single_product_summary’, array($this,’show_compare_button_on_single_product’), 30 ); ”

    Waiting for your reply

    #34674

    Artem Temos
    Keymaster

    So, did you try to enable this hook?

    #34741

    leonidas
    Participant

    I gave FTP access to the plugin developer on purpose to setup his plugin.
    He told me that he tried everything including the code above without any success.
    So I don’t know what else to tell him.

    #34760

    Artem Temos
    Keymaster

    OK, so provide us your FTP access if they will not be able to add their button.

    #34771

    leonidas
    Participant

    Ok. installed the latest version of the plugin and didn’t disable the Yith compare (i leave it for you).Below are my FTP credentials.

    Thanks a lot for your concern.

    #34773

    Artem Temos
    Keymaster

    Sorry, but we can’t access now http://prntscr.com/i3y663

    #34776

    leonidas
    Participant

    i believe that the port is different.My mistake

    #34781

    Artem Temos
    Keymaster

    But as we can see the button is already there https://prntscr.com/i3ymrg

    #34789

    leonidas
    Participant

    ok .
    But what about the shop page?

    #34790

    Artem Temos
    Keymaster

    But the hook they sent is not related to the shop page. Did you ask them how to show it on the shop page and which hook do they use for that?

    #34793

    leonidas
    Participant

    another image

    #34794

    leonidas
    Participant

    Yes I send them a video too.What do you want from me to do now?

    #34806

    Artem Temos
    Keymaster

    Sorry, but we don’t see any issues from our theme side now. You asked why the hook on the single product page is not working but it works correctly. So, if you think that plugin doesn’t work on the shop page you need to contact them again.

    #34812

    leonidas
    Participant

    Ok I will do it and also I will ask them which hook they used for shop page.Thank you for your time.

    #34816

    Artem Temos
    Keymaster

    OK, contact us if you will have further questions.

    #34851

    leonidas
    Participant

    Hi
    I came in contact for another time with the plugin developer.
    And their answer:
    “we looked into this, but we think your theme is way to complex to get this solved.”
    And when I asked them the hook they used for the shop page :
    “you can simply send him the plugin files. Problem is that the amount of work does not compare with our resources”

    So after the previous conversation I believe we have to abandon it.
    I don’t know if you want to check it for the last time.
    If not thank you for your time

    #34885

    Artem Temos
    Keymaster

    Hi,

    Sorry, but our theme is not to complex and has all regular hooks as other WooCommerce themes. If the plugin developers can’t help you so we can’t do this also since they don’t give us any extra requirements. Most likely it doesn’t work with default WordPress themes as well.

    Regards

    #34909

    leonidas
    Participant

    ok ,thank you
    you can close the ticket

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

The topic ‘Compare Function.’ is closed to new replies.