August 5, 2015 at 2:06 am #65312
When a customer visits the account migration page, the seller registration form is appearing twice. We have disabled all plugins and switched to a default WooCommerce theme and the issue is still there: http://imgur.com/jwZXFow
We also have Dokan Store Support installed and the Ticket List is also appearing multiple times in various locations on the page, also with a default theme: http://imgur.com/OJHwDLW
It looks like these templates are being called by woocommerce_locate_template, which has been deprecated. How can we fix this?August 5, 2015 at 2:14 pm #65400
I have tried to reproduce this issue but failed. It could be a has a chance of theme or plugin conflicts. You can disable all your plugins except Dokan and switch to a default theme of WordPress like – Twenty Twelve, Twenty Thirteen, Twenty Fourteen and let me know the results.
ThanksAugust 5, 2015 at 8:29 pm #65516
We disabled all plugins except Dokan, Dokan Store Support, and WooCommerce. We switched to the default Twenty Fifteen theme and added the WooCommerce Product Search widget to the sidebar. The dupllicate output appears after the search widget AND on the content. See screenshot: http://imgur.com/iqqdqiM
It appears that when Woocommerce is calling wc_get_template, Dokan and Dokan Store Support are filtering the output every time to add the form.
In the search bar example: Woocommerce is returning the product search widget using “wc_get_template( ‘product-searchform.php' );”. It looks like Dokan Store Support is filtering that output with add_filter( ‘woocommerce_locate_template', array( $this, ‘customer_topic_list' ),10 ,1 );.
Would that line of code, as well as this below code from Dokan – dokan-proloader.php cause the forms/lists to load every time woocommerce_locate_template is loaded?
add_filter( ‘woocommerce_locate_template', array( $this, ‘account_migration_template' ),50 );
This would explain why extra forms and lists are appearing. If so, how can we fix this?
Thanks.August 6, 2015 at 6:50 pm #65765
Make sure you have not upload [woocommerce_my_account] shortcode in the my-account page twice.
ThanksAugust 6, 2015 at 7:04 pm #65767
There is only one instance of the shortcode on the my-account page.
Regards.August 8, 2015 at 1:45 pm #65947
Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.
Thank you 🙂August 9, 2015 at 8:58 am #66050
Login information has been submitted. You can view the duplicate form issue when you click on “Your Account”, then “Messages with Store Owners.” The issue also appears on the account migration page for customers who want to become sellers.
Thanks.August 10, 2015 at 5:23 pm #66334
I have checked the site but did not get any double ticket. Here is the screenshot:
ThanksAugust 10, 2015 at 7:25 pm #66372
If you take another look at the screenshot you posted, there are two froms. One at the top of the page (where the search bar should be) and one in the content.
The customer experiences the same issue with the Account Migration form. A second form appears where the search bar should be.
THanks.August 11, 2015 at 5:01 pm #66529
I also need the FTP login details.
ThanksAugust 11, 2015 at 8:44 pm #66580
I'm not comfortable giving you the FTP information. Why is FTP needed?
Thanks.August 12, 2015 at 11:31 am #66634
Right now we do not need the FTP. But in future you might be needed.
I have reproduced this issue successfully. I have already forwarded this issue to our developer team. Please allow me some time. Hope I will come back to you with a right solution.
ThanksAugust 15, 2015 at 3:51 am #67071
NurulMemberPost count: 105This reply has been marked as private.August 16, 2015 at 3:55 pm #67288
I have fixed the store support issue.
But to fix the become a seller issue I need the FTP login details very much.
ThanksAugust 16, 2015 at 5:54 pm #67319
Sekander BadshaMemberPost count: 2067This reply has been marked as private.
The topic ‘Two Forms Appearing on Pages’ is closed to new replies.