Home Forums WoodMart support forum WC Marketplace – Sidebar

WC Marketplace – Sidebar

Viewing 30 posts - 1 through 30 (of 36 total)
  • Author
    Posts
  • #49708

    jborrazas
    Participant

    Hello,
    I am using WC Marketplace and everything works very well so far, Woodmart is a great theme!
    But I have to solve some minor inconveniences. I know you can help me and I appreciate it.
    1- I’m seeing that the pages, the seller’s store and the list of sellers use the same sidebar of the blog.
    How can I unlink and change this? On the site there is also a blog, they can not share the same sidebar.
    Can you link a different sidebar to the pages, the seller’s store and the seller’s list? (taking advantage that the theme allows to add sidebars).
    2- I also need to adjust CSS on the Store List page.
    3- Finally I need to customize the button (Desktop – manage your account from here) of “My account” page, so that it looks like the others.
    Thank you.
    Juan.

    Attachments:
    You must be logged in to view attached files.
    #49760

    Bogdan Donovan
    Keymaster

    Hi,

    1. In vendors list page try to remove sidebar in page settings http://prntscr.com/ixwlry.
    In vendor shop page try to remove blog sidebar globally in theme settings (Theme Settings -> Blog) and enable it only on blog post page.

    2 & 3. Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issues.

    .wcmp_vendor_list .vendor_sort {
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	margin-left: -10px;
    	margin-right: -10px;
    }
    
    .wcmp_vendor_list .vendor_sort select,
    .wcmp_vendor_list .vendor_sort input {
    	margin-left: 10px;
    	margin-right: 10px;
    }
    
    .wcmp_vendor_list .vendor_sort select {
    	max-width: 195px;
    }
    
    .wcmp_vendor_list .vendor_sort input {
    	min-width: 90px;
    }
    
    .woodmart-my-account-links + a {
    	  max-width: calc(33% - 15px);
        width: calc(33% - 15px);
    		padding: 20px;
        display: block;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.18);
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        text-transform: uppercase;
    }
    
    .woodmart-my-account-links + a:hover {
    	background-color: rgba(0, 0, 0, 0.03);
    	color: #3f3f3f;
    }	
    
    .woodmart-my-account-links + a:before {
        content: "\f437";
        font-family: "woodmart-font";
        display: block;
        color: #d0d0d0;
        margin-bottom: 10px;
        font-size: 50px;
        font-weight: 400;
        line-height: 50px;
        -webkit-transition: color 0.25s ease;
        transition: color 0.25s ease;
    }
    
    .woodmart-my-account-links + a:hover:before {
    	    color: #7eb934
    }
    
    @media (max-width: 1024px) {
    	.woodmart-my-account-links + a {
    		max-width: calc(50% - 10px);
    		width: calc(50% - 10px);
    	}
    }
    
    @media (max-width: 768px) {
    .wcmp_vendor_list .vendor_sort select {
    	max-width: 100%;
    }
    }
    
    @media (max-width: 480px) {
    	.woodmart-my-account-links + a {
    		max-width: 100%;
    		width: 100%;
    	}
    	
    	.wcmp_vendor_list .vendor_sort {
    		-ms-flex-wrap: wrap;
    		flex-wrap: wrap;
    	}
    	
    	.wcmp_vendor_list .vendor_sort select {
    		margin-bottom: 10px;
    	}
    }

    Regards

    #49883

    jborrazas
    Participant

    Hello,
    The CSS theme is solved, thankyou.
    Regarding the sidebar of the Seller Store and Store List pages, I need you to have a different sidebar, not the Blog’s sidebar.
    In the sidebar Shop of the seller, I want to place the widgets “Seller’s product categories” “Google maps” and “Contact seller”, this can not be in the Blog.
    I apologize for the language, I speak Spanish and I use a translator.
    Thankyou
    Juan.

    Attachments:
    You must be logged in to view attached files.
    #49936

    jborrazas
    Participant

    Sorry, on the Store List page, I know how to customize the sidebar, as it is a page with a shortcode. Where I do not know how to do it is on the seller’s Shop page, because the page is an endpoint. I hope you have understood me.
    Juan.

    #49994

    Artem Temos
    Keymaster

    Could you please provide us your FTP access so we can see what can we do there?

    #50082

    jborrazas
    Participant

    Hi, I send access data in private.

    #50083

    Artem Temos
    Keymaster

    Sorry, but we can’t access http://prntscr.com/iyhwax

    #50095

    jborrazas
    Participant

    You can work? I see you connected …

    Attachments:
    You must be logged in to view attached files.
    #50178

    Artem Temos
    Keymaster

    No, as we shown on the screenshot, we are not able to connect your server.

    #50209

    jborrazas
    Participant

    My hosting provider tells me to use the user [email protected] and use the IP address.
    Thanks
    Juan.

    #50229

    Eric Watson
    Participant

    Hello,

    We tried a few times but still can’t connect http://prntscr.com/iyyo05

    Kind Regards
    XTemos Studio

    #50232

    jborrazas
    Participant

    Intenta ahora sorry.

    #50256

    Artem Temos
    Keymaster

    We still see the same error.

    #50423

    jborrazas
    Participant

    Hello

    #50428

    Artem Temos
    Keymaster

    Try to create a file in the child theme called sidebar.php and place the following code inside

    <?php
    global $WCMp;
    
    $sidebar_class = woodmart_get_sidebar_class();
    
    $sidebar_name = woodmart_get_sidebar_name();
    
    if( strstr( $sidebar_class, 'col-sm-0' ) ) return;
    
    ?>
    <aside class="sidebar-container <?php echo esc_attr( $sidebar_class ); ?> area-<?php echo esc_attr( $sidebar_name ); ?>" role="complementary">
    	<div class="widget-heading">
    		<a href="#" class="close-side-widget"><?php esc_html_e( 'close', 'woodmart' ); ?></a>
    	</div>
    	<div class="sidebar-inner woodmart-sidebar-scroll">
    		<div class="widget-area woodmart-sidebar-content">
    			<?php do_action( 'woodmart_before_sidebar_area' ); ?>
    			<?php 
    				if ( is_tax( $WCMp->taxonomy->taxonomy_name ) ) {
    					dynamic_sidebar( 204 );
    				} else{
    					dynamic_sidebar( $sidebar_name );
    				}
    			?>
    			<?php do_action( 'woodmart_after_sidebar_area' ); ?>
    		</div><!-- .widget-area -->
    	</div><!-- .sidebar-inner -->
    </aside><!-- .sidebar-container -->

    And you will need to place your sidebar ID here https://prnt.sc/izrpri

    #50503

    jborrazas
    Participant

    Excellent, genius. It was working.
    Thank you!!!!
    Juan.

    #50512

    Artem Temos
    Keymaster

    Great, you are welcome!

    #64869

    jborrazas
    Participant

    Hello,
    I need help to solve 2 problems.
    1- I have a customized sidebar (sidebar.php in the child theme directory) for the vendor store (WC Marketplace plugin). After the last update of the theme, the sidebar of the blog appears before the footer of several pages. If I delete the file sidebar.php the problem is solved.
    See sidebar.php code above in #50428.

    2- On the vendor’s store page when selecting a product category or changing the type of view, the location map disappears, it also changes the star rating format to a scrollable menu.

    #64877

    Artem Temos
    Keymaster

    Hi,

    Please, provide us screenshots to both problems so we can identify them.

    Thank you

    #64891

    jborrazas
    Participant

    I send Onedrive link, video of the errors.
    Thank you.

    #64900

    Artem Temos
    Keymaster

    We can’t connect your FTP. It seems that you have some country restriction on your server.

    #64907

    jborrazas
    Participant

    In which country are you?
    I consult my hosting provider.
    You and I always have the same problem, I will try to solve it.

    #64916

    jborrazas
    Participant

    Dir IP

    #64964

    Artem Temos
    Keymaster

    OK, here is

    #65310

    jborrazas
    Participant

    Hi, We’ve already added your Ip dir to whitelist, try entering. Thank you.

    #65314

    Artem Temos
    Keymaster

    Sorry, but I have another IP now. And it would be better to disable this restriction at all. Otherwise, I will not be able to connect.

    #65322

    jborrazas
    Participant

    Please…

    #65344

    Artem Temos
    Keymaster

    Replace your sidebar.php file content with this one

    <?php
    /**
     * The sidebar containing the secondary widget area
     *
     * Displays on posts and pages.
     *
     * If no active widgets are in this sidebar, hide it completely.
     */
    
    $sidebar_class = woodmart_get_sidebar_class();
    
    $sidebar_name = woodmart_get_sidebar_name();
    
    if( strstr( $sidebar_class, 'col-md-0' ) ) return;
    
    ?>
    <aside class="sidebar-container <?php echo esc_attr( $sidebar_class ); ?> area-<?php echo esc_attr( $sidebar_name ); ?>" role="complementary">
    	<?php if ( woodmart_woocommerce_installed() ): ?>
    		<div class="widget-heading">
    			<a href="#" class="close-side-widget"><?php esc_html_e( 'close', 'woodmart' ); ?></a>
    		</div>
    	<?php endif; ?>
    	<div class="sidebar-inner woodmart-sidebar-scroll">
    		<div class="widget-area woodmart-sidebar-content">
    			<?php do_action( 'woodmart_before_sidebar_area' ); ?>
    			<?php 
    				if ( is_tax( $WCMp->taxonomy->taxonomy_name ) ) {
    					dynamic_sidebar( 1440 );
    				} else{
    					dynamic_sidebar( $sidebar_name );
    				}
    			?>
    			<?php do_action( 'woodmart_after_sidebar_area' ); ?>
    		</div><!-- .widget-area -->
    	</div><!-- .sidebar-inner -->
    </aside><!-- .sidebar-container -->

    As for Vendors page, you need to disable AJAX shop option in Theme Settings -> Shop.

    #65673

    jborrazas
    Participant

    Hello,
    Finally the sidebar problem was solved, thank you very much.
    Now it is necessary to solve point 2 of the topic #64869. Attachment video link.
    Thank you.

    #65692

    Artem Temos
    Keymaster

    Hi,

    You need to disable AJAX shop option in Theme Settings -> Shop. Unfortunately, it is not possible to make it compatible with those widgets.

Viewing 30 posts - 1 through 30 (of 36 total)