Forum Replies Created

Viewing 15 replies - 1 through 15 (of 45 total)
  • Thread Starter robsarna

    (@robsarna)

    Hi, I cant seem to do that as Im not a member of your site. You can see a screenshot here.

    robsarna

    (@robsarna)

    For anyone else who needed this, I did it crudely with Javascript…

    Just place this at the bottom of your template, edit language codes and messages as you wish.

    <?php
    
    if (ICL_LANGUAGE_CODE == "fr") {
        
       echo '<script> jQuery(\'span.elm-button-text\').html(\'Charger plus\');</script>';
            
        
        
    } elseif (ICL_LANGUAGE_CODE == "de") {
      
        echo '<script> jQuery(\'span.elm-button-text\').html(\'Mehr laden\');</script>';
         
        
    } elseif (ICL_LANGUAGE_CODE == "es") {
          
            echo '<script> jQuery(\'span.elm-button-text\').html(\'Carga más\');</script>';
    
      
            
    } else {
        
        echo '<script> jQuery(\'span.elm-button-text\').html(\'Load more\');</script>';
      
    }
        
    ?>
    Thread Starter robsarna

    (@robsarna)

    Hi Dima,

    That has fixed it!

    Thanks so much!

    Rob

    Thread Starter robsarna

    (@robsarna)

    Hi Dima @dholovnia,

    Not sure if this helps, but this seems to be related to the WPML translation edito r(https://wpml.org/documentation/translating-your-contents/using-the-translation-editor/), and only seems to break on variable products (simple products are fine).

    When you use the it has the above error, when you translate on the normal page it seems fine.

    Hope that helps you to debug!

    Thread Starter robsarna

    (@robsarna)

    Line 68 of file class-woo-extra-cart-fee-admin.php

    woocommerce_product_write_panels

    should be:

    woocommerce_product_data_panels

    Thread Starter robsarna

    (@robsarna)

    Hi Dima,

    Do you have Woocommerce Multilingual plugin installed from WPML?

    If so, I goto products – click the ‘translate woocommerce products’ button. Then when clicking on some of the products in other languages, it throws up the error.

    For some reason, some of the products are ok, others have the error. Here is the most recent error in case it helps:

    Fatal error: Uncaught Error: Call to a member function get_cart() on null in /wp-content/plugins/minmax-quantity-for-woocommerce/main.php:698 Stack trace: #0 /wp-content/plugins/minmax-quantity-for-woocommerce/includes/addons/set_input_limitation.php(64): BeRocket_MM_Quantity->new_calculate_total(NULL, Array, 'check_product_v...', 1332, 1333) #1 /wp-content/plugins/minmax-quantity-for-woocommerce/includes/addons/set_input_limitation.php(19): BeRocket_MM_Quantity_input_limitations->get_input_data_for_product(Array, Object(WC_Product_Variation)) #2 /wp-includes/class-wp-hook.php(286): BeRocket_MM_Quantity_input_limitations->woocommerce_available_variation(Array, Object(WC_Product_Variable), Object(WC_Product_Variation)) #3 /wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #4 in /wp-content/plugins/minmax-quantity-for-woocommerce/main.php on line 698

    Thanks again

    Rob

    • This reply was modified 5 years, 1 month ago by robsarna. Reason: removed relative error paths
    Thread Starter robsarna

    (@robsarna)

    Hi @dholovnia – Any luck with this?

    Thread Starter robsarna

    (@robsarna)

    Apologies, wrong plugin

    Thread Starter robsarna

    (@robsarna)

    Hi Hannah (@fernashes) – any luck replicating / resolving this?

    Thread Starter robsarna

    (@robsarna)

    Seems to work suddenly… closed!

    Thread Starter robsarna

    (@robsarna)

    Sure no problem…

    
    ### WordPress Environment ###
    
    Home URL: [private / local]
    Site URL: [private / local]
    WC Version: 3.5.1
    Log Directory Writable: ✔
    WP Version: 4.9.8
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.0.20 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 5 GB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.52.1
    OpenSSL/1.0.2j
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.35
    Max Upload Size: 500 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.5.1
    WC Database Prefix: bmw_
    MaxMind GeoIP Database: ✔
    Total Database Size: 21.13MB
    Database Data Size: 12.44MB
    Database Index Size: 8.69MB
    bmw_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB
    bmw_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    bmw_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    bmw_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    bmw_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    bmw_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    bmw_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    bmw_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    bmw_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    bmw_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    bmw_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    bmw_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    bmw_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    bmw_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    bmw_commentmeta: Data: 0.02MB + Index: 0.03MB
    bmw_comments: Data: 0.02MB + Index: 0.09MB
    bmw_db7_forms: Data: 0.02MB + Index: 0.00MB
    bmw_icl_content_status: Data: 0.02MB + Index: 0.02MB
    bmw_icl_core_status: Data: 0.02MB + Index: 0.02MB
    bmw_icl_flags: Data: 0.02MB + Index: 0.02MB
    bmw_icl_languages: Data: 0.02MB + Index: 0.03MB
    bmw_icl_languages_translations: Data: 0.19MB + Index: 0.11MB
    bmw_icl_locale_map: Data: 0.02MB + Index: 0.00MB
    bmw_icl_message_status: Data: 0.02MB + Index: 0.03MB
    bmw_icl_mo_files_domains: Data: 0.02MB + Index: 0.02MB
    bmw_icl_node: Data: 0.02MB + Index: 0.00MB
    bmw_icl_reminders: Data: 0.02MB + Index: 0.00MB
    bmw_icl_strings: Data: 2.52MB + Index: 3.81MB
    bmw_icl_string_packages: Data: 0.02MB + Index: 0.00MB
    bmw_icl_string_pages: Data: 0.02MB + Index: 0.02MB
    bmw_icl_string_positions: Data: 0.02MB + Index: 0.02MB
    bmw_icl_string_status: Data: 0.02MB + Index: 0.02MB
    bmw_icl_string_translations: Data: 6.52MB + Index: 3.52MB
    bmw_icl_string_urls: Data: 0.02MB + Index: 0.02MB
    bmw_icl_translate: Data: 0.02MB + Index: 0.02MB
    bmw_icl_translate_job: Data: 0.02MB + Index: 0.02MB
    bmw_icl_translations: Data: 0.02MB + Index: 0.06MB
    bmw_icl_translation_batches: Data: 0.02MB + Index: 0.00MB
    bmw_icl_translation_status: Data: 0.02MB + Index: 0.02MB
    bmw_links: Data: 0.02MB + Index: 0.02MB
    bmw_options: Data: 2.05MB + Index: 0.05MB
    bmw_postmeta: Data: 0.11MB + Index: 0.06MB
    bmw_posts: Data: 0.06MB + Index: 0.06MB
    bmw_rednao_wc_invoice: Data: 0.02MB + Index: 0.00MB
    bmw_rednao_wc_invoices_created: Data: 0.02MB + Index: 0.00MB
    bmw_rednao_wc_invoices_custom_field: Data: 0.02MB + Index: 0.00MB
    bmw_termmeta: Data: 0.02MB + Index: 0.03MB
    bmw_terms: Data: 0.02MB + Index: 0.03MB
    bmw_term_relationships: Data: 0.02MB + Index: 0.02MB
    bmw_term_taxonomy: Data: 0.02MB + Index: 0.03MB
    bmw_usermeta: Data: 0.05MB + Index: 0.03MB
    bmw_users: Data: 0.02MB + Index: 0.05MB
    bmw_wc_download_log: Data: 0.02MB + Index: 0.03MB
    bmw_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    
    ### Post Type Counts ###
    
    acf-field: 12
    acf-field-group: 4
    attachment: 20
    customize_changeset: 1
    nav_menu_item: 8
    page: 36
    post: 3
    product: 3
    revision: 11
    um_directory: 1
    um_form: 3
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ❌Error messages should not be shown to visitors.
    
    ### Active Plugins (12) ###
    
    WPML Multilingual CMS: by OnTheGoSystems – 4.0.8
    Adminimize: by Frank Bültge – 1.11.4
    Advanced Custom Fields PRO: by Elliot Condon – 5.7.7
    Contact Form 7: by Takayuki Miyoshi – 5.0.5
    Contact Form CFDB7: by Arshid – 1.2.4.1
    Invoice Gateway For WooCommerce: by Rymera Web Co – 1.0.0 – Not tested with the active version of WooCommerce
    Ultimate Member: by Ultimate Member – 2.0.29
    Ultimate Member - WooCommerce: by Ultimate Member – 2.0.9 – Not tested with the active version of WooCommerce
    WooCommerce Multilingual: by OnTheGoSystems – 4.3.7
    WooCommerce: by Automattic – 3.5.1
    WPML String Translation: by OnTheGoSystems – 2.8.8
    WPML Translation Management: by OnTheGoSystems – 2.6.8
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #17 - /shop/
    Cart: #18 - /basket/
    Checkout: #19 - /checkout/
    My account: #20 - /my-account/
    Terms and conditions: ❌ Page visibility should be public
    
    ### Theme ###
    
    Name: [private]
    Version: 2.0
    Author URL: [private]
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ❌ Not declared
    
    ### Templates ###
    
    Overrides: bmw/woocommerce/myaccount/dashboard.php
    bmw/woocommerce/myaccount/downloads.php
    bmw/woocommerce/myaccount/form-add-payment-method.php
    bmw/woocommerce/myaccount/form-edit-account.php
    bmw/woocommerce/myaccount/form-edit-address.php
    bmw/woocommerce/myaccount/form-login.php
    bmw/woocommerce/myaccount/form-lost-password.php
    bmw/woocommerce/myaccount/form-reset-password.php
    bmw/woocommerce/myaccount/lost-password-confirmation.php
    bmw/woocommerce/myaccount/my-account.php
    bmw/woocommerce/myaccount/my-address.php
    bmw/woocommerce/myaccount/my-downloads.php
    bmw/woocommerce/myaccount/my-orders.php
    bmw/woocommerce/myaccount/navigation.php
    bmw/woocommerce/myaccount/orders.php
    bmw/woocommerce/myaccount/payment-methods.php
    bmw/woocommerce/myaccount/view-order.php
    
    
    Thread Starter robsarna

    (@robsarna)

    hi @ultimatemembersupport

    Thanks for your help, we are using the custom user roles created in ultimate member – i didn’t realise you had to enable wp-admin access AND the user capabilities at the bottom…. All working now!

    Thanks again!

    No problem, I’m just hoping the fix my issue asap!

    This will overwrite all the icon colours…

    .um .um-tip:hover, .um .um-field-radio.active:not(.um-field-radio-state-disabled) i, .um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i, .um .um-member-name a:hover, .um .um-member-more a:hover, .um .um-member-less a:hover, .um .um-members-pagi a:hover, .um .um-cover-add:hover, .um .um-profile-subnav a.active, .um .um-item-meta a, .um-account-name a:hover, .um-account-nav a.current, .um-account-side li a.current span.um-account-icon, .um-account-side li a.current:hover span.um-account-icon, .um-dropdown li a:hover, i.um-active-color, span.um-active-color {
    color: #3ba1da; // Change colour here
    }

    This is super basic CSS and nothing to do with the plugin. Im answering all the easy questions in hope that the guys will fix the actual bug I reported.

    CSS:
    .um-button {color:red!important;}
    .um-button:hover {color:red!important;}

    Change colours as you wish for normal and hover.

    .um-button {color:red!important;}

Viewing 15 replies - 1 through 15 (of 45 total)