Home Forums Theme Support Dokan add new product – attributes

This topic is: not resolved

This topic contains 17 replies, has 2 voices, and was last updated by  towhid 4 years, 4 months ago.

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #36223

    Jacek r
    Member
    Post count: 18

    1. Some values of my attributes are in huge numbers (over 50).
    can I show it as dropdown? It's dificult to close 49 of them to leave just one, will be easier to choose just the right one, and is it posible to disable custom attribute?
    2. Can I mark default – “Visible on the product page”?
    3. Can I mark default – “Manage Stock? Enable stock management at product level”?

    #36457

    towhid
    Participant
    Post count: 4505

    Hello Jacker,

    1. I am really sorry to say that we do not have this feature right now.

    2. Yes, you can mark default.

    3. Also here, you can mark default.

    Both 2 & 3 you need to apply checked="checked" in input filed.

    Try yourself and let me know.

    Thank You ๐Ÿ™‚

    #36590

    Jacek r
    Member
    Post count: 18

    1. Do you have any idea how can i change that by myself?
    imagine 50 values to close down every time? please help.

    “Both 2 & 3 you need to apply checked=”checked” in input filed. ”
    whitch input filed? how to do that?

    #36856

    Jacek r
    Member
    Post count: 18

    3 days, 23 hours ago !!!!
    whitch input filed? how to do that?

    #36875

    towhid
    Participant
    Post count: 4505

    Hello Jacek,

    Sorry for my late. Please provide your login details by using this form – http://wedevs.com/provide-login-details/. I will do it for you.

    Thank you ๐Ÿ™‚

    #37021

    Jacek r
    Member
    Post count: 18

    have left my details…

    #37064

    Jacek r
    Member
    Post count: 18
    This reply has been marked as private.
    #37081

    towhid
    Participant
    Post count: 4505

    For “Visible on the product page”:

    Please open /dokan/templates/edit/templates-js.php and find this line:

    <label class="checkbox-inline">
                                <input type="checkbox" class="checkbox" name="attribute_visibility[<%= row %>]" value="1" /> <?php _e( 'Visible on the product page', 'dokan' ); ?>
                            </label>

    and replace with

    <label class="checkbox-inline">
                                <input type="checkbox" checked="checked" class="checkbox" name="attribute_visibility[<%= row %>]" value="1" /> <?php _e( 'Visible on the product page', 'dokan' ); ?>
                            </label>

    For “Manage Stock? Enable stock management at product level”:

    Please open /dokan/includes/woo-views/variation-admin-html.php and find this line:

    <label class="checkbox"><input type="checkbox" class="checkbox variable_manage_stock" name="variable_manage_stock[<?php echo $loop; ?>]" <?php checked( isset( $_manage_stock ) ? $_manage_stock : '', 'yes' ); ?> /> <?php _e( 'Manage Stock?', 'dokan' ); ?> <a class="tips" title="<?php _e( 'Enable this option to enable stock management at variation level', 'dokan' ); ?>" href="#">[?]</a></label>

    and replace with

    <label class="checkbox"><input type="checkbox" checked="checked" class="checkbox variable_manage_stock" name="variable_manage_stock[<?php echo $loop; ?>]" <?php checked( isset( $_manage_stock ) ? $_manage_stock : '', 'yes' ); ?> /> <?php _e( 'Manage Stock?', 'dokan' ); ?> <a class="tips" title="<?php _e( 'Enable this option to enable stock management at variation level', 'dokan' ); ?>" href="#">[?]</a></label>

    I think above solutions will solve your problem.

    Thank You ๐Ÿ™‚

    #37165

    Jacek r
    Member
    Post count: 18

    does not work!!!!

    1.'Visible on the product page', ‘woocommerce' ); ?>
    insted of ‘dokan'
    but anyway does not work

    2.where is THE LINE???
    dokan/includes/woo-views/variation-admin-html.php
    THE LINE does not exist

    #37535

    towhid
    Participant
    Post count: 4505

    Hello Jacek,

    If you please provide your login details by using this form โ€“ http://wedevs.com/provide-login-details/. I will do it for you.

    Thank you ๐Ÿ™‚

    #37549

    Jacek r
    Member
    Post count: 18

    Just sending my details.
    1. Works only when “Custom Attribute” not with my define attributes
    2. Can't find that line, honestly.. ๐Ÿ™
    3. Can You do it (default) “Reviews V Enable Reviews” @optionts
    4. …and “Enable Shipping? V Enable shipping options” @shipping (I'm using Dokan Per Product Shipping)

    And another topic
    1. how to do; at “store listing page” and “store page” hide seller phone number
    2. how to show shipping cost at “shop page” when listing product (next to price [ยฃ12.50 + ยฃ3.50 shipping])
    Thanks

    #37612

    towhid
    Participant
    Post count: 4505

    Hello Jacek,

    I am able to login to your site backend by the login details you provided to me. But I also need ftp details as well. Can you please send the ftp details to me? Without ftp I can not work on your code.

    Thank You ๐Ÿ™‚

    #37616

    Jacek r
    Member
    Post count: 18

    done

    #37635

    towhid
    Participant
    Post count: 4505

    I have got FTP Host and Password but did not get any Ftp username. Can you please send the FTP username.

    #37658

    Jacek r
    Member
    Post count: 18
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 18 total)

The topic ‘add new product – attributes’ is closed to new replies.