Congratulations! Nice Work, Good Luck With Sale.
Thank you very much
Nice one! GLWS!
Thank you very much!
fantastic work, i wish you big sales !
Thank you very much!!
Excellent job bro =)
Hi I need one help from you I want to know where this price calculation done on which file this function is written as need to make some change in your plugin. So please help me to find where is that so I can edit.
I need to do some modification in this plugin,
and need your help for this,
i get Cash Back Amount on cart page but it get lees from cart total i don’t want to make that calculation i want to display cash back just as it is and and cart total without deduction both are should be separate
Can you please help me to figure out where the value is stored and how do you made that calculation.
Also when you revert this message please email me on my alter net email id email@example.com
ok Please check the following scrrenshot so you will understand what we need
i don’t want the cash back amount deduct from my cart total the cart total should be display as subtotal only.
yes i am looking for $cheapest_item_data[‘discount’] But how can we remove total get minus by discount , i want my total should be like subtotal and discount display as just discount value that do not get minus from cart total .
please check what i want in following screenshot for better understanding.
$woocommerce->cart->add_fee( $wcgfi_wpml_helper->translate_single_string($promotion['unique_id'], $promotion['promotion_name']).": ".$cheapest_item_data['discount']*, 0);
the code seems to be wrong its display error as blank page
$woocommerce->cart->add_fee( $wcgfi_wpml_helper->translate_single_string($promotion['unique_id'], $promotion['promotion_name']).": ".strip_tags (wc_price($cheapest_item_data['discount'])), 0);
Thanks its working now.
Now want to add $cheapest_item_data[‘discount’] as cash back in may account
after order is completed.
Can you help me how we can do this???
I want to add that cash back amount into other plugin
my other plugin name is “Account funds”
But i want to add that cash back amount after my order is completed, then i will get that cash back amount as fund in my account available fund.
Please check the following screenshot.
how can we acess this $cheapest_item_data[‘discount’] into other plugin??
The plugin is not designed to support that plugin and viceversa. However if you send me a private message (click on my name then use the low-right box) reporting your email I can reply with my email address in which send me that plugin.
I can try to analyze that plugin to see if there is any method to store the $cheapest_item_data[‘discount’] in the user Account funds.
I can see how to add a discount to apply a 100% discount for say a buy 2 get one free offer but can you configure it to apply say a discount for every 6 products for example:
Buy 6 boxes get 1 free
Buy 12 boxes get 2 free?
The price unit for this plugin is CAD or USD? Thanks!
Can you let me know the price unit for this plugin is USD or CAD?
My email: firstname.lastname@example.org
what exactly do you mean with “price uning for the plugin”?
For what concerns the plugin price on CodeCanyon, it is expressed in USD. Were you refering to this?
So now I knew $1=1USD because I am living in Canada. So I don’t know currency is used in your website. One more question before I want to buy the plugin WooCommerce Cheapest Item. I have online shop. I want to my customer have discount on the lower price on 2 pairs of shoes. Does this plugin support that? For example, product 1 price $100, and product 2 price $200. 25% is always applied on product 1(the lower price). I need your answer as soon as possible. Thank you very much!
Yes. it is what I need. When I buy this wordpress plugin, I only pay fee one time and use it forever right?
Yes. You pay only once and you can download its updated forever
Thank you very much for quick response!
first of all : wonderful plugin, works great!
However, i do have a problem:
i set up woocommerce cheapest item successfully to give 1 cheapest product for free every 4th item in the shopping cart.
however in the shopping cart needs to be sufficient quantity of the cheapest product available to apply the discount
product A cost 10 euro
Product B cost 2 euro
if you have in your cart you will get discount:
3 x product A 0 euro, you have less then 4 products
4 x product A 10 euro, every 4th, cheapest for free
6 x product A 10 euro, every 4th, cheapest for free
8 x product A 20 euro, every 4th, cheapest for free
6 x product A+ 1 x Product B 2 euro, every 4th, cheapest for free
6 x product A+ 2 x Product B 4 euro, every 4th, cheapest for free
7 x product A+ 1 x Product B 2 euro, every 4th, cheapest for free
the last one is not correct : you have 8 products, 2 of them the cheapest should be free. however, you only have 1 cheaper product.
in this case, to my opinion you should get a discount of 1 x Prod B (2 eur) and 1 x Prod A (10 eur): total= 12 euro
is there a fix?
Note that, as the plugin name suggests, it applies the promotion only to the cheapest item in cart (that by definition can be only one).
yes i think you do understand: i have set up the plugin like this:
promotion name: “buy4, get cheapest for free”
unique id: whatever
promotion active: yes
do not apply if any promotion has been applied: false
rol restriction: nothing checked
promotion application strategy: specific products added to cart
promotion application method: Every N items/amount spent
- products: empty
- categories: “all products” (this category contains all available products)
- apply to selected categories and aal its children selected
- quantity strategy: sum of all quantities
- cart item N quantity: 4
- consider min/max: no
select to which products apply the promotion: cheapest product on cart
cheapest product quantity: 1
cheapest product percentage discount: 100
exclude the selected products: no
Every 4th product will be given away for free.
the free products are the cheapest in the cart.
so far so good: if i have 1 product in cart with amount 4 i get 1 free
if i have 8 of the same product, i get 2 free
if i have different products (with different prices ), i need at least as much items of the cheapest product in the cart, in order to give the discount the customer is entitled to according the amount of product he/she bought.
so: if a basket contains 7 items of the same price ,and one with a cheaper price, the client will now get only the discount of the cheapest product. However he/she would be entitled for 2 free products (one of the cheapest and one of the second-in line cheapest, which in this example is one of the 7 most expensive products)
hope this is more clear?
Yes it is clear
however the plugin is designed to apply a single promotion only to the cheapest item, not to multiple elements.
It hasn’t any feature to assign promotion to different products, like to the cheapest and the cheaper excluding the cheapest (once that to it has applied a promotion).
However yours is nice suggestion for a future release. I’ll try to see if it will be possible to implement this new feature, but unfortunately I cannot give you any eta.
ok, i understand, thank you for your effort!
Meanwhile If you have enjoyed my plugin, please consider to leave the 5 stars,
I would really appreciate and it would help me a lot! (to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)
Have a nice day!!
Hi, me again.
i just found out that the discount all works fine as far as in the shop, but when a client checks out, he /she will get the total amount WITHOUT the discount!!
this happened with iDeal/mollie (netherlands) as payment method, but with another check with paypal as well.
i hope you get a fix asap because my client is loosing money!
also discovered client lost hundreds of euro’s because of people cancelling their orders because they didn’t get the discount…not good at all
What do you mean that it works until the client is in the shop? The plugin adds a discount only when the user in the cart and checkout page (because it is added as a fee when the total is computed).
Can you share a screen of the discount rule you are using? Can you trying to configure them using the demo site and report me if you are experiencing the same issue? Are you using any other plugin that is manipulating item prices and/or the cart?
your demo site does not have a payment gateway configured. pleas see for your self in a configuration where you have for example paypal connected to your webshop. in the webshop the discount is applied, but in paypal not
The issue you are experience is relative to your installation or payment gateway. Try to disable your 3rd parties or to use the default woocommerce gateways, The Cheapest item! plugin just modifies the cart data and its total, it works independently from the gatway you are using to pay.
i found out turning off wpml is showing correct total price in paypal
your plugin is compatible with wpml right?
trying to figure out now which of the wpml plugins is giving the problem
hmm bit difficult for me to figure this out: turning on WPML and i have the full price in Paypal (where it does show the discount in the webshop itself)
again: if i deactivate all WPML plugins the discounted price is in the webshop AND in paypal (working correct) However in my configuration WPML exist out of the following plugins:
WPML Multilingual CMS
WPML String Translation
WPML Translation management
All these 5 are demanded once i activate WPML Multilingual CMS
If you like i have a developer staged site available where you can see for yourself
Ok, thank you for finding that issue and for reporting the issue. The problem is related to the fact that the latest WPML, under certain conditions, seems to delete cart fees.
However I’ve implemented a workaround in my plugin that prevents this behaviour. I’ve released the new plugin version that fixes this issue and it should be available in 4 – 5 days. However if you send me a private message (click on my name then use the low-right box) reporting your email, I can send you the update!
I tested the new 1.8 version and YES !
it is working perfectly now. Thank you for the quick fix!
I have a problem with the downloaded plugin. In your demo I have the possibility to set the number of items minimum needed to apply a certain promotion, but when I installed the plugin this fields where not there…
Please help me with this matter because I need to set a promotion only when there are 3 items in cart.
I am using Quantity/Amount range because I want to apply this promotion ( for the cheapest ) only if there are 3 items in cart.
I can only see the price range fields, which I don’t want… I only want to apply for when I have 3 items in cart.
Here is a screenshot:
Yes because you are selecting the Cart total strategy. It take in consideration the current cart total spent amount, not the number of item in cart.
To achieve what you need you should use the Specific products added to cart strategy and then select all the product categories.
However, I can improve this aspect adding an option to consider all products. Would it help?
If you can…. It would be great
Ok, the new version is ready
If you send me a private message (click on my name the use the low right box) reporting your email, I can send you the new version!
In alternative you have to wait codecanyon to officially publish it (their approval system takes usually 4 – 5 days) and the download it form its official page!
How can i do a 3×2 promotion?
Perfect! Works fine.
Thank you very much.
Glad to hear that!
If you have enjoyed my support and/or my plugin please consider leaving the 5 stars, I would really really appreciate!
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)
Have a nice day!
Is it possible to only apply the discount if the user has a coupon code?
no for now it is not possible. However it is a nice suggestion, I’ll see if it will be possible to implement in a future release. I’ll let you know in case of news by replying here!
Good news! I’ve released the new 2.5 version that now allows to apply promotions only if the user applied one of the selected coupon codes!
The new version will be officially downloadable from codecanyon in 1 – 2 days (their approval system takes awhile to approve new updates).
However if you send me a private message (click on my name then use the low-right box) reporting your email, I can directly send you the update!
If you have enjoyed my plugin and/or my support please also consider leaving the 5 stars, I would really appreciate!
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)
can you help me solve a problem?
I have a promotion: purchases 6 products category “bottle”, 1 is free (the product category “bottle” cheaper.
The products can be “bottle” category and “bag” category.
In the cart I have:
Product A – 20 $ | Category “bottle” | Quantity 10
Product B – 15 $ | Category “bottle” | Quantity 1
Product C – 4 $ | “Bag” category | Quantity 4
Product D – 10 $ | Category “bottle” | Quantity 1
With the rule I created, I get a discount of 10 $ (cheaper product with “bottle” category). However, it should add the number of products with the category “bottle” in the cart (there are 12) and consequently there are 2 cheaper products for free.
The problem is that having only 1 Product D, then I do not find the second cheaper product that is Product B with 15 $.
Is there any way to do it?
Thanks for your help.
P.S. Sorry for my English
suppongo tu sia italiana quindi rispondo per comodità direttamente in italiano
Per quanto riguarda la quantità di prodotti da dare gratis, assicurati di aver configurato correttamente l’opzione The most expensive/cheapest product quantity. In caso tu voglia ad esempio regalare un prodotto ogni 6 senza imporre nessun tetto massimo, allora quel valore deve essere lasciato vuoto: https://www.dropbox.com/s/qw4u74g3g56k9fz/wcgfi_options.jpg?dl=0
Per quanto riguarda il discorso Product D e Prodotto B, fai attenzione perchè il plugin applica sconto solo al prodotto piu economico/costoso. Non ha nessuna funzionalità che permetta di applicare una promozione sia al prodotto piu economico che al secondo prodotto piu economico.
Ciao, si le impostazioni sono tutte corrette tant’è che funziona perfettamente. Il problema si pone quando sono 12 prodotti e dovrebbero essere gratuiti i due prodotti più economici, se c’è solo 1 quantità invece che 2 del prodotto più economico, ne sconta solo 1. Peccato che non ci sia modo per applicare questa regola.
Grazie comunque per l’aiuto.
Visto che sei italiana ti chiederei un favore: potresti lasciare le 5 stelle al plugin? mi aiuterebbe molto con le vendite!
(Per votare: vai nella sezione “Download” e da la puoi votare i plugin acquistati)
Hi, Can I do this campaign with your plugin?
BUY 2 ITEMS FROM PIJAMAS, GET %50 DISCOUNT FOR THE CHEAPEST.
When the customer add 1 item to the cart from Pijama category, he will have %50 discount on second item from the same category at the same check out.
In “Cart total: min”, it is possible to replace quantity by weight ?
But i wanted to offer one product from a weight (The most expensive product).
Unfortunately it is not possible
I just bought the plugin. After having spent 3 hours looking for exactly what your plugin does I finally found yours. It took me 10seconds to set up, really convenient.
It works perfectly in the cart and checkout pages, but I have an ajax minicart on all of the other pages.
How could I make sure the minicart displays the discount as well and ideally updates the total? Is there some sort of action hook or simple code I could include in wordpress’s minicart.php.
Thanks a lot! if you could help out with this I’d be very grateful and would make sure I grade it 5 stars. Grazie
thank you for your appreciation
Unfortuantely the minicart template, for how is designed by WooCommerce, doesn’t display cart fees. So the discount applied by the plugin won’t be displayed.
This however is a limitation of WooCommerce that cannot be workarounded via any custom code.
In your case you can try to hook after/inside the minicart product table (you find the triggered action here: https://github.com/woocommerce/woocommerce/blob/master/templates/cart/mini-cart.php ) and manually render the applied discount.
The function that applies the discount can be found in the WCGFI_Cart.php inside the classes\com forder. The function that coputes the discount is the compute_free_items().
You can copy and paste that function in your custom function removing the $this->already_processed statements (it is an internal data structure) and replacing the $woocommerce->cart->add_fee at the bottom with a code to print the computed discount. The computed discount is contained in the $cheapest_item_data[‘discount’] variable.
Note that support service is not a customization service, so I cannot help you further, I can just point you into the direction
Note also that the software has to be used as it is, altering it may lead to unexpected behaviour and the support services doesn’t cover this scenarios.
Sure, I’ll try your suggestion. That being said I feel that all the components of Woocommerce should be addressed in order to make it a complete plugin. The minicart is used by a ton of people and themes. I think that if the explanation above works it could be included in a documentation.
I noticed something else though, the plugins seems to stop to the quantity of the cheapest product. If I have 2 of the cheapest product and 20 of a more expensive one, it stops at two free items, instead of continuing on the then cheapest product, which happens to be more expensive. Is there a way to enable it to continue the promotion with the more expensive items after the cheapest items have been covered?
Yes, the plugin is designed to work in that way. It applies the rule to the cheapest (or the most expensive) product, it won’t mix them.
if you enjoyed my support and/or my plugin, please remember to leave the 5 stars
It would help me with sales and I would really appreciate
I really enjoyed the simplicity of the plugin, but it lacks features for my user case.
Would you consider adding this feature?
I can work with not having having the discount show up in the minicart, but the fact it stops to the qty of the absolute cheapest product makes the promotion a bit deceiving.
In most cases the promotion continues with other products that happen to be the cheapest remaining... Right now I can’t use the plugin as it is for my client, and I assume a lot of people run into the same issue.
Actually the plugin is designed to work in this way. As the name suggests it applies the discount to the cheapest item (not the N cheaper items).
However thank you for your suggestion, I’ll see if it will be possible to apply this new feature in a future release!
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $7
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
25,000+ tutorials and 1,000+ courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work