Home Forums Themes Support Gecko Most images did not upload on new install!

Topic Resolution: Resolved

Tagged: 

This topic contains 83 replies, has 2 voices, and was last updated by  Harry 5 days, 14 hours ago.

Viewing 15 posts - 31 through 45 (of 84 total)
  • Author
    Posts
  • #30467
    brent
    Supported

    Hi again.

    I just talked with the guys at Salesbinder. He says the Custom Fields do sync over as attributes. He seemed puzzled. Here is there API information which is fully accessible. Thought this might be helpful:

    https://www.salesbinder.com/api/

    Also he said we can modify the plugin if needed. I’ll attach a copy for you.

    Thank you so much.

    Brent

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

    Hi Brent,

    If you want hide description on bottom, please use the first code i sent you.

    /** Remove short description if product tabs are not displayed */
    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
        unset( $tabs['description'] );      	// Remove the description tab
        return $tabs;
    }
    
    function dot_reorder_product_page() {
        if ( get_option('woocommerce_product_tabs') == false ) {
            remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
        }
    }
    add_action( 'woocommerce_before_main_content', 'dot_reorder_product_page' );
    
    /** Display product description the_content */
    function dot_do_product_desc() {
    
        global $woocommerce, $post;
    
        if ( $post->post_content ) : ?>
            <div itemprop="description" class="item-description">
                <?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Description', 'woocommerce')); ?>
    
                <!-- <h2><?php echo $heading; ?></h2> -->
                <?php the_content(); ?>
    
            </div>
        <?php endif;
    }
    add_action( 'woocommerce_single_product_summary', 'dot_do_product_desc', 20 );

    2. You should request support from “salesbinder” support team to help you get custom field to WooCommere product. And WooCommerce is most popular plugin on WordPress you can’t request this plugin edit to work with salesbinder. The salesbinder have to edit to work with WooCommerce.

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #30480
    brent
    Supported

    Hey Harry have you ever worked with Dokan Multi Vendor Marketplace? I’m very serious about using this instead of Salesbinder. Many more options that are completely integrated with woo. It will give us a place for my friend from Sri Lanka to add and manage all of his inventory etc from the frontend. Tons of options and I found a trial offer that I can try. Here’s a brief review if you’re interested. I could go on and on but I have a few questions for you?

    1- I really need to be able to incorporate certain features of the Gecko theme, like being able to add the YouTube videos (very important). Would we be able to add to functions and add this into the vendor dashboard where he adds a product? Here’s an example picture  of where the vendor would be adding his products for the store. I’m not sure but from what I read this doesn’t change any features of Woocommerce it just adds to them.

    2- There are some other features from a plugin called Booster for Woocommerce  that I may like to incorporate also. One in particular is being able to add their “cost of good” plugin.

    3- I just read where they have created a new template file which you can easily edit and replace with child themes. Here’s the page.

    Anyway, what are thoughts?

    Thanks, Brent

    #30481
    brent
    Supported

    Any idea why Youtube would be blocking my video? First time I’ve seen this.

    Thanks!

     

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

    Hi Brent,

    1. I’m not have much experience with Dokan plugin. This plugin for site where has multi vendors can upload there products and sale on your site and you share commission for vendors. If you has only one friend in Sri Lanka help you upload product you only need create “Shop Manager” account he will create product for your site.

    2. If you want add video in vendor dashboard you need support from Dokan team

    3. To more details of plugin features you should contact to plugin author, they know their features clearer than me.

    4. Yes, that cool feature of Dokan that will help you easier to customize your store.

    5. Did you try on other browser. If issue still there please check this topic https://www.ampercent.com/how-to-open-youtube-when-blocked-in-office/18295/

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #30499
    brent
    Supported

    Found these errors in the console: Why would the Youtube error say that? Does something need to be updated or changed?

    Thanks.

    Uncaught SyntaxError: Unexpected token <
    content.js:1 [Deprecation] Element.createShadowRoot is deprecated and will be removed in M73, around March 2019. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 for more details.
    h @ content.js:1
    (anonymous) @ content.js:1
    (anonymous) @ content.js:1
    (index):1

    Refused to display ‘https://www.youtube.com/watch?v=I9RN4kLJnfo&feature=youtu.be’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.

     

    #30504

    Hi Brent,

    Please follow this topic https://stackoverflow.com/questions/51976152/refused-to-display-https-www-youtube-com-watchv-okzrsbjqjos-in-a-frame-beca

    Just change your link of Youtube to fix.

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #30731
    brent
    Supported

    Hi Harry, how are you?

    Hey how can I remove the “uncategorized” category? I’ve tried several snippets in the functions file but no luck. Am I missing a setting somewhere?

    Thanks! Brent

    Here’s the last one I tried:

    /* Remove uncategorized in Woocommerce */
    function wc_hide_selected_terms( $terms, $taxonomies, $args ) {
    $new_terms = array();
    if ( in_array( ‘product_cat’, $taxonomies ) && !is_admin() && is_shop() ) {
    foreach ( $terms as $key => $term ) {
    if ( ! in_array( $term->slug, array( ‘uncategorized’ ) ) ) {
    $new_terms[] = $term;
    }
    }
    $terms = $new_terms;
    }
    return $terms;
    }
    add_filter( ‘get_terms’, ‘wc_hide_selected_terms’, 10, 3 );

    #30732

    Hi Brent,

    You don’t need use any code.

    Please go to Products > Categories and make other category as “default”

    After that you can delete “uncategorized” category.

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #30733
    brent
    Supported

    Thank you sir!

    #30775
    brent
    Supported

    Hi Harry.

    I’m using the script that you gave me to display the long description at the top of the product detail page. But I need to remove the “Short Description” AND I also want to remove the tabs down below. Please see this pic:

    https://www.awesomescreenshot.com/image/3999369/b03e6eb8884b3acefd0507b191e375e1

    Thank you! Brent

    Here is script that I’m currently using in the function file:

    /** Remove short description if product tabs are not displayed */
    function dot_reorder_product_page() {
    if ( get_option(‘woocommerce_product_tabs’) == false ) {
    remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_excerpt’, 20 );
    }
    }
    add_action( ‘woocommerce_before_main_content’, ‘dot_reorder_product_page’ );

    /** Display product description the_content */
    function dot_do_product_desc() {

    global $woocommerce, $post;

    if ( $post->post_content ) : ?>

    <?php $heading = apply_filters(‘woocommerce_product_description_heading’, __(‘Product Description’, ‘woocommerce’)); ?>

    <!– <h2><?php echo $heading; ?></h2> –>
    <?php the_content(); ?>

    <?php endif;
    }
    add_action( ‘woocommerce_single_product_summary’, ‘dot_do_product_desc’, 20 );

    #30781

    Hi Brent,

    Please change code to

    /** Remove short description if product tabs are not displayed */
    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
        unset( $tabs['description'] );
        unset( $tabs['additional_information'] );
        unset( $tabs['reviews'] );     	// Remove the description tab
        return $tabs;
    }
    
    function dot_reorder_product_page() {
        if ( get_option('woocommerce_product_tabs') == false ) {
            remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
        }
    }
    add_action( 'woocommerce_before_main_content', 'dot_reorder_product_page' );
    
    /** Display product description the_content */
    function dot_do_product_desc() {
    
        global $woocommerce, $post;
    
        if ( $post->post_content ) : ?>
            <div itemprop="description" class="item-description">
                <?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Description', 'woocommerce')); ?>
    
                <!-- <h2><?php echo $heading; ?></h2> -->
                <?php the_content(); ?>
    
            </div>
        <?php endif;
    }
    add_action( 'woocommerce_single_product_summary', 'dot_do_product_desc', 20 );

    And add new code to JanStudio > Theme Option > General Layout > Custom CSS

    .woocommerce-product-details__short-description {
    	display: none;
    }

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #30820
    brent
    Supported

    Thanks Harry! I’ll check it out.

    Also: What can I do to change the text of SKU: to> Stock#:

    I added this to functions but it didn’t work:

    Thanks! You’re awesome!

    /* Change text in Woocommerce */
    add_filter( ‘gettext’, ‘edit_translate_woocommerce_text’, 999, 3 );

    function edit_translate_woocommerce_text( $translated, $text, $domain ) {

    // STRING 1
    $translated = str_ireplace( ‘SKU: ‘, ‘Stock#: ‘, $translated );

    // Add additional below

    return $translated;
    }

    #30824

    Hi Brent,

    Please copy file meta.php in plugins > woocommerce > templates > single-product to gecko-child > woocommerce > single-product and change SKU text to Stock

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #30826
    brent
    Supported

    Hey thanks again Harry.

    Guess what? They updated Salesbinder and the attributes now sync! And my products are now syncing with Facebook! Both of those plugins were broken. Yeah! 🙂

    So this changes some things I’d like to do. What can I add to functions to make the “Additional Information” tab information show up directly below the description at the top of the detailed page? I’ll use some of the last code to remove the other tabs and then I’ll style the Additional info.

    Wow! Huge progress after so long! If you can’t tell I’m pretty excited! I feel like I’ve been banging my head against the wall for a long time now and getting nowhere 🙂

    Thanks man!

    Brent

Viewing 15 posts - 31 through 45 (of 84 total)

You must be logged in to reply to this topic.