Will this theme be compatible with WP’s Gutenberg release?
]]>Pick up products already registered in woocommerce and display for all sellers who use dokan.
I changed the dokan-lite/templates/store.php
if ( have_posts() ) { ?>
<div class="seller-items">
<?php woocommerce_product_loop_start(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php wc_get_template_part( 'content', 'product' ); ?>
<?php endwhile; // end of the loop. ?>
<?php woocommerce_product_loop_end(); ?>
</div>
To stay as below
$args=array(
'author' => 0,
'post_type' => 'product',
'post_status' => 'publish'
);
$my_query = null;
$my_query = new WP_Query($args);
if ( $my_query->have_posts() ) { ?>
<div class="seller-items">
<?php woocommerce_product_loop_start(); ?>
<?php while ( $my_query->have_posts() ) : $my_query->the_post(); ?>
<?php wc_get_template_part( 'content', 'product' ); ?>
<?php endwhile; // end of the loop. ?>
<?php woocommerce_product_loop_end(); ?>
</div>
But when making the sale, the product remains related to the administrator who registered the product, not the owner of the store that made the sale.
]]>Hello.I’m testing your theme and I like it.Can you tell how to hide the header on the main page
]]>