Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter Gem @White Rabit

    (@anna_tianna)

    Solved turn off default colour and default font in the settings menu

    Thread Starter Gem @White Rabit

    (@anna_tianna)

    Hi @seank123

    How can I change it to do this?

    If no shipping method available show message 1
    If another product from another shipping class is added + a gas bottle that can’t be shipped show message 2. Could this be done via shipping classes for example
    If shipping class Gas Bottle + Gas Equipment and Gas Bottle has no shipping method show message 2

    I have changed the messages so it shows what I need.

    // Change the WooCommerce ‘No shipping methods available’ message

    add_filter( ‘woocommerce_cart_no_shipping_available_html’, ‘mh_no_shipping_message’, 10, 2 );
    add_filter( ‘woocommerce_no_shipping_available_html’, ‘mh_no_shipping_message’, 10, 2 );

    function mh_no_shipping_message() {

    $message = ‘This gas bottle can NOT be shipped to your address. Please call Phone Number to discuss delivery options. Thank you.’;
    $message2 = ‘Unfortunatly this gas bottle can NOT be shipped to your address. We can ship the other products. Please either remove the gas bottle and proceed to checkout or call us on Phone Number to discuss delivery options. Thank you.’;
    $pcode = WC()->customer->get_shipping_postcode();
    if (mb_substr($pcode, 0, 2) == ‘GY’ || mb_substr($pcode, 0, 2) == ‘JE’) {
    return ‘<p>’ . __( $message2, ‘woocommerce’ ) . ‘</p>’;
    }else{
    return ‘<p>’ . __( $message, ‘woocommerce’ ) . ‘</p>’;
    }
    }

    Thread Starter Gem @White Rabit

    (@anna_tianna)

    Hi @seank123

    Thank you so much for this. It is a step in the correct direction. I will try and tweak it to do as I need.

    Thanks

    Gem

    I have the same issue!

    Thread Starter Gem @White Rabit

    (@anna_tianna)

    Update to .htaccess

    # Wordfence WAF
    <Files “.user.ini”>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>

    # END Wordfence WAF

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /PB/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /PB/index.php [L]
    </IfModule>

    # END WordPress

    # BEGIN WP-HUMMINGBIRD-GZIP

    <IfModule mod_deflate.c>
    <IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
    SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
    RequestHeader append Accept-Encoding “gzip,deflate” env=HAVE_Accept-Encoding
    </IfModule>
    </IfModule>
    <IfModule mod_filter.c>
    AddOutputFilterByType DEFLATE “application/atom+xml” \
    “application/javascript” \
    “application/json” \
    “application/ld+json” \
    “application/manifest+json” \
    “application/rdf+xml” \
    “application/rss+xml” \
    “application/schema+json” \
    “application/vnd.geo+json” \
    “application/vnd.ms-fontobject” \
    “application/x-font-ttf” \
    “application/x-font-opentype” \
    “application/x-font-truetype” \
    “application/x-javascript” \
    “application/x-web-app-manifest+json” \
    “application/xhtml+xml” \
    “application/xml” \
    “font/eot” \
    “font/opentype” \
    “font/otf” \
    “image/bmp” \
    “image/svg+xml” \
    “image/vnd.microsoft.icon” \
    “image/x-icon” \
    “text/cache-manifest” \
    “text/css” \
    “text/html” \
    “text/javascript” \
    “text/plain” \
    “text/vcard” \
    “text/vnd.rim.location.xloc” \
    “text/vtt” \
    “text/x-component” \
    “text/x-cross-domain-policy” \
    “text/xml”

    </IfModule>
    <IfModule mod_mime.c>
    AddEncoding gzip svgz
    </IfModule>

    </IfModule>

    # END WP-HUMMINGBIRD-GZIP

    # BEGIN WP-HUMMINGBIRD-CACHING

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault A0

    <FilesMatch “\.(txt|xml|js)$”>
    ExpiresDefault A691200
    </FilesMatch>

    <FilesMatch “\.(css)$”>
    ExpiresDefault A691200
    </FilesMatch>

    <FilesMatch “\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$”>
    ExpiresDefault A691200
    </FilesMatch>

    <FilesMatch “\.(jpg|jpeg|png|gif|swf|webp)$”>
    ExpiresDefault A691200
    </FilesMatch>
    </IfModule>

    <IfModule mod_headers.c>
    <FilesMatch “\.(txt|xml|js)$”>
    Header set Cache-Control “max-age=691200”
    </FilesMatch>

    <FilesMatch “\.(css)$”>
    Header set Cache-Control “max-age=691200”
    </FilesMatch>

    <FilesMatch “\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$”>
    Header set Cache-Control “max-age=691200”
    </FilesMatch>

    <FilesMatch “\.(jpg|jpeg|png|gif|swf|webp)$”>
    Header set Cache-Control “max-age=691200”
    </FilesMatch>
    </IfModule>
    # END WP-HUMMINGBIRD-CACHING

    Thread Starter Gem @White Rabit

    (@anna_tianna)

    I think it is a glitch the German side does not show this error It must just be a glitch in the theme.

    No big deal at the moment. Just pages don’t show feature images in the News feed.

    But I can live with it

    Thread Starter Gem @White Rabit

    (@anna_tianna)

    Iv looked on the theme help and its not something that shows up.

    Iv gone though all of the theme settings and the two pages and there is nothing saying something like Act Like Post or something that would mean it will show.

    I think it is a glitch.

    I will rebuild the pages and see if they show up again.

    If they do it must be some sort of setting

    With Regards to speed I have done all of the above I was looking for something even more ??

    I will keep you posted

    Gem

    Thread Starter Gem @White Rabit

    (@anna_tianna)

    That fixed it but its given my user all sorts of back end options. I will have to use another plugin to hide all of that.

    Thanks for your help.

    G

    Iv got the same issue. Admins are fine. But lesser users get set to the my-account page.

    I have deactivated my plugins and tested and its definitely woocommerce coursing the issue.

    Do we have any news on a new update to fix this?

    Thread Starter Gem @White Rabit

    (@anna_tianna)

    PS. Im using the latest WP and everything is up to date.

    Websites I am talking about are:

    https://ankorr.me/
    https://fitnessbuffet.ae/
    https://ankorr.me/

    Forum: Plugins
    In reply to: WooCommers Mini Cart Link
    Thread Starter Gem @White Rabit

    (@anna_tianna)

    Sorry didn’t see the bit about code

    here it is again

    <div id="cart">
        <!-- Button -->
        <div class="cart-btn">
            <a href="https://www.crossrope.me/cart" class="button adc"><?php echo WC()->cart->get_cart_subtotal(); ?></a>
        </div>

    @richardbaldock I’m using the Legenda theme. Iv spoken to them on there forum and they have confirmed its there Theme that is coursing the issue and they are working on it.

    Ok Iv discovered its an issue with my theme and the Visual Editor and TinyMCE.

    Ok I just discovered something. Turning the Visual composer off makes the Rich Text Editor work fine. So I think we have an issue with the Visual Composer and TinyMCE.

    Also found this plugin that gives us more options once its working again. https://www.ads-software.com/plugins/tinymce-advanced/

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