Home › Forums › WoodMart support forum › Ajax problem and conflict with "WooCommerce Dynamic Pricing & Discounts"
Ajax problem and conflict with "WooCommerce Dynamic Pricing & Discounts"
- This topic has 17 replies, 3 voices, and was last updated 3 years, 11 months ago by Elise Noromit.
-
AuthorPosts
-
October 1, 2020 at 1:32 am #230032
fitclemParticipantHello,
since last updates i have trouble with all ajax features.
Cant delete from cart
cant add to cart
…
I had to desactivate all the ajax features …. unfortunately.And second prob,
It seems there is a conflict between “WooCommerce Dynamic Pricing & Discounts”
https://codecanyon.net/item/woocommerce-dynamic-pricing-discounts/7119279
and “woodmart” theme.
I have tell the plugin’s team about it though but wanted to tell you also.Thanks
October 1, 2020 at 6:10 am #230063
Artem TemosKeymasterHello,
Thank you so much for purchasing our theme and contacting our support center.
Be sure that you have enabled AJAX adding to cart option in WooCommerce plugin settings.
As for the plugin, please, describe the issue in details and send us a link where we can see this.
Kind Regards
XTemos StudioOctober 1, 2020 at 11:27 pm #230318
fitclemParticipantHello,
so here is a gif to explain you the problem with this plugin.
According to team’s plugin of “dynamic pricing” it must be a conflict with this theme.
(https://ibb.co/DwS0j0j)When i change theme to another one all works fine, but when i use woodmart the “conditions” stop working and i cant even click on a single one and if i keep the defaut one “date” and then i save , the condition vanish without being saved.
If you need more details tell me
Thanks
October 2, 2020 at 6:16 am #230341
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it? Also, write us a step by step algorithm on how to reproduce the error and the exact link where we can do this.
Thank you in advance
October 29, 2020 at 3:39 pm #237106
fitclemParticipantI have switch theme, and the plugin “WooCommerce Dynamic Pricing & Discounts” worked again.
There is a conflict between them obviously.
The step algorithm is pretty clear on my gif animated image.
The conflict avoid me to use “conditions” and save it. There is something this theme use that is not accepted by this plugin.
Am gonna look for an access to let you see yourself. I need to wait as there is some special day nowaday.Cheers
October 30, 2020 at 7:12 am #237221
Artem TemosKeymasterHello,
OK, please, disable all extra plugins and send us your admin access so we can check how it works.
Kind Regards
December 4, 2020 at 9:12 am #247664
fitclemParticipantHello,
i have a stagging site to test crédentials are in private content.Thanks
December 4, 2020 at 9:36 am #247678
Artem TemosKeymasterHello,
To fix the problem you need to edit the file
woodmart/inc/admin/init.php
and replace the following codewp_enqueue_script( 'jquery-ui-datepicker' ); wp_enqueue_script( 'jquery-datetimepicker', WOODMART_ASSETS . '/js/datetimepicker.min.js', array(), $version, true );
with this one
if ( ! isset( $_GET['page'] ) || ( isset( $_GET['page'] ) && 'rp_wcdpd_settings' !== $_GET['page'] ) ) { wp_enqueue_script( 'jquery-ui-datepicker' ); wp_enqueue_script( 'jquery-datetimepicker', WOODMART_ASSETS . '/js/datetimepicker.min.js', array(), $version, true ); }
Kind Regards
December 4, 2020 at 10:33 am #247703
fitclemParticipantI replaced it.
Seems it’s not the problem.Condition are still broken after saving.
December 4, 2020 at 10:36 am #247710
Artem TemosKeymasterWe don’t see the problem at the moment https://gyazo.com/e93d0c3440757c05e047c0505e3a3b73
December 4, 2020 at 10:38 am #247715
fitclemParticipantTry to add other condition than date. You will see you wont be able to pick one after you saved.
December 4, 2020 at 10:41 am #247717
Artem TemosKeymasterCould you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Regards
December 4, 2020 at 10:43 am #247720
fitclemParticipantI did it.
With twenty seventeen defaut theme it works perfect. You can test it also if you want.December 4, 2020 at 12:24 pm #247790
Artem TemosKeymasterWe see that you have not the latest version of the plugin. Please, update it first.
December 4, 2020 at 12:26 pm #247792
fitclemParticipantUpdated again.
I did test with older version just in case.December 4, 2020 at 12:31 pm #247794
Artem TemosKeymasterWe have tested with a default theme and it doesn’t work too. Please, check from your side.
December 5, 2020 at 8:36 am #248046
fitclemParticipantOk i could fix the problem with both fix :
1- install plugin “jquery helper”
2- and your code fix up there.Anyway thanks very much for you help
December 5, 2020 at 9:27 am #248051
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
Tagged: AJAX, cant add, cant delete, conflict, dynamic pricing, error, Not Loading, woocommerce
- You must be logged in to create new topics. Login / Register