• Hi all,
    I have a question i’m sure its been asked before but been searching here and google ages and cannot find the answer.
    I am wanting to use the woocommerce tiered pricing plugin however if i was to create a manual order on the back end then the product does not follow the pricing breaks.
    Example if i sell the product for
    £2.99 for 1
    £2.49 for 5-10
    £1.99 for 11+

    And in the manual order i enter qty 6 the price stays at £2.99 instead of jumping down to £2.49

    As i say im sure im not the first person to find this but i cant actually find this issue anywhere? maybe not searching for the right terms?

    Hope that’s a clear example?

    Thanks in advance.

    Website: https://lampspares-co-uk.stackstaging.com/

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://lampspares-co-uk.stackstaging.com
    Site address (URL): https://lampspares-co-uk.stackstaging.com
    WC Version: 5.5.1
    REST API Version: ? 5.5.1
    WC Blocks Version: ? 5.3.2
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.4.1
    Log Directory Writable: ?
    WP Version: 5.7.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.21
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 2500
    cURL Version: 7.65.0
    OpenSSL/1.0.2k-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.18-MariaDB-log
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.5.1
    WC Database Prefix: a1_
    Total Database Size: 10.74MB
    Database Data Size: 7.66MB
    Database Index Size: 3.08MB
    a1_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    a1_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    a1_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_actionscheduler_actions: Data: 0.08MB + Index: 0.16MB + Engine InnoDB
    a1_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    a1_cerber_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_cerber_sets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_cerber_uss: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    a1_defender_audit_log: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    a1_defender_email_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_defender_lockout: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    a1_defender_lockout_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    a1_defender_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_defender_scan_item: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_options: Data: 3.03MB + Index: 0.08MB + Engine InnoDB
    a1_postmeta: Data: 1.52MB + Index: 0.48MB + Engine InnoDB
    a1_posts: Data: 1.52MB + Index: 0.13MB + Engine InnoDB
    a1_social_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    a1_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    a1_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    a1_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_wc_customer_lookup: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    a1_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    a1_wc_order_stats: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    a1_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    a1_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_wdp_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    a1_wdp_order_items: Data: 0.02MB + Index: 0.16MB + Engine InnoDB
    a1_wdp_rules: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    a1_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    a1_woof_query_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_yoast_indexable: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    a1_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    a1_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    a1_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    a1_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    cerber_acl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cerber_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cerber_countries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cerber_lab: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cerber_lab_ip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    cerber_lab_net: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cerber_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    cerber_qmem: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    cerber_traffic: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 56
    blocks: 9
    custom_css: 1
    customize_changeset: 82
    featured_item: 8
    nav_menu_item: 89
    page: 81
    post: 11
    product: 102
    product_variation: 5
    revision: 99
    shop_order: 3
    wpcf7_contact_form: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ?
    
    ### Active Plugins (13) ###
    
    Category Import Reloaded: by Niroma – 1.1.1
    Judge.me Product Reviews for WooCommerce: by Judge.me – 1.3.11
    Max Mega Menu: by megamenu.com – 2.9.4
    Nextend Social Login: by Nextendweb – 3.0.28
    Tiered Price Table for WooCommerce: by Kolya Lukin – 4.0.0
    WooCommerce AvaTax: by SkyVerge – 1.13.0
    WooCommerce PayPal Payments: by WooCommerce – 1.3.2
    WOOF - WooCommerce Products Filter: by realmag777 – 2.1.7
    WooCommerce: by Automattic – 5.5.1
    Yoast SEO: by Team Yoast – 16.7
    WP Cerber Security, Anti-spam & Malware Scan: by Cerber Tech Inc. – 8.8.5
    Custom Product Tabs for WooCommerce: by YIKES
    Inc. – 1.7.7
    
    YITH WooCommerce Wishlist: by YITH – 3.0.23
    
    ### Inactive Plugins (4) ###
    
    Add Customer for WooCommerce: by Dan's Art – 1.0
    Advanced Dynamic Pricing for WooCommerce: by AlgolPlus – 3.2.5
    Contact Form 7: by Takayuki Miyoshi – 5.4.2
    Defender: by WPMU DEV – 2.5.4
    
    ### Must Use Plugins (1) ###
    
    StackCache: by Stack CP –
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    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)
    
    Connected to WooCommerce.com: ?
    
    ### WC Pages ###
    
    Shop base: #7 - /?page_id=7
    Basket: #8 - /?page_id=8
    Checkout: #9 - /?page_id=9
    My account: #10 - /?page_id=10
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Lampspares - Child
    Version: 3.0
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Flatsome
    Parent Theme Version: 3.14.1
    Parent Theme Author URL: https://www.uxthemes.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart-shipping.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/terms.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product-cat.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/content-widget-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/add-to-cart/variable.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/rating.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php
    flatsome/woocommerce/content-product_cat.php
    
    ### Action Scheduler ###
    
    Complete: 209
    Oldest: 2021-07-15 10:58:33 +0100
    Newest: 2021-07-20 14:01:37 +0100
    
    ### Status report information ###
    
    Generated at: 2021-07-20 14:11:31 +01:00
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mykola Lukin

    (@bycrik)

    Hello @hobbsie2021,

    The manual orders were disabled in Tiered Pricing Table as it caused many issues with external plugins (mostly with product addons)

    You can enable and check if that works for you manually here:
    https://ibb.co/yQhZgsW

    You can find the code at:

    src/Addons/ManualOrders/ManualOrdersAddon.php:14

    I hope this helps.

    Hey @bycrik,

    Any chance to add a filter inside adjustOrderItemPriceSave & adjustOrderItemPriceUpdate functions, passing the $item object so we can turn on the manual_orders_active but bypass those functions in some cases?

    For example, I’m using a product bundle, so if the item is within a bundle, I could return false and it will work fine. (Or open to other ideas)

    I’ve tried it hardcoding the bypass like this and it worked great, for reference:

    if ( $item instanceof WC_Order_Item_Product && $item->get_meta( '_bundled_item_priced_individually', true ) != 'no' ) {

    Plugin Author Mykola Lukin

    (@bycrik)

    Hey @sefo262,

    You can actually disable the Tiered Pricing manual order functionality and add your own hooks by copy the page of the ManualOrdersAddon.php and adjusting the logic for your need. adjustOrderItemPriceSave & adjustOrderItemPriceUpdate functions can be implemented in your code.

    I hope this helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tiered Pricing Not Working on backend manual orders’ is closed to new replies.