Problem overriding store.php
-
Hello,
I’m trying to override the template store.php from the Dokan lite plugin.
I copied the file to my child theme under the folder “dokan” according to your instructions.
The problem is that this function in the file is causing the template to be loaded in loops:
dokan_get_template_part( ‘store’, ‘sidebar’, array( ‘store_user’ => $store_user, ‘store_info’ => $store_info, ‘map_location’ => $map_location ) );
When I comment it out it works, but I need this sidebar.I’ve tried deactivating all of the other plugins and also switched to the default template “Twenty Twenty” and added the file there, but the problem still occurs.
Can you please help me figure out what can the problem?
Thank you.The page I need help with: [log in to see the link]
- The topic ‘Problem overriding store.php’ is closed to new replies.