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

Topic Resolution: Resolved

Tagged: 

This topic contains 116 replies, has 2 voices, and was last updated by  Harry 3 weeks, 4 days ago.

Viewing 12 posts - 106 through 117 (of 117 total)
  • Author
    Posts
  • #31849
    brent
    Supported

    Hi Harry.

    Well the links work now 🙂 Most of the errors are gone 🙂 But the tooltip doesn’t show like it did before…?

    Thank you.

    #31850

    Hi Brent,

    Please add more code to gecko-child > style.css

    .product-button a:hover .tooltip {
    	opacity: 1;
    	visibility: visible;
    	-webkit-transform: translateX(-50%) translateY(-50px);
    	-ms-transform: translateX(-50%) translateY(-50px);
    	-o-transform: translateX(-50%) translateY(-50px);
    	transform: translateX(-50%) translateY(-50px);
    }

    Kind regards

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

    #31851
    brent
    Supported

    Got it!

    Thanks Harry!

    #31931
    brent
    Supported

    Hey Harry there’s something going on with the site. Some kind of technical difficulty that I’ve never seen before. Would you take a look please. I know WP core has recently updated but not sure what’s going on.

    Shopping Cart

    Thanks,

    Brent

    #31935

    Hi Brent,

    1. I see you add tracking code of Google to Theme Option > General Settings > Custom JS. It cause conflict JS when contain “script”.

    Please use this plugin https://wordpress.org/plugins/insert-headers-and-footers/

    2. The issue related to cart page i’m not sure which cause problem, please try deactivate plugin one by one and change again.

    Kind regards

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

    #31939
    brent
    Supported

    Well Harry I went through all of the plugins: not the issue.

    I added the plugin and moved the Google script there: not the issue.

    I did find some duplicated jQuery scripts and fixed those: not the issue.

    I finally found the problem with the last script you gave me to add to functions to not show the “closeout” category on the shop page! I added it below… can you fix it please?

    Just about drove myself beyond CRAZY! 🙂 lol

    /**
    * Exclude products from a particular category on the shop page
    */
    function custom_pre_get_posts_query( $q ) {

    if( is_shop()) {
    $tax_query = (array) $q->get( ‘tax_query’ );

    $tax_query[] = array(
    ‘taxonomy’ => ‘product_cat’,
    ‘field’ => ‘slug’,
    ‘terms’ => array( ‘closeouts’ ), // Don’t display products on the shop page.
    ‘operator’ => ‘NOT IN’
    );

    $q->set( ‘tax_query’, $tax_query );
    }
    }
    add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );

    #31940
    brent
    Supported

    Hey Harry I was wrong. It was this script:

    /* Change message for back ordered products */
    function woocommerce_custom_cart_item_name( $_product_title, $cart_item, $cart_item_key ) {
    $altmessage = alt_message();
    if ( $cart_item[‘data’]->backorders_require_notification() && $cart_item[‘data’]->is_on_backorder( $cart_item[‘quantity’] ) ) {
    $_product_title .= __( ‘ – ‘. $altmessage, ‘woocommerce’ ) ;
    }
    return $_product_title;
    }
    add_filter( ‘woocommerce_cart_item_name’, ‘woocommerce_custom_cart_item_name’, 10, 3);

    #31945

    Hi Brent,

    This code i didn’t suggest you.

    Where you get the code, please wrap the code in < code > tag http://prntscr.com/o55n5h

    Kind regards

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

    #31948
    brent
    Supported

    Hi Harry.

    I honestly don’t remember what I was trying to do with it. So for now I’ll just leave it out I guess. Here it is:

    /* Change message for back ordered products */
    function woocommerce_custom_cart_item_name( $_product_title, $cart_item, $cart_item_key ) {
    $altmessage = alt_message();
      if ( $cart_item['data']->backorders_require_notification() && $cart_item['data']->is_on_backorder( $cart_item['quantity'] ) ) {
    $_product_title .=  __( ' - '. $altmessage, 'woocommerce' ) ;
    }
    return $_product_title;
    }
    add_filter( 'woocommerce_cart_item_name', 'woocommerce_custom_cart_item_name', 10, 3);

    Right now my big issue is that the plugin that I’m using for dynamic pricing for different roles (iThemeland WooCommerce Dynamic Prices By User Role Plugin) is not working. I have a request in, it was working before the WP update.

    #31950

    Hi Brent,

    Please try contact to plugin author.

    Kind regards

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

    #31989
    brent
    Supported

    Hey Harry, I’m wanting to add the style# (SKU) directly below the item title on the shop page. I found this script but I’m not sure what the function is for the woocommerce skew to be added ..

    Can you teach me something real quick? :0
    Thanks.

    add_action( 'woocommerce_after_shop_loop_item_title', 'add_sku_to_shop_custom_action', 15 );
     
    function add_sku_to_shop_custom_action() {
    echo 'TEST';
    }
    #31993

    Hi Brent,

    Please change code to below code

    function shop_show_sku() {
    
    	global $product;
    	
    	if ( $product->get_sku() ) {
    		echo '<div class="product-meta">SKU: ' . $product->get_sku() . '</div>';
    	}
    }
    add_action( 'woocommerce_after_shop_loop_item_title', 'shop_show_sku', 5 );

    Kind regards

    Kind regards

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

Viewing 12 posts - 106 through 117 (of 117 total)

You must be logged in to reply to this topic.