flycart
Forum Replies Created
-
Forum: Plugins
In reply to: [Discount Rules for WooCommerce] Get sales price for custom calculationHi
You can get the Sale price of the product using something like this
https://gist.github.com/AshlinRejo/24b5334058421979f99d5b164cc8a23cYou can adopt the code.
The following lined does the actual work.global $flycart_woo_discount_rules; $discounted_price = $flycart_woo_discount_rules->pricingRules->getDiscountPriceOfProduct($product);Alternatively, you can also call by instantiating the Pricing Rules class.
Hope this helps
Thanks
RameshThank you. Really appreciate it.
Wish you a great year ahead 🙂Happy that you were able to find a solution.
If you have any questions, please feel free to reach our support team at https://www.flycart.org/supportForum: Plugins
In reply to: [Category Discounts for WooCommerce] Error on plugin when seeing cartHi
is it possible to send us the following information via our support form at https://www.flycart.org/support
1. PHP Version
2. WordPress version
3. WooCommerce versionThanks
RameshHi
Apologies for the delayed response.
Yes. The scenario is possible.
You will have to use Cart based rule type.You will need to set up two cart based rules
One for order value below $250 and another for above $250.
Here is a guide with similar example: https://docs.flycart.org/en/articles/2516211-subtotal-based-tiered-discountsYou can let this discount automatically apply when conditions match.
Alternatively, you can associate a coupon code to activate both these discount rules.
Here is a guide:
https://docs.flycart.org/en/articles/1818998-activate-discount-rule-using-a-coupon-code-in-woocommerceNOTE: Check the scenario where it shows how to associate a coupon to a cart based rule (The above guide has a number of examples)
If you have any further questions, please reach out to us at https://www.flycart.org/support
Thanks
RameshForum: Plugins
In reply to: [Discount Rules for WooCommerce] Need specific optionHi
Thank you for reaching out.
I guess, you have used the in-built Sale Price field to set a discounted price (from the Regular price)Our plugin has an option providing discount either based on
– Regular price
– Sale priceSo if you are setting a global discount, you can set the discount applied on the Regular Price.
So even if the products already have a discounted sale price, the discount will only apply on the Regular price.Hope this answers your question.
Thanks
RameshHi
Thank you for reaching out. Really appreciate it.
Currently we do not have a role support.
Let me pass on this to our developers for consideration.Thanks again for reporting it.
Really appreciate it.Ramesh
Forum: Plugins
In reply to: [Discount Rules for WooCommerce] API and ruleHello Yoshi
Thank you for reaching out and apologies for the delayed response.
It is not yet possible to make the discount rules using the API.
This is in our TODO list though.Thanks
RameshForum: Plugins
In reply to: [Category Discounts for WooCommerce] discount badge is not showingHi
You mean the “Sale” badge ?
Forum: Plugins
In reply to: [Discount Rules for WooCommerce] only admin discountHappy that you got it working. It probably due to the update 🙂
Let me mark the thread as resolved 🙂
Have a good day
RameshForum: Plugins
In reply to: [Discount Rules for WooCommerce] Apply discount only on sales productsYou are welcome 🙂
Forum: Plugins
In reply to: [Discount Rules for WooCommerce] Show only lowest price on product pageHi
Thank you for the detailed information. At the moment, the lowest price can be displayed via the discount table. It is not yet possible to replace the product price with the lowest discount in the discount table.
We have received your request for refund and it will be processed shortly.
And we are happy that you were able to find a plugin that suits your requirements.Thanks
RameshForum: Plugins
In reply to: [Discount Rules for WooCommerce] Apply discount only on sales productsHi
Thank you for reaching out.
As you mentioned, you can do the other way round. That is, you can exclude products on Sale.
At the moment, it is not yet possible to apply a rule only for products that are “on Sale”. I am so sorry.
As a workaround, you can consider tagging the products that are on sale and then create a custom taxonomy based discount. We allow custom taxonomies along with categories in category based discount rule and select the tag at the condition.
Thanks
RameshHi
Thank you for reaching out. Let me explain.
If the cart has 47 quantities already and then if the customer visits the product page, the next quantity will mean 48. So the rule matches and the strike-through shows.
In the cart, it is still 47. So the rule does not match there. So it waits for a quantity to be added to show the crossed-out price.
However, you can hide showing the discounted price on the Product Page.
Please go to WooCommerce -> Woo Discount Rules – Settings -> Price rules -> Display tab
Set “Show Price discount on product pages :” to Hide.
Save.
Customers will now see the discount in the cart when they have 48 quantities.Hope this helps.
Thanks
RameshForum: Plugins
In reply to: [Discount Rules for WooCommerce] Show only lowest price on product pageHello @robinbird1435
I guess you have also created a support request regarding this in our website. We also responded to you with possible options.
In addition to the response, I have a question:
Are you using a variable product? Do you want to show the price of the lowest priced variant ?
Thanks
Ramesh