Home Forums General Ideas Dokan: attributes dropdown

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

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #28589

    mojomo
    Member
    Post count: 56

    Please create a dropdown for predefined woocommerce attributes for vendors to choose from (on “edit product”) – instead of adding all attributes at once and then having to delete all of the attributes that are not relevant.

    #28590

    mojomo
    Member
    Post count: 56

    I mean “superadmin defines attributes in WC backend” > “vendor chooses from predefined attributes in frontend”.

    #28681

    Sekander Badsha
    Member
    Post count: 2067

    Hello Mojomo,

    This feature is already implemented. Please check.

    Thank you ๐Ÿ™‚

    #28685

    mojomo
    Member
    Post count: 56

    I found it by now, thanks. It is off-site due to CSS conflicts.

    #30047

    mojomo
    Member
    Post count: 56

    Hi, I came across the same problem again, but this time I cannot find the dropdown and I don't remember where it was visible last time. Can you please direct me?

    #30048

    mojomo
    Member
    Post count: 56

    To clarify, when I add “size” as an attribute, I want people to be able to choose ONE size from a dropdown, instead of having displayed 200 sizes and then having to delete 199 of them manually.

    #30141

    mojomo
    Member
    Post count: 56

    Alternatively, is it possible to have the attributes in the list unselected/inactive as default? Then users could just click on the “+” to select the one attribute that they want to add. Would you please direct me to where I'd have to tweak the code in order to make this work?

    #30363

    Nayem
    Moderator
    Post count: 6480

    Hello Mojomo,

    You can read this doc here- http://docs.wedevs.com/add-drop-down-attributes/ to solve your issue. After reading this if you feel that your issue is not solve yet then you can tell me again. I am here to help you.

    Thank you ๐Ÿ™‚

    #30370

    mojomo
    Member
    Post count: 56

    Thanks, but I don't think you understood my question. Please read again.

    In one attribut category I will have up to 200 attributes (like sizes), but the user will only be interested in adding one of them. As a default all 200 attributes will be displayed and the user has to click “-” to delete 199 of them. Instead I would like the default to be set as “not selected”, so that users have to click “+” to select one attribute. Alternatively, a dropdown that contains all of the 200 attributes would be even nicer, but I guess that the upper idea is easier to realize.
    Please direct me to the file where I can change the default settings for the attributes list, and I don't mean adding or deleting attributes in the backend, I mean the php file/template where you defined the list's attributes to be selected by default.

    #30390

    Nayem
    Moderator
    Post count: 6480

    Hello Mojomo,

    We do not have this feature. So you have to customize this with your own hand or you have to hire a developer.

    Thank you ๐Ÿ™‚

    #30414

    mojomo
    Member
    Post count: 56

    I know that you don't have the feature, which is why I want to modify the script. That's why I asked you to direct me to the file that I need to modify.

    #31000

    mojomo
    Member
    Post count: 56

    So…where can I find the code that I have to tweak??

    #31635

    Sekander Badsha
    Member
    Post count: 2067

    Hello Mojomo,

    We are not managing anything for Attributes or variation. We are just showing the options of WooCommerce in the frontend.

    The files associated with variations are:

    /wp-content/plugins/dokan-plugin/classes/ajax.php
    /wp-content/plugins/dokan-plugin/includes/wc-functions.php
    wp-content/plugins/dokan-plugin/includes/woo-views/html-product-variation-download.php
    wp-content/plugins/dokan-plugin/includes/woo-views/variation-admin-html.php
    wp-content/plugins/dokan-plugin/templates/edit/attributes.php
    wp-content/plugins/dokan-plugin/templates/edit/templates-js.php
    wp-content/plugins/dokan-plugin/templates/orders/downloadable.php
    wp-content/plugins/dokan-plugin/templates/orders/order-item-html.php
    wp-content/plugins/dokan-plugin/templates/product-edit.php

    #41323

    guess mouhcine
    Member
    Post count: 6

    hi plz In one attribut category I will have up to 200 attributes (like sizes) but i dont have drop dawn in frontand!!
    Heberger image

    #41399

    Nayem
    Moderator
    Post count: 6480

    Hello Guess,

    Please read this documentation- http://docs.wedevs.com/add-drop-down-attributes/. Follow the instruction to add attributes.

    Thanks.

Viewing 15 posts - 1 through 15 (of 21 total)

The topic ‘Dokan: attributes dropdown’ is closed to new replies.