ekajuan
Forum Replies Created
-
Oh yea, you’re right.
Forum: Plugins
In reply to: [WP Job Manager] Number fieldNever Mind,
I understand now, where’s the mistake.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce adds the previous 'add to cart' product by itselfIs the code on github is the fix?
I have updated to woocommmerce 2.5.2 too, but no change.Forum: Plugins
In reply to: [WooCommerce] WooCommerce adds the previous 'add to cart' product by itselfIf I take a peek on the url on the pagination, the string is included.
I don’t experience/see anything else other than that.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce adds the previous 'add to cart' product by itselfI have deactivated all plugins. Except WooCommerce. And change my theme. The problem remains. Maybe there’s something on the pagination code.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce adds the previous 'add to cart' product by itselfYes, it has the same ?add-to-cart=1169, everywhere I go.
The string won’t dissapear.If I do the second one, no, the number of item on the cart doesn’t add up.
I want vendor to receive money using bank transfer instead of paypal.
On store settings there’s only paypal option available.
Do I have to override the template? If so which one? And which hook I can use to save this custom fields.
And how to make it appears on the users page on the backend?
Is there anything else I need to pay attention to, when I make the change for this case?
Uh oh this requires changes on many of the pluign’s core files:
dokan-lite / includes / functions.php
dokan-lite / templates / product / new-single-product.php
dokan-lite / assets / all.jsUh Oh need to change all.js
Uh oh this required a change on core files of the plugin:
dokan-lite/classes/template-products.php
Find:'post_status' => isset( $_POST['post_status'] ) ? $_POST['post_status'] : 'pending',
change to
'post_status' => 'pending',
Forum: Plugins
In reply to: [User Role Editor] Hide Admin Bar Doesn't WorkYep. It causes by other plugin.
Thank you.
Ah, there is.
Hmm…. I guess you’re not too familiar with coding.
You should replace the (dokan koding…) with the codes that exist on store.php. Not replacing all the codes in store.php with (dokan koding…)
Try this
<?php get_header(); $is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() ); ?> <div id="main-content"> <?php if ( ! $is_page_builder_used ) : ?> <div class="container"> <div id="content-area" class="clearfix"> <div id="left-area"> <?php endif; if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly $store_user = get_userdata( get_query_var( 'author' ) ); $store_info = dokan_get_store_info( $store_user->ID ); $map_location = isset( $store_info['location'] ) ? esc_attr( $store_info['location'] ) : ''; $scheme = is_ssl() ? 'https' : 'http'; wp_enqueue_script( 'google-maps', $scheme . '://maps.google.com/maps/api/js?sensor=true' ); get_header( 'shop' ); ?> <?php do_action( 'woocommerce_before_main_content' ); ?> <?php if ( dokan_get_option( 'enable_theme_store_sidebar', 'dokan_general', 'off' ) == 'off' ) { ?> <div id="dokan-secondary" class="dokan-clearfix dokan-w3 dokan-store-sidebar" role="complementary" style="margin-right:3%;"> <div class="dokan-widget-area widget-collapse"> <?php do_action( 'dokan_sidebar_store_before', $store_user, $store_info ); ?> <?php if ( ! dynamic_sidebar( 'sidebar-store' ) ) { $args = array( 'before_widget' => '<aside class="widget">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ); if ( class_exists( 'Dokan_Store_Location' ) ) { the_widget( 'Dokan_Store_Category_Menu', array( 'title' => __( 'Store Category', 'dokan' ) ), $args ); if( dokan_get_option( 'store_map', 'dokan_general', 'on' ) == 'on' ) { the_widget( 'Dokan_Store_Location', array( 'title' => __( 'Store Location', 'dokan' ) ), $args ); } if( dokan_get_option( 'contact_seller', 'dokan_general', 'on' ) == 'on' ) { the_widget( 'Dokan_Store_Contact_Form', array( 'title' => __( 'Contact Seller', 'dokan' ) ), $args ); } } } ?> <?php do_action( 'dokan_sidebar_store_after', $store_user, $store_info ); ?> </div> </div><!-- #secondary .widget-area --> <?php } else { get_sidebar( 'store' ); } ?> <div id="dokan-primary" class="dokan-single-store "> <div id="dokan-content" class="store-page-wrap woocommerce" role="main"> <?php dokan_get_template_part( 'store-header' ); ?> <?php do_action( 'dokan_store_profile_frame_after', $store_user, $store_info ); ?> <?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> <?php dokan_content_nav( 'nav-below' ); ?> <?php } else { ?> <p class="dokan-info"><?php _e( 'No products were found of this seller!', 'dokan' ); ?></p> <?php } ?> </div> </div><!-- .dokan-single-store --> </div> <?php global $virtue; if(isset($virtue['page_comments']) && $virtue['page_comments'] == '1') { comments_template('/templates/comments.php'); } ?> </div><!-- /.main --> <?php if ( ! $is_page_builder_used ) : ?> </div> <!-- #left-area --> </div> <!-- #content-area --> </div> <!-- .container --> <?php endif; ?> </div> <!-- #main-content --> <?php get_footer( 'shop' ); ?>
What do u get?
Well, I have a sidebar that I cant get rid off.
But the layout doesnt get messed.O some edit on my code. I don’t add the closing div. The sidebar get messed up otherwise.
<div id="content" class="container"> <div class="row"> <div class="main <?php echo esc_attr(kadence_main_class()); ?>" role="main"> (dokan codes....)
dokan koding means all the code that you find in store.php.