DecomTeam
Forum Replies Created
-
Forum: Plugins
In reply to: [Giftable for WooCommerce] Not Work in WordPress 4.9.4Add to cart – button are fixed in latest version Giftable for WooCommerce 1.0.1
Forum: Plugins
In reply to: [Giftable for WooCommerce] the plugin doesn’t workThis is fixed in latest version 1.0.1
WooCommerce 3.3.3 is supported – Giftable is updated to 1.0.1 (everything is working, no need for quick fix or manual stuff)
Regards
We released an Update. This issue is fixed and tested up to WooCommerce 3.3.2
Forum: Plugins
In reply to: [Giftable for WooCommerce] Not Work in WordPress 4.9.4I 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 FooterScreenshot CSS & JS – how to add code
- This reply was modified 8 years, 2 months ago by DecomTeam.
Forum: Plugins
In reply to: [Giftable for WooCommerce] Not Work in WordPress 4.9.4You 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)?Forum: Plugins
In reply to: [Giftable for WooCommerce] the plugin doesn’t workYou can re-enable buttons:
https://wordpress.org/support/topic/woocommerce-3-3-x-disabled-buttons-fix/*we will include fix in next release of a plugin
Forum: Plugins
In reply to: [Giftable for WooCommerce] Not Work in WordPress 4.9.4Plugin 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 alsoAfter 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.
This is JavaScript code, so it should go to JavaScript:
1. Custom CSS & JS
2. Add JS Code
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 FooterScreenshot – Backend – Add new JS
Hope that helps
Forum: Plugins
In reply to: [Giftable for WooCommerce] Only with coupon code@cocoamedia
We don’t have that option, and it wouldn’t be easy to implement.But without our plugin, you could use something like this, combine/mix has_discount and add_to_cart:
if (WC()->cart->has_discount('COUPONHERE')) { // cart has coupon COUPONHERE applied if ( ! WC()->cart->is_empty() ) { return; } WC()->cart->add_to_cart( 54, 1 ); }54 = productID
Resources:
Automatically add product to cart on visit
Programatically Add Products to your WooCommerce CartForum: Plugins
In reply to: [Giftable for WooCommerce] WooCommerce 3.3 Issues@freshyjon plugin will be updated but no ETA (week, 2 weeks..)
Forum: Plugins
In reply to: [Giftable for WooCommerce] WooCommerce 3.3 IssuesHow to add code / giftable fast fix for disabled buttons:
1. Copy/Paste code to footer.php<script>.... </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); }); } });Forum: Plugins
In reply to: [Giftable for WooCommerce] Disable coupon formYou could check for “items in cart”,
links with example code:WooCommerce – Check if item already in cart
Checking if the WooCommerce Cart Contains a Product Categorythen remove / disable coupon/s:
Stackoverflow remove coupon codesForum: Plugins
In reply to: [Giftable for WooCommerce] Gift Not Added to CartCould you open your thread/topic and post url to your shop?
If shop isn’t public, please send us a support ticket to support [at] decom.ba*I hope you pasted the full code with “script” part also, and you cleared the cache?
Forum: Plugins
In reply to: [Giftable for WooCommerce] Gift Not Added to CartBest way would be to add it to theme files (JavaScript) custom-name.JS,
or you can use plugin like Custom CSS & JS:
https://wordpress.org/plugins/custom-css-js/*you can just open footer.php and paste the code just before </body>