achchu93
Forum Replies Created
-
Even after I update it to 2.8.1 it is not working. I think it is an issue with Pro version. So i made a temporary solution. Below is the code. put it inside your functions.php
function dk_shortcode_script($shortcodes){ define('DOKAN_SHORTCODES', $shortcodes); ?> <script> var dokan_assets_url = <?php echo json_encode( DOKAN_PRO_PLUGIN_ASSEST ) ?>; var dokan_shortcodes = <?php echo json_encode( DOKAN_SHORTCODES ) ?>; </script> <?php return $shortcodes; } add_filter('dokan_button_shortcodes', 'dk_shortcode_script', 10, 1); add_action('admin_head', 'dk_shortcode_script');remove this once the plugin fixed this.
you may be confused with why there is a need of “dokan_shortcodes” variable. after fixing the “dokan_assets_url” it says “dokan_shortcodes is undefined.” so i have used their filter of shortcodes and set it up to a variable.
- This reply was modified 8 years, 1 month ago by achchu93.
i found the solution. Sorry for the trouble.
just added this in my function.php in child themeremove_action( ‘woocommerce_register_form’, ‘dokan_seller_reg_form_fields’ );
@xeith, you answer is wrong. because ‘dokan_seller_reg_form_fields’ is added inside a class. so remove_action wont work as you mentioned. so working solution is below.
Note: this is tested with DokanPro 2.7.4function remove_dokan_frontend_vendor_registration() { $Dokan_Pro = dokan_pro(); remove_action( 'woocommerce_after_my_account', array( $Dokan_Pro, 'dokan_account_migration_button' )); } add_action( 'init', 'remove_dokan_frontend_vendor_registration' );Forum: Plugins
In reply to: [Advanced AJAX Product Filters] pagination issueHello westryder!
Yeah sure i can give you the solution. If you got to the plugin settings, it means in dashboard go to woo-commerce and under it there is a option product filter. In product filter there are 3 tabs.last tabs called javaScript. Just put your code JS code before update option. I have used this code $(“html, body”).animate({ scrollTop: 0 }, 600);. so you can do it. And this is great option from plugin author. this is a great plugin.
Best regards!
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Widget not showingHi dima,
Im sorry for bothering you again. You latest update solved my problem. Here i have come to request you a suggestion. that is what if you integrate you plugin with ion.RangeSlider. It is a great slider and very good user interface it has. So it would be great if you done.
Best regards!
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Slider box only shows 3 digitsHi there,
I am having an issue that if i click next page in pagination the screen goes to footer section. It means i have to scroll up again to see the products. Please help m,e as soon as possible.
this is the link.
best regards!Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Widget not showingHi dima,
I installed you plugin.i am using woocommerce plugin also.but sill the widget not appear in the page.i hope you will help me.thanks in advance.
Best regards!