So now everything was ok but I noticed that when I add a variable gift in other language than the default one (FR), the gift is added at its regular price…
]]>Hi,
I know that your plugin has been discontinued but I’ve found it on github, installed it and it works very well out of the box and it’s the only gift product I’ve found which does exactly what I need. So it’s a shame you stopped maintaining it…
Maybe you could answer a little question. I try to display gift product variation thumbnail in the ordered products list. It’s ok in the cart and checkout page but in the thankyou page and the processing order email I just get the parent product thumbnail…
I tried to get the variation thumbnail with the variation ID extracted from the order but I’ve found that the gift product variation ID is different from the actual woocommerce product variation ID. For example my actual product variation is #23567 and the variation ID extracted from the order is #101016 (when all other products added to the order have correct variation IDs). I guess you may store/duplicate the giftable product with different variation IDs in the database but I couldn’t find where…
So how to get the real woocommerce product variation ID from the giftable product ?
]]>Hello,
I have a problem with getting the cart subtotal.
After I swithed currency in my page, I am stll getting old subtotal of the cart.
for example:
I have USD as default, the cart subtotal is 100
Then I switched to EUR and the function WC()->cart->subtotal in /includes/CriteriaAmmounts.php is returning 100 (it is subtotal for USD not for EUR)
Then I switched back to USD and the function WC()->cart->subtotal in /includes/CriteriaAmmounts.php is returning 80 (it is subtotal for EUR not for USD)
how can I fix it?
Thanks
]]>Hi,
Just wondering why this plugin is no longer available on WordPress itself?
Is there something we should be worried about?
Is this plugin still being maintained?
Thank you
]]>Hi,
I just installed the plugin and its great, just 1 thing.
All the text regarding the plugin like ‘choose your free gift’ and “add to card” is in english.
Is there a way to change this text so i can translate it into dutch?
Thanks
]]>Hello,
I’m using WPML for my site (3 languages). I’ll try to explain my scenario:
Product A –> you can select 2 gifts
In the main language everything is working fine. But if I switch language and add Product A to the cart, I can choose the first gift. After selecting, no gift will be added to the cart and the box to select the gifts disappears (“Some gifts have been removed from your cart.”).
Thank you in advance!
]]>Hi, just wondering how I can remove the message next to the free gift on the cart page? It says “note: this is a free gift” which takes up too much space when viewed on a mobile phone. I either want to change it to simply say “FREE!” or have it show no notice at all.
Thank you, Bryan
Hi,
I just want to ask when my customers will get a free item, the text is “add to cart”, where can I change the text of the button?
This is a great plugin and it is sad that you have discontinued it.
]]>I want to limit the gift items’ number, if I give 40 items, the next buyers will not get the gift.
How to do it?
Hi, for some reason, after wordpress and woocomerce upgrade to latest versions, the plugin it does not work.
I tried to install again, but all settings are ok, but when i buy a product i differents conditions, the product setted as gift, is not showed.
Any idea?
Thanks in advance
Hello
since the plugin is deleted from repository, is it going to be updated over time in github?
Thank you for your time.
Regards
]]>I have multiple giftcards(subway, wallmart, starbucks etc) on my site. If a purchase is above $1000, User is allowed to add 2 gift products. If user choose wallmart as a first gift, i want to force the user to add second gift as a wallmart too (NOT subway / Starbucks etc)
]]>I need to disable the gift option if a coupon code is used
]]>Hello,
I’d like to be able to offer free gifts to new customers who subscribe to products. Gifts should only be offered if the customer has a subscription in the cart and the subscription total reaches a minimum amount. Keeping in mind customers can have mixed carts with both subscriptions and regular products being purchased in a single order.
I was thinking of using the user role condition, but i’ve come to the conclusion that it probably wouldn’t work. The customer’s user role isn’t changed until after they place their subscription order.
Normally subscription products are a completely different product listing, which would allow me to just set the conditions to be the subscription specific products or categories. But I use another plugin called WooCommerce All Products For Subscriptions to combine subscriptions into normal product listings. This allows customers to subscribe to a product without having to goto a separate product listing.
So how hard would it be to incorporate this plugin’s features into my setup? Is there an easy solution I’m overlooking?
Thank you for your time,
Derek
Hi Guy’s,
Using your plugin for some time already. Really awesome!
Some time ago something went wrong and the Gifts settings tab (WooCommerce -> Settings -> Gifts) Disappeared. So i can not change the header “Choose your free gift”.
I tried to translate the corresponding string via poedit, but it does not work for some reason..Do you have suggestions how to get the tab back?
Uninstalling and reinstalling did not help.
You can check it yourself by adding a products for a value 100Euro plus
thanks a lot
]]>I’ve set up the cron job to run the command wp queue listen
to sync the woocommerce orders with MailChimp. However, the queue has stopped due to this error:
PHP Fatal error: Uncaught Error: Call to a member function get_type() on boolean in /var/www/vhosts/xyz.com/wp-content/plugins/giftable-for-woocommerce/includes/DGFW.php:536
Stack trace:
#0 /var/www/vhosts/xyz.com/wp-content/plugins/giftable-for-woocommerce/includes/DGFW.php(564): DGFW->is_gift(Object(WC_Product_Variation))
#1 /var/www/vhosts/xyz.com/wp-includes/class-wp-hook.php(288): DGFW->order_get_items(Array, Object(WC_Order))
#2 /var/www/vhosts/xyz.com/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#3 /var/www/vhosts/xyz.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(730): apply_filters('woocommerce_ord...', Array, Object(WC_Order), Array)
#4 /var/www/vhosts/xyz.com/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-woocommerce-transform-orders-wc3.php(153): WC_Abstract_Order->get_items()
#5 /var/www/vhosts/xyz.com/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp- in /var/www/vhosts/xyz.com/wp-content/plugins/giftable-for-woocommerce/includes/DGFW.php on line 536
]]>
Hi,
if for example customer buy 1 product and chose a gift,
i want that if customer chose 5 times the same product, he can add 5 times the gift
this scenario is not working for me.
what can i do to solve this ?
Hello-
I have three types of products to support:
1. simple product
2. simple subscription
3. variable Subscription
The first two its work as expected, the last however is not showing the gift in the cart.
]]>Hello @decomteam,
I noticed you placed templates files in a ./public/templates directory. This sounds good as this is a clue that templates may be customized to integrate seamlessly with custom themes. Most of great plugins offer to override their templates simply copying the template directory provided with plugins into the custom theme directory. Then copied files can be changed to adapt to custom theme designs.
Unfortunately, the DGFW_Public::display_available_gifts uses an include call, instead of wc_get_template. As a result, we remain stuck with fixed design that cannot be changed (except a few custom CSS entries to override the default ones).
Could please consider changing this in future releases?
]]>Hi,
Found a bug. Call to
$strThumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $product->get_image( 'full', array( 'class' => 'block package checkout' ) ), $item, $item_id );
leads to a CRITICAL Uncaught Error: Call to a member function get_type() on null in /var/www/vhosts/www.pre.ex-nihilo-paris.com/wp-content/plugins/giftable-for-woocommerce/includes/DGFW.php:530
in Version 1.0.4
Complete error:
2019-08-16T13:16:21+00:00 CRITICAL Uncaught Error: Call to a member function get_type() on null in /var/www/vhosts/www.pre/wp-content/plugins/giftable-for-woocommerce/includes/DGFW.php:530
Stack trace:
#0 /var/www/vhosts/www.pre/wp-content/plugins/giftable-for-woocommerce/public/Public.php(488): DGFW->is_gift(NULL)
#1 /var/www/vhosts/www.pre/wp-includes/class-wp-hook.php(286): DGFW_Public->gift_cart_thumbnail('<img width="560...', Object(WC_Order_Item_Product), 252)
#2 /var/www/vhosts/www.pre/wp-includes/plugin.php(203): WP_Hook->apply_filters('<img width="560...', Array)
#3 /var/www/vhosts/www.pre/wp-content/themes/my-custom-theme/woocommerce/order/order-details-item.php(36): apply_filters('woocommerce_car...', '<img width="560...', Object(WC_Order_Item_Product), 252)
#4 /var/www/vhosts/www.pre/wp-content/plugins/woocommerce/includes/wc-core-functions.php(211): include('/var/www/vhosts...')
#5 /var/www/vhosts/www.pre in /var/www/vhosts/www.pre/wp-content/plugins/giftable-for-woocommerce/includes/DGFW.php on line 530
Thanks.
]]>Is it possible to apply gift based on subtotal rather than final total?
]]>We have added the function to remove the link from our product titles for Woocommerce, however, it does not apply to the gift product. How can we remove that link from the cart?
]]>I’m setting up a GWP for my client and I want to use this plugin but I’m unsure if it can create certain parameters to exclude specific users.
I only want users coming to the site from email to be able to get the free gift. How can I build conditions around that with this plugin?
Thanks
]]>Hi Support,
Using Version 1.0.4, after I created the gifts in the product list with $0 price. How can I hide these gifts in the shop?
Thanks and Best Regards,
Thomas
Hello,
I have downloaded the plugin and created a ‘gift’ product and set up the rules. However, the gift still does not show up on checkout. How can i fix this?
]]>As we cant put our time to this plugin we decided that support will be limited in next months:
– We will try to maintain plugin to work with WooCommerce (new versions)
– We will try to fix any big issue or security issue (but cant fix theme issues or plugin conflicts)
We don’t have time to provide any customizations or support for custom things:
– The plugin isn’t created to be BOGO plugin (Buy one, Get one), you can use it like that only if you are giving 1 (one) gift
– Try to use unique product gifts (not existing products) for gifts
– The plugin doesn’t allow gift category stacking/overlapping ( buy 2, get 2… buy 4, get 4…)
– We recommend Storefront theme (that’s our test theme)
– The theme should support AJAX on a cart (no page reloading)
We cant guarantee that it will work with auto
plugins (we dont do tests with plugins of that kind):
– Auto add to cart
– Auto update cart
– You can always extend plugin, or use simple functions hooks/filters
for that, like code from WooCommerce codex: Automatically add product to cart
Coupon Codes
– Plugin dont re-count price after Coupon Code is used, thats default behaviour
– If you need it to work with Coupon Codes you can try to change
plugin/includes/CriteriaAmounts.php
from WC()->cart->subtotal
to WC()->cart->total
– detailes topic here: https://www.ads-software.com/support/topic/gift-is-not-removed-when-adding-coupon/page/2/
Resolving conflicts:
– Try plugin with clean install and without other plugins (WooCommerce with only Storefront theme)
– Try to change theme and use Storefront so you are sure its not theme issue
– Use WordPress debug: Debugging in WordPress
– BACKUP website always, creating Stage
is recommended (we dont recommend editing/playing with LIVE websites/shops)
I have marked a selection of product variations as giftable but they do not appear at the Checkout.
At the Variable product level the product is marked as ‘Not Giftable’ with the correct gift category selected.
At the variation level the appropriate variations are marked as giftable.
Not sure what’s happening.
Thanks in advance.
Nick
]]>We are using product variants marked as giftable.
The Giftable panel is using the main product title and image rather that the variant title and image. Is there a way to make this work? Tips on where in the plugin this can be hacked in? I’m not averse to writing a patch to get this functionality.
When you choose the gift, you get an ‘add to basket’ panel with a single variant, but the variant is not selected by default. Be nice if the variant was selected by default. Again, I don’t mind hacking on the plugin to get it working if you’d give me a couple of pointers (I’m an occasional WordPress hacker so… but fairly competant in PHP).
To reproduce, use the link above and add that product to the basket. You’ll then get the giftable panel on the cart page.
Thanks.
]]>Hello!
I have to say this is an amazing plugin, have been using for 3 years!
I am developing a new web site, this one needs a cart auto update, after user changes quantity of itens. I see some problems, I′ve tryed 2 different plugin, now I am using this:
WooCommerce AJAX Cart
I would like to know if this can be corrected or if you know any cart auto update plugin that works with Giftable.
Thanks a lot!
]]>Hi,
I can set each separate variation of a product as “Giftable”, but there is no ability to set up a gift option category, with different conditions, for each VARIATION. So, you can’t give away one gift for one variation and a different one for another variation.
The gift category section only allows you to choose the ‘whole’ product and not it’s variations, to setup gift conditions for.
Without the ability to change how each variation is treated, the variation feature is basically pointless. Hope this makes sense?
]]>