This topic contains 9 reply and 2 voices, and was last updated by towhid 4 years, 5 months ago
Viewing 9 Posts - 1 through 9 (of 9 total)
Author Posts
April 29, 2015 at 5:38 pm 42602
towhid

    <div class="dokan-form-group">
        <label class="dokan-w4 dokan-control-label" for="_enable_reviews"><?php _e( 'Sold Individually', 'dokan' ); ?></label>
        <div class="dokan-w7 dokan-text-left">
            <?php dokan_post_input_box( $post->ID, '_sold_individually', array('label' => __( 'Allow one of this item to be bought in a single order', 'dokan' ) ), 'checkbox' ); ?>
        </div>
    </div>
What i could change in this code of options.php to make this box checked default? Please help me
April 29, 2015 at 5:56 pm 42615
towhid towhid

Hello Lukasz,

Please provide me a screenshot where you want to change(not any code).

Thank you 🙂

April 29, 2015 at 6:08 pm 42631
Lukasz K Lukasz K

Towhid – Thank you very much for reply.

Here you are :

Problem

April 29, 2015 at 6:45 pm 42642
towhid towhid

Hello Lukasz,

Please replace the following code with the code you have provided in the post.

<div class="dokan-form-group">
        <label class="dokan-w4 dokan-control-label" for="_enable_reviews"><?php _e( 'Sold Individually', 'dokan' ); ?></label>
        <div class="dokan-w7 dokan-text-left">
            <?php dokan_post_input_box( $post->ID, '_sold_individually', array('label' => __( 'Allow one of this item to be bought in a single order', 'dokan' ), 'value' => 'yes' ), 'checkbox'); ?>
        </div>
    </div>

Please check and let me know the result.

Thank you 🙂

April 29, 2015 at 6:51 pm 42645
Lukasz K Lukasz K

Yep that’s work.

Thank you very much towhid!

April 29, 2015 at 6:54 pm 42646
towhid towhid This reply has been marked as private.
May 1, 2015 at 4:34 am 42864
Lukasz K Lukasz K

Yep, of course. I will add this.

But there is one problem more. Reviews and Sell inividually are checked default but this option doesn’t work
if you don’t use a button “Update product” in Edit product tab. If someone add poduct without changing anything on Edit Product tab (so will not click on Update button), reviews and sell individually will don’t work. I need to work of this options immediately after you click “Add new product” button.

Could you find a fix to this problem, please?

May 5, 2015 at 11:17 am 43088
towhid towhid

Hello,

Sorry for my late reply. I did not understand why “Reviews and Sell individually” will not show up when a product add. Can you please send me a screenshot.

Thank you 🙂

May 5, 2015 at 1:54 pm 43104
Lukasz K Lukasz K

Here are the steps to add new products :

Step1

Step2

If you will finish your adding after Step2 then Reviews and Sell Individually option will not work.
You must to do Step3, but not everyone doing changes in their products so they don’t use Step3 (Product Edit tab) so they never use button (Update product). Reviews and Sell Individually option work only after use Update button.

Step3

I want to enable Reviews and Sell Inividuall option immediately after Step2 without needed to click Update button on Step3.

May 5, 2015 at 3:24 pm 43119
towhid towhid

Hello,

So far we tried to provide services as our best. But to avail this feature you need to do customization. But I am really sorry to say that we do not provide any customization services. If you need it urgent you can hire a developer.

Thank you 🙂

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