• Resolved villuela1

    (@villuela1)


    Hi!

    This plugins not work at wordpress 4.9.4.

    ¿Can i help me?

    Do not enter the product as a gift in the shopping cart, also charges the product in the shopping cart like a normal product

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author DecomTeam

    (@decomteam)

    Plugin is working with WordPress 4.9.4 – and the plugin is working with WooCommerce 3.3.1.

    Please read our minimum requirements first:
    1. PHP version 5.6 minimum
    2. WooCommerce 3.x minimum
    3. Your theme must be ready for WooCommerce 3.x also

    After that you can share a URL with us support [at] decom.ba – so we can take a closer look, but you must have minimum requirements set.

    Thread Starter villuela1

    (@villuela1)

    Sorry but i have:
    1. WooCommerce 3.3.1
    2. Me theme is storefront 2.2.8 (last version)
    3. PHP 2.0.26

    and the plugins not work.

    When you’re going to select a gift, the plugin will be inserted in the cart with price, not as a gift.

    Plugin Author DecomTeam

    (@decomteam)

    You must update PHP to minimum 5.6 version (7.0 or 7.1 will give you small speed boost)

    We have test environment:
    WooCommerce 3.3.1
    Storefront latest
    PHP 5.6 , 7.0 and 7.1
    * and plugin is working as it should, could you once again check your PHP version (phpinfo)?

    Thread Starter villuela1

    (@villuela1)

    it´s ok!

    I did this and now work!

    How to add code / giftable fast fix for disabled buttons:
    1. Copy/Paste code to footer.php <script> paste code here </script>

    2. Use a plugin “Custom CSS & JS” to add a code – without <script> just a code.

    Gist full code can be found here

    or copy/paste this:

    jQuery( document.body ).on( ‘updated_cart_totals’, function(){
    if ( jQuery( ‘#dgfw-gifts-carousel’ ).length ) {
    jQuery( ‘.dgfw-gift’ ).each(function( ) {
    jQuery( ‘.dgfw-add-gift-button, .dgfw-select-gift-button’ ).prop( ‘disabled’, false);
    });
    }
    });

    jQuery( window ).on( “load”, function() {
    if ( jQuery( ‘#dgfw-gifts-carousel’ ).length ) {
    jQuery( ‘.dgfw-gift’ ).each(function( ) {
    jQuery( ‘.dgfw-add-gift-button, .dgfw-select-gift-button’ ).prop( ‘disabled’, false);
    });
    }
    });

    Plugin Author DecomTeam

    (@decomteam)

    I think this can help you, if you are using plugin “Custom CSS and JS”

    This is JavaScript code, so it should go to JavaScript:
    1. Custom CSS & JS (install plugin)
    2. Add JS Code (add new code via plugin)
    3. Remove everything and Copy/Paste the code you need (from this post or from github – its the same code)
    4. Sidebar > Where on page: Select Footer

    Screenshot CSS & JS – how to add code

    • This reply was modified 8 years, 2 months ago by DecomTeam.
    Plugin Author DecomTeam

    (@decomteam)

    Add to cart – button are fixed in latest version Giftable for WooCommerce 1.0.1

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Not Work in WordPress 4.9.4’ is closed to new replies.