Digital store

This topic contains 3 reply and 2 voices, and was last updated by Tareq Hasan 10 years, 1 month ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
February 18, 2014 at 5:16 am 15549
Tareq Hasan If you are only going to sell digital downloads, how can you tell the theme to auto enable "Sold Individually"?
February 19, 2014 at 1:55 am 15614
Tareq Hasan Tareq Hasan

Seems like the option is left out from theme unintentionally. I’ll put it back.

February 19, 2014 at 2:21 pm 15634
Thomas Thomas

Great! Any idea on when the first update for this theme is coming?

February 20, 2014 at 12:07 am 15653
Tareq Hasan Tareq Hasan

Just add these lines to /templates/edit/options.php:
[php]
<div class="form-group">
<label class="col-md-4 control-label" for="_enable_reviews"><?php _e( ‘Sold Individually’, ‘dokan’ ); ?></label>
<div class="col-md-8">
<?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>
[/php]

That should do. There needs to be more fixes to make an update 🙂

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