Title: achchu93's Replies | WordPress.org

---

# achchu93

  [  ](https://wordpress.org/support/users/achchu93/)

 *   [Profile](https://wordpress.org/support/users/achchu93/)
 *   [Topics Started](https://wordpress.org/support/users/achchu93/topics/)
 *   [Replies Created](https://wordpress.org/support/users/achchu93/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/achchu93/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/achchu93/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/achchu93/engagements/)
 *   [Favorites](https://wordpress.org/support/users/achchu93/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy] ReferenceError: dokan_assets_url is not defined](https://wordpress.org/support/topic/referenceerror-dokan_assets_url-is-not-defined/)
 *  [achchu93](https://wordpress.org/support/users/achchu93/)
 * (@achchu93)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/referenceerror-dokan_assets_url-is-not-defined/#post-10269453)
 * 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](https://wordpress.org/support/users/achchu93/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy] Remove vendor registration](https://wordpress.org/support/topic/remove-vendor-registration/)
 *  [achchu93](https://wordpress.org/support/users/achchu93/)
 * (@achchu93)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/remove-vendor-registration/#post-10173628)
 * > i found the solution. Sorry for the trouble.
   >  just added this in my function.
   > php in child theme
   > remove_action( ‘woocommerce_register_form’, ‘dokan_seller_reg_form_fields’ );
 * [@xeith](https://wordpress.org/support/users/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.4
 *     ```
       function 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced AJAX Product Filters] pagination issue](https://wordpress.org/support/topic/pagination-issue-28/)
 *  Thread Starter [achchu93](https://wordpress.org/support/users/achchu93/)
 * (@achchu93)
 * [11 years ago](https://wordpress.org/support/topic/pagination-issue-28/#post-6159926)
 * Hello 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced AJAX Product Filters] Widget not showing](https://wordpress.org/support/topic/widget-not-showing-15/)
 *  [achchu93](https://wordpress.org/support/users/achchu93/)
 * (@achchu93)
 * [11 years ago](https://wordpress.org/support/topic/widget-not-showing-15/page/3/#post-5873926)
 * Hi 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced AJAX Product Filters] Slider box only shows 3 digits](https://wordpress.org/support/topic/slider-box-only-shows-3-digits/)
 *  [achchu93](https://wordpress.org/support/users/achchu93/)
 * (@achchu93)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/slider-box-only-shows-3-digits/#post-6144192)
 * Hi 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced AJAX Product Filters] Widget not showing](https://wordpress.org/support/topic/widget-not-showing-15/)
 *  [achchu93](https://wordpress.org/support/users/achchu93/)
 * (@achchu93)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/widget-not-showing-15/#post-5873772)
 * Hi 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!

Viewing 6 replies - 1 through 6 (of 6 total)