Home › Forums › WoodMart support forum › Compare Function.
Compare Function.
- This topic has 19 replies, 2 voices, and was last updated 7 years, 1 month ago by
leonidas.
-
AuthorPosts
-
January 21, 2018 at 9:20 am #34523
leonidasParticipantHello
I want to remove the Yith compare and use another pluginhttps://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_contentCan you help me with that problem?
January 21, 2018 at 10:07 am #34532
Artem TemosKeymasterHello,
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
January 22, 2018 at 7:26 am #34661
leonidasParticipantHello,
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
January 22, 2018 at 7:42 am #34674
Artem TemosKeymasterSo, did you try to enable this hook?
January 22, 2018 at 12:36 pm #34741
leonidasParticipantI 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.January 22, 2018 at 1:15 pm #34760
Artem TemosKeymasterOK, so provide us your FTP access if they will not be able to add their button.
January 22, 2018 at 2:02 pm #34771
leonidasParticipantOk. 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.
January 22, 2018 at 2:32 pm #34773
Artem TemosKeymasterSorry, but we can’t access now http://prntscr.com/i3y663
January 22, 2018 at 2:42 pm #34776
leonidasParticipanti believe that the port is different.My mistake
January 22, 2018 at 2:59 pm #34781
Artem TemosKeymasterBut as we can see the button is already there https://prntscr.com/i3ymrg
January 22, 2018 at 3:09 pm #34789
leonidasParticipantok .
But what about the shop page?January 22, 2018 at 3:10 pm #34790
Artem TemosKeymasterBut 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?
January 22, 2018 at 3:12 pm #34793
leonidasParticipantanother image
January 22, 2018 at 3:13 pm #34794
leonidasParticipantYes I send them a video too.What do you want from me to do now?
January 22, 2018 at 3:46 pm #34806
Artem TemosKeymasterSorry, 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.
January 22, 2018 at 3:55 pm #34812
leonidasParticipantOk I will do it and also I will ask them which hook they used for shop page.Thank you for your time.
January 22, 2018 at 4:02 pm #34816
Artem TemosKeymasterOK, contact us if you will have further questions.
January 22, 2018 at 11:02 pm #34851
leonidasParticipantHi
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 timeJanuary 23, 2018 at 8:03 am #34885
Artem TemosKeymasterHi,
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
January 23, 2018 at 8:33 am #34909
leonidasParticipantok ,thank you
you can close the ticket -
AuthorPosts
The topic ‘Compare Function.’ is closed to new replies.
- You must be logged in to create new topics. Login / Register