January 31, 2018 at 5:47 pm #2588
I paid for the pro version with the impression I could use the “Limit Coupon To” option to achieve what I wanted to do. Seems this option is only available with percentage discounts.
What I am trying to achieve is a discount of say $45 for 1 unit.
When the customer buys 2 units the discount now doubles to $90 and so on.
This is a fixed discount per variable unit based on user role.
The pricing rules plugin applies this function to the product, not the discount. I want to change the discount total, not the product total.
What is the best way to use the developer hooks to achieve this?January 31, 2018 at 6:45 pm #2589
Set discount type to: Fixed product discount of $ 45. No need to use the ‘Limit discount to’January 31, 2018 at 7:43 pm #2590
I already have this set to fixed product discount.
What I want is the $45 to be variable based on quantity.
I also do not want to achieve this per product like the pricing rules plugin does it.
I want this to be a discount code with variable value.January 31, 2018 at 7:43 pm #2591
How can I change the discount value dynamically based on qty.January 31, 2018 at 7:53 pm #2592
Do you want $45 discount per product, or do you want something else? I think I misunderstand you. Please give an example of what you want to achieve.January 31, 2018 at 8:40 pm #2593
I have a particular customer (user role) that will receive an automatic $45 discount on a product.
But when they buy two products (qty 2) then they will get a $90 discount.
When they buy three products (qty 3) then they will get a $135 discount and so on and so forth.
the discount value actually is equal to (discount value x qty).January 31, 2018 at 8:50 pm #2594
But that’s exactly what will happen if you use FIXED PRODUCT DISCOUNT.
See: http://demo.soft79.nl/product-category/hoodies/ add hoodies to your cart and apply coopon HOODIE on the cart page. You will receive $10 discount for every hoodie in the cart.
If it still doesn’t work send me screenshots of the coupon’s settings and paste the WooCommerce System Status Report.January 31, 2018 at 9:18 pm #2596
Hmmm, For some reason mine does not work like this.
This is a localhost developer site.
### WordPress Environment ### Home URL: https://buynow.deltamcorp.test Site URL: https://buynow.deltamcorp.test WC Version: 3.2.6 Log Directory Writable: ✔ WP Version: 4.9.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: en_US ### Server Environment ### Server Info: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.5.24 PHP Version: ❌ 5.5.24 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version PHP Post Max Size: 512 MB PHP Time Limit: 600 PHP Max Input Vars: 5000 cURL Version: 7.40.0 OpenSSL/1.0.1l SUHOSIN Installed: – MySQL Version: 5.6.24 Max Upload Size: 512 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 3.2.6 WC Database Prefix: wp_ MaxMind GeoIP Database: ✔ Total Database Size: 6.73MB Database Data Size: 4.92MB Database Index Size: 1.81MB wp_woocommerce_sessions: Data: 0.03MB + Index: 0.02MB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB wp_bpspro_db_backup: Data: 0.02MB + Index: 0.00MB wp_bpspro_login_security: Data: 0.02MB + Index: 0.00MB wp_bpspro_mscan: Data: 0.02MB + Index: 0.02MB wp_bpspro_seclog_ignore: Data: 0.02MB + Index: 0.00MB wp_commentmeta: Data: 0.02MB + Index: 0.03MB wp_comments: Data: 0.02MB + Index: 0.09MB wp_dmc_pricing: Data: 0.14MB + Index: 0.02MB wp_dynamic_widgets: Data: 0.02MB + Index: 0.02MB wp_links: Data: 0.02MB + Index: 0.02MB wp_options: Data: 1.33MB + Index: 0.06MB wp_postmeta: Data: 0.34MB + Index: 0.22MB wp_posts: Data: 0.17MB + Index: 0.06MB wp_rg_form: Data: 0.02MB + Index: 0.00MB wp_rg_form_meta: Data: 1.52MB + Index: 0.00MB wp_rg_form_view: Data: 0.02MB + Index: 0.03MB wp_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB wp_rg_lead: Data: 0.06MB + Index: 0.03MB wp_rg_lead_detail: Data: 0.09MB + Index: 0.20MB wp_rg_lead_detail_long: Data: 0.02MB + Index: 0.00MB wp_rg_lead_meta: Data: 0.28MB + Index: 0.05MB wp_rg_lead_notes: Data: 0.02MB + Index: 0.03MB wp_spectrom_sync: Data: 0.02MB + Index: 0.05MB wp_spectrom_sync_log: Data: 0.02MB + Index: 0.02MB wp_spectrom_sync_media: Data: 0.02MB + Index: 0.02MB wp_spectrom_sync_sources: Data: 0.02MB + Index: 0.03MB wp_termmeta: Data: 0.08MB + Index: 0.09MB wp_terms: Data: 0.09MB + Index: 0.09MB wp_term_relationships: Data: 0.02MB + Index: 0.02MB wp_term_taxonomy: Data: 0.08MB + Index: 0.11MB wp_usermeta: Data: 0.05MB + Index: 0.03MB wp_users: Data: 0.02MB + Index: 0.05MB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB ### Post Type Counts ### attachment: 73 custom_css: 2 customize_changeset: 8 nav_menu_item: 18 page: 9 popup: 12 popup_theme: 6 post: 2 product: 13 product_variation: 10 revision: 108 shop_coupon: 5 shop_order: 2 shop_webhook: 1 wc_afrsm: 2 wc_product_tab: 4 woo_discount: 1 woo_discount_cart: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (26) ### Gravity Forms: by rocketgenius – 2.2.5 Akismet Anti-Spam: by Automattic – 4.0.2 All In One SEO Pack: by Michael Torbert – 126.96.36.199 BulletProof Security: by AITpro Website Security – 2.9 Buy Now DMC Shortcode: by Justin Stout – Version 1.1 Dynamic Widgets: by Qurl – 1.5.13 Popup Maker: by WP Popup Maker – 1.6.6 Q2W3 Fixed Widget: by Max Bond – 5.1.2 Theme Customisations: by WooThemes – 1.0.0 User Role Editor Pro: by Vladimir Garagulia – 4.40.1 WooCommerce Invoice Gateway: by Stuart Duff – 1.0.2 Advanced Flat Rate Shipping For WooCommerce: by Multidots – 3.1.1 – Not tested with the active version of WooCommerce WooCommerce Extended Coupon Features PRO: by Soft79 – 188.8.131.52 WooCommerce Extended Coupon Features: by Soft79 – 184.108.40.206 WooCommerce Conversion Tracking: by Tareq Hasan – 1.2.5 WooCommerce Stripe Gateway: by WooCommerce – 4.0.3 WooCommerce - Gravity Forms Product Add-Ons: by Lucas Stark – 3.1.11 – 3.2.5 is available – Not tested with the active version of WooCommerce WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.1.4 WooCommerce PDF Invoices & Packing Slips Professional: by Ewout Fernhout – 2.1.0 – Not tested with the active version of WooCommerce WooCommerce PDF Invoices & Packing Slips Premium Templates: by Ewout Fernhout – 2.5.2 – Not tested with the active version of WooCommerce Woocommerce quotation: by Aldaba Digital – 2.7.6 – Not tested with the active version of WooCommerce WooCommerce Tab Manager: by SkyVerge – 1.8.2 – 1.9.0 is available – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.2.6 Woogle: by Patterns in the Cloud – 1.0.28 – Not tested with the active version of WooCommerce WP Fastest Cache: by Emre Vona – 0.8.7.6 WPSiteSync for Content: by WPSiteSync – 1.3.3 ### Settings ### API Enabled: ✔ Force SSL: ✔ Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Shop base: #314 - /products/ Cart: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: #421 - /terms-and-conditions/ ### Theme ### Name: Storefront Child Theme Version: 1.0.0 Author URL: http://stuartduff.com Child Theme: ✔ Parent Theme Name: Storefront Parent Theme Version: 2.2.6 – 2.2.7 is available Parent Theme Author URL: https://woocommerce.com/ WooCommerce Support: ✔ ### Templates ### Overrides: –January 31, 2018 at 9:23 pm #2597
Please uninstall the free version of our plugin. If that still doesn’t fix the issue it must be a conflict with another plugin. Disable other plugins to test that.January 31, 2018 at 9:28 pm #2598
Do I need to back up settings/coupons or will the transfer to paid version?January 31, 2018 at 9:29 pm #2599
No need. It’s 100% compatible.February 1, 2018 at 3:31 pm #2603
I have deleted the free version and disabled every plugin besides Woocommerce and WooCommerce Extended Coupon Features PRO and the problem still exists.
The demo you sent works fine as should but mine does not update the coupon.
Could there be a setting in the coupon I am missing?February 1, 2018 at 4:06 pm #2604
And what if you disable our plugin? Then does the Fixed price discount work (and multiply) as expected?February 6, 2018 at 7:19 pm #2634
The same issue when I all plugins except woocommerce. I even changed themes to the woocommerce storefront theme. Still doesn’t work. Must be a woocommerce issue? I am on a localhost, not sure why that would matter.
- You must be logged in to reply to this topic.