Two Forms Appearing on Pages

This topic contains 30 reply and 4 voices, and was last updated by towhid 9 years, 4 months ago
Viewing 15 Posts - 1 through 15 (of 30 total)
Author Posts
August 5, 2015 at 2:06 am 65312
towhid 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
towhid towhid

Hello Carlos,

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.

Thanks

August 5, 2015 at 8:29 pm 65516
Carlos Carlos

Hi Towhid,

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
towhid towhid

Hello Carlos,

Make sure you have not upload [woocommerce_my_account] shortcode in the my-account page twice.

Thanks

August 6, 2015 at 7:04 pm 65767
Carlos Carlos

Hello,

There is only one instance of the shortcode on the my-account page.

Regards.

August 8, 2015 at 1:45 pm 65947
towhid towhid

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
Carlos Carlos

Hello,

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
towhid towhid

Hello Carlos,

I have checked the site but did not get any double ticket. Here is the screenshot:

Double Ticket

Thanks

August 10, 2015 at 7:25 pm 66372
Carlos Carlos

Good Morning,

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
towhid towhid

Hello Carlos,

I also need the FTP login details.

Thanks

August 11, 2015 at 8:44 pm 66580
Carlos Carlos

Hello,

I’m not comfortable giving you the FTP information. Why is FTP needed?

Thanks.

August 12, 2015 at 11:31 am 66634
towhid towhid

Hello Carlos,

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.

Thanks

August 15, 2015 at 3:51 am 67071
Nurul Nurul This reply has been marked as private.
August 16, 2015 at 3:55 pm 67288
towhid towhid

Hello Carlos,

I have fixed the store support issue.

But to fix the become a seller issue I need the FTP login details very much.

Thanks

August 16, 2015 at 5:54 pm 67319
Sekander Badsha Sekander Badsha This reply has been marked as private.
August 16, 2015 at 6:35 pm 67323
Nurul Nurul

haha my apologies. i was only going to write the first paragraph which is: I am also facing an issue on this page. When is a update coming. I have a form in the header, on the side and in the footer.

i got carried away. my apologies. i will create another post.

By the way, is there going to be a fix for this issue in the next update?

Viewing 15 Posts - 1 through 15 (of 30 total)