Skus
Forum Replies Created
-
I’ve try as you say but the issue it’s with your plugin, let me explain.
The plugin “Discount Rules and Dynamic Pricing for WooCommerce” gives different rules for products like:
- Purchase product A, receive product B (for free).
I have 1 promotion like this:
- Purchase product A ($15) & receive product B ($10) for free
So, the subtotal for this order is $15 instead of $35.
On the other hand, with your plugin I manage shipping cost (based on amount purchased) like this:
- From $0 to $19 shipping cost: $5
- From $20 to $90 shipping cost: $3
Here is where the issue apear.
While purchasing the promotion I’ve mention, the shipping cost should be $5 cause the subtotal for this order is $15, but the shipping cost amout is $3.
This makes me think that the calculation it’s made based on the product prices instead of the subtotal amount.Please, I need help.
Thanks in advance.Hello @bartj, how are you?
Ok, thanks a for the info.
I’ll let you know if there’s any update.
Thanks again.
Hello @bartj thanks for your reply.
The events assigned are:
- Run automation when an order status is processing
- Run automation when an order status is complete
The filter is for the same product and the action it’s to send a email.
The “Send test” shows that the email was send correctly, but it didn’t really send.
I have tried with several emails but the test email does not reach any
Please help.
Forum: Plugins
In reply to: [WooCommerce] Stop “Drafts orders” from deletingHello @margaretwporg & @ihereira thanks for your help.
I manage to solve this by myself, I explain my “solution” if anyone needs to achieve the same.
First I’ve change file “DraftOrders.php” locate on plugins/woocommerce/packages/woocommerce-blocks/src/Domain/Services by removing when it creates the add_action “woocommerce_cleanup_draft_orders”, then increasing the time limite (1 DECADE) and change to false line 176 ($order->delete( false );).
Then I was able to remove the schedule action on wp-admin/admin.php?page=wc-status&tab=action-scheduler&status=pending
The event I’ve needed to erase/stop was always mark as pending (I’ve couldn’t delete before), now I’ve delete it so it won’t happen again.
I’ve wait and check that all the drafts still remains after 1 day, so it’s working fine.
I know it’s not the best idea to change the files from plugin, but I really need it a solution.
Hope you can improve this on future updates so users can delete directly events and not change core files.
Thanks for you help
Forum: Plugins
In reply to: [WooCommerce] Stop “Drafts orders” from deletingHello Igor, thank you for replying
Here is the system status:
### WordPress Environment ### WC Version: 6.7.0 REST API Version: ? 6.7.0 WC Blocks Version: ? 7.8.3 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.1 WP Multisite: – WP Memory Limit: 4 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.30 PHP Post Max Size: 512 MB PHP Time Limit: 420 PHP Max Input Vars: 10000 cURL Version: 7.71.0 OpenSSL/1.1.1p SUHOSIN Installed: – MySQL Version: 5.5.5-10.5.15-MariaDB-cll-lve Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.7.0 WC Database Prefix: wp_ Total Database Size: 22.82MB Database Data Size: 20.08MB Database Index Size: 2.74MB wp_woocommerce_sessions: Data: 1.03MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.16MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.16MB + Index: 0.19MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_commercekit_searches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commercekit_swatches_cache_count: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commercekit_waitlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commercekit_wishlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commercekit_wishlist_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_formcraft_3_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_formcraft_3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_formcraft_3_progress: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_formcraft_3_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_formcraft_3_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 5.50MB + Index: 0.27MB + Engine InnoDB wp_postmeta: Data: 0.39MB + Index: 0.14MB + Engine InnoDB wp_posts: Data: 0.25MB + Index: 0.06MB + Engine InnoDB wp_shopmagic_automation_outcome: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_shopmagic_automation_outcome_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shopmagic_guest: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_shopmagic_guest_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shopmagic_marketing_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_shopmagic_optin_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 6.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 3.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.11MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 0.08MB + Index: 0.09MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 40 customize_changeset: 2 nav_menu_item: 12 page: 11 post: 3 postman_sent_mail: 21 product: 10 seedprod: 1 shop_coupon: 1 shop_order: 17 shopmagic_automation: 1 wc_order_status: 9 whatsapp-accounts: 1 wp_global_styles: 1 yith-wccos-ostatus: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (18) ### All-in-One WP Migration: by ServMask – 7.62 Autoptimize: by Frank Goossens (futtta) – 3.1.0 CommerceGurus Commercekit: by CommerceGurus – 2.0.3.1 Flexible Shipping: by Octolize – 4.13.2 Kirki Customizer Framework: by David Vongries – 4.0.24 Kushki - WooCommerce Payment Gateway: by Kushki – 3.0.0 Loco Translate: by Tim Whitlock – 2.6.2 Odoo for Woocommerce: by OPMC – 2.3 Really Simple SSL: by Really Simple Plugins – 5.3.2 Shipping Locations Pro: by WPExtend – 1.6 ShopMagic for WooCommerce: by WP Desk – 2.37.12 User Role Editor: by Vladimir Garagulya – 4.63 WhatsApp Chat by NinjaTeam: by NinjaTeam – 3.1.7 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.6.1 WooCommerce: by Automattic – 6.7.0 Wordfence Security: by Wordfence – 7.5.11 Yoast SEO: by Team Yoast – 19.3 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.9.6 ### Inactive Plugins (3) ### Advanced WooCommerce Product Sales Reporting - Statistics & Forecast: by extendWP – 1.6 Akismet Anti-Spam: by Automattic – 4.2.5 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.2.6 ### Settings ### API Enabled: – Force SSL: ? Currency: PEN (S/) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) woosb (woosb) 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: – Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #6 - /tienda/ Cart: #7 - /carrito/ Checkout: #8 - /finalizar-compra/ My account: #9 - /mi-cuenta/ Terms and conditions: #40 - /terminos-y-condiciones/ ### Theme ### Version: 1.2.1 Child Theme: ? Parent Theme Name: Shoptimizer Parent Theme Version: 2.5.4 Parent Theme Author URL: https://www.commercegurus.com/ WooCommerce Support: ? ### Templates ### Overrides: shoptimizer-child-theme/woocommerce/cart/cart-empty.php shoptimizer-child-theme/woocommerce/cart/cart-item-data.php shoptimizer-child-theme/woocommerce/cart/cart-shipping.php shoptimizer-child-theme/woocommerce/cart/cart-totals.php shoptimizer-child-theme/woocommerce/cart/cart.php shoptimizer-child-theme/woocommerce/cart/cross-sells.php shoptimizer-child-theme/woocommerce/cart/mini-cart.php shoptimizer-child-theme/woocommerce/cart/proceed-to-checkout-button.php shoptimizer-child-theme/woocommerce/cart/shipping-calculator.php shoptimizer-child-theme/woocommerce/checkout/cart-errors.php shoptimizer-child-theme/woocommerce/checkout/form-billing.php shoptimizer-child-theme/woocommerce/checkout/form-checkout.php shoptimizer-child-theme/woocommerce/checkout/form-coupon.php shoptimizer-child-theme/woocommerce/checkout/form-login.php shoptimizer-child-theme/woocommerce/checkout/form-pay.php shoptimizer-child-theme/woocommerce/checkout/form-shipping.php shoptimizer-child-theme/woocommerce/checkout/order-receipt.php shoptimizer-child-theme/woocommerce/checkout/payment-method.php shoptimizer-child-theme/woocommerce/checkout/payment.php shoptimizer-child-theme/woocommerce/checkout/review-order.php shoptimizer-child-theme/woocommerce/checkout/terms.php shoptimizer-child-theme/woocommerce/checkout/thankyou.php shoptimizer-child-theme/woocommerce/emails/customer-on-hold-order.php ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-07-26 15:25:17 -05:00 Options: ? Notes: 62 Onboarding: completed ### Action Scheduler ### Complete: 449 Oldest: 2022-07-13 16:51:48 +0000 Newest: 2022-07-26 01:57:01 +0000 Pending: 2 Oldest: 2022-07-26 03:33:06 +0000 Newest: 2022-08-01 19:08:17 +0000 ### Status report information ### Generated at: 2022-07-25 20:58:07 -05:00
`
After searching I found this: https://developer.woocommerce.com/2020/11/23/introducing-a-new-order-status-checkout-draft/
It says: “there is a scheduled clean-up action that will automatically delete Checkout Drafts every 24 hours.”
Please, how can I stop this action to take place? I really need to keep the drafts orders.
Thanks in advance
- This reply was modified 2 years, 8 months ago by Skus.
Hello @damianmachnik how are you?
I’ve update, try again and it’s sending the test, but the email I’ve recibed dosen’t have the unsubscribe link.
I’ve log into my database and search for option_name shopmagic_communication_account_page_id in wp_options table, but still theres is nothing.
Should I create manually that row?
Thanks a lot for your help
Hello @damianmachnik
I update the plugin but the problem persist.
If the option “Add unsubscribe link in the message footer” it’s selected and I try to send a test message it gives me the error:
Error: Call to undefined method WPDesk\ShopMagic\Customer\CustomerDTO::get_guest_id()
I’ve deactive and reactive the plugin and nothing happen, inside my db there’s no field named shopmagic_communication_account_page_id in wp_options table still.
What should I do?
Thanks in advance.
Thank you for your reply.
Ok, I’ll be waiting tomorrow for the update.
Thanks again for the excellent pluginForum: Fixing WordPress
In reply to: Remove price woocommerce new order templateI tried the way you told but the price is still appearing on the mail… Any other ideas?
Thanks in advance
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] Stuck at Restoring database…Hello, I have the same problem. I’ve always use this plugin and everything was OK but now this problem I can’t migrate any site.
Right now I’m stuck with 3 sites, please help.Forum: Plugins
In reply to: [Wp-Pro-Quiz] shortcode does not working.Please, I have the same problem, how can we solve the ajax conflict?