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

Topic Resolution: Resolved

Tagged: 

This topic contains 130 replies, has 2 voices, and was last updated by  brent 1 month, 1 week ago.

Viewing 15 posts - 61 through 75 (of 131 total)
  • Author
    Posts
  • #30919
    brent
    Supported

    Okay I see. No problem.

    I have another question about the My Account area. I am trying to modify and add a “GO SHOP” button to the dashboard to show up like in the “My Downloads” and “My Orders” tabs. I made a copy of the “/woocommerce/myaccount/dashboard.php” file and put it into my child theme like we did with the meta.php but nothing shows up when I edit it. I added the file to: woocommerce > myaccount > dashboard.php

    What did I do wrong? 🙂

    #30920
    brent
    Supported

    Hey Harry,

    1- Never mind with adding the GO SHOP button! I added a sidebar and added it there. 🙂

    2- But could you help me change the weight of ounces (oz) to carats (ct). I’m not sure where that would be.

    Thanks, Brent

    #30927

    Hi Brent,

    1. Please add below code to gecko-child > functions.php

    /*
     * Add carat to weight unit
     * Author: https://levantoan.com
     * */
    add_filter('woocommerce_products_general_settings','devvn_add_weight_unit');
    function devvn_add_weight_unit($settings){
        foreach ( $settings as &$setting ) {
            if ( $setting['id'] == 'woocommerce_weight_unit' ) {
                $setting['options']['carat'] = __('carat','devvn');
            }
        }
        return $settings;
    }

    2. Go to WooCommerce > Settings > Products > Weight unit and change http://prntscr.com/nkmr83

    Kind regards

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

    #30947
    brent
    Supported

    Thanks Harry! That’s perfect!

    #30980
    brent
    Supported

    Hey Harry I don’t understand this. When I try to use jquery to target an element in Woocommerce it’s like it just doesn’t work. I’ve tried it several times before and I’m just puzzled. I can use jquery throughout the rest of WordPress but not here. What am I missing?

    Thanks. Brent

    #30987

    Hi Brent,

    Can you explain more the issue, i still not understand.

    Thanks

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

    #30991
    brent
    Supported

    Hi there.

    I’m using a featured video plugin on the single product page (https://wordpress.org/plugins/woo-featured-video/) and I’d like to simply have the YouTube video play in a lightbox. I found a plugin that’ll do that (https://wordpress.org/plugins/responsive-youtube-vimeo-popup/) and it appears that I can simply add a class to the video and have it do this. Before I added the plugin I thought I’d test to see if I could simply add the class but I can’t. Any ideas?

    Here’s my jquery:

    // YouTube video popup
    if($(‘.single-product-thumbnail .slick-slide .fluid-width-video-wrapper’).length > 0) {
    $(‘.single-product-thumbnail .slick-slide .fluid-width-video-wrapper’).addClass(‘wp-video-popup’);
    }

     

    I’ve also tried multiple times to simply add a class to an element and for some reason it just doesn’t alway work. It seems as though it only happens with woocommerce pages.

    #30992
    brent
    Supported

    I have actually written the plugin developer of the featured video plugin and said this:

    I’m using a non-Wordpress inventory program (Salesbinder) that syncs product information over to Woocommerce including attributes. One of the attributes I’m syncing over is a YouTube video URL. I am trying to automate as much as possible and what I’d like to do is to be able to use that URL (if it exists) for the featured video on the single product page.

    He says he will do this for me, here is his reply:

    Hi Brent,If I understood you correctly, you want the video URL to be gotten from product attribute.
    That sounds cool.
    I will create a apply_filters hook in there so that you can modify the video URL as you like.

    So my question above will probably be taken care of and I also asked him about showing the Youtube video in a lightbox but I haven’t heard back on that yet.

    But again I’m just puzzled about adding a simple jQuery’s that never work. I am adding them directly into the Custom JS Code area that you provide in the settings.

    #31002

    Hi Brent,

    Please add below code to line 13 of functions.php in gecko-child

    wp_enqueue_script( 'custom-script', get_stylesheet_directory_uri() . '/custom.js', array( 'jquery' ) );

    After that create file custom.js in gecko-child and add your script to this file.

    Kind regards

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

    #31028
    brent
    Supported

    Thanks Harry!

    #31142
    brent
    Supported

    Hi Harry.

    Can we move this “in-stock” weight up between “price” and the “description” please?

    Thank you, Brent

     

    #31143

    Hi Brent,

    Please edit file variation.php in plugins > woocommerce > templates > single-product > add-to-cart and change code like this http://prntscr.com/nnsfuw

    It now this file still doesn’t support override in child theme.

    Kind regards

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

    #31180
    brent
    Supported

    Hey Harry do you have any idea why the description doesn’t show up in the Quick View?

    http://tinyurl.com/y6tgd8zf

    #31182
    brent
    Supported

    Harry one other request also if you would please.

    I would like to add a script to functions that will automatically assign the “All Gemstones” category (ID = 114) to every Woocommerce item. When items are automatically added from Salesbinder it will only allow me to select one (1) category which syncs well but I would also like to have everything in one category also. I’ve search but haven’t been able to find a snippet to do this. Can you help?

    Thanks again!

    Brent

    #31208

    Hi Brent,

    Please try follow this topic https://stackoverflow.com/questions/48304421/automatically-assign-products-to-a-defined-product-category-in-woocommerce

    Regards

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

Viewing 15 posts - 61 through 75 (of 131 total)

You must be logged in to reply to this topic.