Home Forums Theme Support Dokan BUG: On Product Edit, Subscription Package Limit decreases?

This topic is: not resolved

This topic contains 11 replies, has 2 voices, and was last updated by  Nayem 3 years, 11 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #54653

    Rodolfo
    Member
    Post count: 35

    If I add a new Product and my subscription allows for 10 products/month, I get correctly a message “you can add 9 more products”.

    However, if I EDIT the same product and then “save”, I get a message “you can add 8 more products”. So, it has reduced the limit again, while it should have not!

    This needs to be fixed asap – please let me know

    Rodolfo

    #54707

    Nayem
    Moderator
    Post count: 6480

    Hello Rodolfo,

    I have checked in our local side. It is working fine.

    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 ๐Ÿ™‚

    #54775

    Rodolfo
    Member
    Post count: 35

    Nayem, I will send the details now.

    I have Dokan theme + Dokan subscriptions. It gives me error with Dokan theme and with my child theme.

    #54776

    Rodolfo
    Member
    Post count: 35

    Please keep me updated

    #54778

    Rodolfo
    Member
    Post count: 35

    You can test with the “Free” subscription, it gives you 3 free products per month.

    #54959

    Rodolfo
    Member
    Post count: 35

    Guys, can you please let me know? I'm stuck and I cannot launch the website until we fix this…!

    #54972

    Nayem
    Moderator
    Post count: 6480

    Hello Rodolfo,

    I have to discuss with our developer team. Please keep patience. I can provide a solution within tomorrow because tomorrow is our weekend. I am really sorry for the inconvenience.

    #54975

    Rodolfo
    Member
    Post count: 35

    Ok Nayem please let me know, this is very important and I really don't want to switch to another Vendor plugin after all the customisation I have done. Let me know & thanks

    #54979

    Nayem
    Moderator
    Post count: 6480

    Sure! I will inform you after discussing with our developer.

    #55196

    Nayem
    Moderator
    Post count: 6480

    Hello,

    Please check your site. I have fixed it.

    #55198

    Rodolfo
    Member
    Post count: 35

    Thank you, it works! What did you change?

    Also – I have another problem that I will post now in another thread.

    R

    #55202

    Nayem
    Moderator
    Post count: 6480

    We have added this code in template-shortcode.php file of Dokan plugin-

    if ( isset( $_POST['dokan_product_id'] ) && empty( $_POST['dokan_product_id'] ) ) {
                    self::$errors = apply_filters( 'dokan_can_add_product', $errors );
                } else {
                    self::$errors = apply_filters( 'dokan_can_edit_product', $errors );
     }
Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘BUG: On Product Edit, Subscription Package Limit decreases?’ is closed to new replies.