Dokan subscription plugin template part don’t load.

This topic contains 12 reply and 2 voices, and was last updated by towhid 9 years, 12 months ago
Viewing 12 Posts - 1 through 12 (of 12 total)
Author Posts
November 12, 2014 at 5:02 pm 30287
towhid Hello, i open this topic next to "Empty page dokan 1.2 and subscription" because that is not resolved for my case ! i used dokan as plugin with WC theme ... subscription addon installation is running up but there is a issue with the template part loading (404 issue) The solutions provided by support team: ---------------------------------------------------------------------------------------------------------- Please open wp-content/plugins/wedevs-dokan-subscription/dokan-product-subscription.php file and find add_action( 'dokan_get_template_part', array( $this, 'load_template_from_plugin'), 10, 3 ); this line and replace with add_action( 'dokan_load_custom_template', array( $this, 'load_template_from_plugin'), 10 ); also find this function function load_template_from_plugin( $template, $slug, $name ) { global $wp; if ( isset( $wp->query_vars['subscription'] ) ) { //var_dump( dokan_get_template_part( 'product_subscription_plugin' ) ); $template = dirname(__FILE__).'/templates/product_subscription_plugin.php'; } return $template; } replace with function load_template_from_plugin( $query_vars ) { if ( isset( $query_vars['subscription'] ) ) { $template = dirname(__FILE__).'/templates/product_subscription_plugin.php'; } require_once $template; } and also, go to dashboard->permalink->Save Changes. Hope that will solve your problem. -------------------------------------------------------------------------------------- But still have an no page found issue Thanks
November 12, 2014 at 5:08 pm 30288
stephane stephane This reply has been marked as private.
November 12, 2014 at 5:18 pm 30289
towhid towhid

Hello Stephane,

I have already forwarded this issue to our developer team. But all of our developer team are busy at this moment. So its need time. We will be right back as soon as possible. Please have patience.

Thank You. 🙂

November 14, 2014 at 2:58 pm 30459
towhid towhid

Hello Stephane,

The login details you provide is ‘seller’. But to work I need ‘Super Admin’ login details. Otherwise it will not be easy to manage.

Again, 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 🙂

November 14, 2014 at 3:03 pm 30460
stephane stephane

Hello towhid,

Ok i uptade login details on my wp-admin

November 17, 2014 at 6:49 pm 30627
stephane stephane

Hello towhid,

still waiting for a fix !
i see 2 days ago that your testing my wp template dokan plugin
did you find something ?

thanks

Stéphane

November 18, 2014 at 10:33 am 30665
towhid towhid

Hello Stephane,

The developer I have assign the issue is in vacation. He will be back Friday. After then he will check this issue. So please have patience.

Thank You. 🙂

November 20, 2014 at 5:32 pm 30862
stephane stephane

Hello,
i an waiting for developper issue that your assign …
if it help him : i have the same probleme than oloff customer on topic “Dokan Subscription addon – Page not found..” = subsbcrition choice missing on setting dokan subscription tab

thanks
stéphane

November 21, 2014 at 3:09 pm 30912
towhid towhid

Hello Stephane,

They are working very hard about this issue. Please allow couple of days. Hope it will solve very soon.

Thank You. 🙂

November 21, 2014 at 5:12 pm 30916
stephane stephane

Hello towhid
Ok i’m sure that you do the best !

so i have a question about dokan category widget ( on seller store )may be you can help me !
i have some category who are hidden and unfortunetly there appeare on seller store widget

i try this function on includes/theme-function.php
but no results any idea to fix it

/*————————————————————————————————–
Don’t show Catagories – ads category
————————————————————————————————–*/
add_filter( ‘get_terms’, ‘dokan_get_subcategory_terms’, 10, 3 );
function dokan_get_subcategory_terms( $terms, $taxonomies, $args ) {
$new_terms = array();
// if a product category and on the shop page
if ( in_array( ‘product_cat’, $taxonomies ) && ! is_admin() ) {
foreach ( $terms as $key => $term ) {
if ( ! in_array( $term->slug, array( ‘adshome’ ) ) )
if ( ! in_array( $term->slug, array( ‘adscat’ ) ) )
if ( ! in_array( $term->slug, array( ‘adsdog’ ) ) )
if ( ! in_array( $term->slug, array( ‘adsslpet’ ) ) )
if ( ! in_array( $term->slug, array( ‘adslifestyle’ ) ) )
{
$new_terms[] = $term;
}
}
$terms = $new_terms;
}
return $terms;
}

November 22, 2014 at 9:27 pm 30976
stephane stephane

hello,
i tested like seakander told me to uptade the dokan pluggin v1.2 and subscrition addon
but still have the issue
subsription template don’t load

November 23, 2014 at 5:48 pm 30996
towhid towhid

Hello Stephane,

I have tried first to delete Dokan Plugin then update but noticed I have no delete permission. We have release Dokan Plugin 1.3 and Subscription addon 1.0. Please update and let me know.

Thank You. 🙂

November 29, 2014 at 11:38 am 31373
towhid towhid

Hello Stephane,

Would you please let me Dokan Plugin and Subscription Addon activation process work for you?

Thank You 🙂

Viewing 12 Posts - 1 through 12 (of 12 total)