petervdeynde
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Coupon code not working in shopping cartHello,
Thanks for the assistance. I found the problem! I missed a setting in the customizer that lets me hide or show the coupon code form on the checkout page. I’ve enabled it now, so customers can enter the coupon code at checkout along with the correct email address.
Thanks and kind regards,
Peter
Forum: Plugins
In reply to: [WooCommerce] Coupon code not working in shopping cartHello @carolm29 ,
Thanks for your assistance.
“As I understand, the coupon has email restriction and the issue you are facing is that, when you are not logged in, you are not able to use it on the cart page, correct? But if you add it to the checkout after adding the correct email it works?
If this is the case, please note that this is working as expected. If a coupon has an email restriction it should only work on the cart page if you are logged in. If you aren’t, the message asks you to add it to the checkout page.”The issue with this is that I don’t have a coupon field on the checkout page where it should be, so there’s nowhere else to enter it except on the cart page.
https://snipboard.io/9x3ckN.jpgLooking forward to your thoughts on this.
- This reply was modified 9 months, 1 week ago by petervdeynde.
Forum: Plugins
In reply to: [WooCommerce] Coupon code not working in shopping cartHi @doublezed2 Zubair Zaid,
Thanks for your assistance.
I had tried clearing the cache and disabling the caching plugin before, but it didn’t help. I tried again just to be sure, but still no luck. Now that you mention it, I do have Redis caching enabled on the server, so that might be a factor. It’s strange because the coupons have always worked perfectly before with Redis caching and the W3 Total Cache plugin enabled. This issue only started showing up recently.
I also created a new coupon with no usage limits, and that one works fine, so it seems related to the allowed email address usage limit.
Here are the screenshots of the Usage Limits for the coupon:
https://snipboard.io/i68ovy.jpg
https://snipboard.io/vqNxVp.jpg
https://snipboard.io/IA2O8l.jpg
Only the allowed email address is changed; the rest are just the standard settings.Looking forward to your thoughts!
- This reply was modified 9 months, 1 week ago by petervdeynde.
Forum: Plugins
In reply to: [WooCommerce] Coupon code not working in shopping cartHi @afzalpansuvi ,
Thanks for your help. I tried all the troubleshooting steps you suggested, but the problem is still there.
I also tested with the classic WooCommerce cart page using the shortcode, but the same error happens when entering the coupon code.
The only thing I noticed in the status report is that it says the shopping cart page doesn’t have the [woocommerce_cart] shortcode or WooCommerce cart block, even though it does have the WooCommerce cart block.
Looking forward to your advice.
Thanks! Status rapport:
WordPress Environment WordPress address (URL): https://poppypresents.be Site address (URL): https://poppypresents.be WC Version: 8.9.1 REST API Version: ? 8.9.1 Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.5.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: nl_NL External object cache: ? Server Environment Server Info: Apache PHP Version: 8.2.19 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 20000 cURL Version: 7.74.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.44-49-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.9.1 WC Database Prefix: wp_ Totale database grootte: 34.63MB Database gegevens grootte: 29.69MB Database index grootte: 4.94MB wp_woocommerce_sessions: Data: 0.14MB + 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.06MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.27MB + Index: 0.27MB + 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.05MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + 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.38MB + Index: 0.38MB + 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.19MB + Index: 0.17MB + Engine InnoDB wp_alp_pickup_location: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB wp_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 5.09MB + Index: 0.19MB + Engine InnoDB wp_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_postmeta: Data: 3.52MB + Index: 1.92MB + Engine InnoDB wp_posts: Data: 18.52MB + Index: 0.30MB + 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.06MB + Index: 0.05MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.06MB + 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_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.05MB + 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.06MB + 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_wfpklist_template_data: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts attachment: 762 custom_css: 2 customize_changeset: 5 mc4wp-form: 1 nav_menu_item: 43 page: 15 post: 6 product: 316 product_variation: 59 revision: 372 shop_coupon: 9 shop_order: 82 shop_order_refund: 1 wp_block: 1 wp_global_styles: 2 wp_navigation: 1 wpforms: 2 xlwcty_thankyou: 1 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (22) Blocksy Companion (Premium): door CreativeThemes – 2.0.48 Advanced Local Pickup for WooCommerce: door zorem – 1.6.4 Akismet Anti-spam: Spam Protection: door Automattic - Anti-spam Team – 5.3.2 Clone Woo Orders - Free by WP Masters: door WP Masters – 1.0.3 Facebook for WooCommerce: door Facebook – 3.2.2 Site Kit by Google: door Google – 1.127.0 Kadence WooCommerce Email Designer: door Kadence WP – 1.5.12 Custom Login Page Customizer: door Hardeep Asrani – 2.3.2 MC4WP: Mailchimp for WordPress: door ibericode – 4.9.13 Mollie Payments for WooCommerce: door Mollie – 7.5.3 WooCommerce PDF-facturen, pakbonnen, leveringsbonnen en verzendlabels: door WebToffee – 4.5.1 PW WooCommerce Gift Cards Pro: door Pimwick LLC – 1.481 Stackable - Gutenberg Blocks: door Gambit Technologies Inc – 3.12.16 Stock Exporter for WooCommerce: door PT Woo Plugins (by Webdados) – 1.3 Transi?nten manager: door WPBeginner – 2.0.5 W3 Total Cache: door BoldGrid – 2.7.2 WC MyParcel Belgium: door Richard Perdaan – 4.5.5-beta NextMove Lite - Thank You Page for WooCommerce: door XLPlugins – 2.18.3 PDF Invoices & Packing Slips for WooCommerce: door WP Overnight – 3.8.2 WooCommerce: door Automattic – 8.9.1 WP Mail SMTP: door WP Mail SMTP – 4.0.1 WPForms Lite: door WPForms – 1.8.8.3 Inactive Plugins (1) Duplicator: door Duplicator – 1.5.9 Dropin Plugins () advanced-cache.php: advanced-cache.php db.php: db.php object-cache.php: object-cache.php Settings API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) pw gift card (pw-gift-card) 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: – Enforce Approved Product Download Directories: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 dagen Level threshold: – Log directory size: 363 KB WC Pages Winkelbasis: #17 - /shop/ Winkelwagen: ? Pagina heeft geen [woocommerce_cart] shortcode of het woocommerce/cart blok. Afrekenen: #19 - /checkout/ Mijn account: #20 - /my-account/ Algemene voorwaarden: #1596 - /algemene-voorwaarden/ Theme Name: Blocksy Child Version: (update naar versie 0 is beschikbaar) Author URL: Child Theme: ? Parent Theme Name: Blocksy Parent Theme Version: 2.0.48 Parent Theme Author URL: https://creativethemes.com WooCommerce Support: ? Templates Overrides: blocksy/woocommerce/cart/cart.php blocksy/woocommerce/cart/mini-cart.php blocksy/woocommerce/content-widget-product.php blocksy/woocommerce/content-widget-reviews.php blocksy/woocommerce/myaccount/my-account.php blocksy/woocommerce/product-searchform.php blocksy/woocommerce/single-product/tabs/tabs.php Pimwick Plugins PW WooCommerce Gift Cards Pro: License key: PW-64df366c10b41 Result: success Cached: 2024-05-23 Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal product-custom-fields remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-05-23 13:05:24 +00:00 Options: ? Notes: 113 Onboarding: completed Action Scheduler Afgerond: 1.174 Oldest: 2024-04-22 13:32:46 +0000 Newest: 2024-05-23 12:02:33 +0000 Mislukt: 6 Oldest: 2023-07-26 13:06:31 +0000 Newest: 2024-05-23 11:45:13 +0000 In afwachting: 9 Oldest: 2024-05-23 16:38:44 +0000 Newest: 2024-05-24 11:51:36 +0000 Status report information Generated at: 2024-05-23 12:20:42 +00:00
Forum: Plugins
In reply to: [WooCommerce] Cart page not working after upgrade 8.5.2 to 8.6.0When you rollback to the previous version, is it necessary to rollback the database as well?
Forum: Themes and Templates
In reply to: [Astra] Mobile Menu Dropdown Not working on MobileHey there, good news! I’ve sorted out the problem. I had to roll back to version 2.11.4, and voila, the mobile menu dropdown is back in action. Plus, that other plugin that was throwing a tantrum is also behaving itself again. Might be worth checking into this glitch, folks. Anyhow, have a great day!
Forum: Themes and Templates
In reply to: [Astra] Mobile Menu Dropdown Not working on MobileAlright, I think I’ve figured out what’s going on. Turns out, it’s that Spectra plugin causing all the trouble. It’s messing with our mobile dropdown menu and even interfering with another plugin, making it disappear from the page. So, we’ve identified the culprit, but I can’t just switch it off because I’ve used its blocks to construct my pages. Any ideas on how to sort this out?
Hello @vipteam,
Thank you very much mate. This was very helpful. This method totally fixed my problem.Have a good day!
- This reply was modified 1 year, 11 months ago by petervdeynde.
Thank you for your response.
I had already tried the solution in that Stackoverflow article, but it didn’t work.
No functions were disabled at disable_functions either.
But the Dup-archive option did work, so thanks for that.
Only pity I can’t use this for a large website. Or I have to buy the premium version of course.
But in any case thanks for the solution.Forum: Plugins
In reply to: [WooCommerce] Woocommerce not translating into my languageOk never mind, I forgot to clear the browser chache. It works now.
Forum: Fixing WordPress
In reply to: Remove white content box on specific pagesOk got it now. Left out the loop around the headline template, so it wasn’t pulling the subtitle meta data. This is the right code to use:
<div class="custom-box"> <div class="inner"> <div class="format-text-main block-triple-tb pb-none"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content/headline' ); ?> <?php endwhile; ?> </div> </div> </div>
I tried editing the woocommerce template files, but then my sidebar was suddenly below the content box.
So i restored the template files and achieved the same result by adding the following filters to functions.php file:
//* remove-tabs-keep-product-description-woocommerce/ remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); function woocommerce_template_product_description() { woocommerce_get_template( 'single-product/tabs/description.php' ); } add_action( 'woocommerce_single_product_summary', 'woocommerce_template_product_description', 20 ); add_filter('woocommerce_product_description_heading', '__return_null'); remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 ); //* remove prices from shop and category add_filter( 'woocommerce_variable_sale_price_html', 'woocommerce_remove_prices', 10, 2 ); add_filter( 'woocommerce_variable_price_html', 'woocommerce_remove_prices', 10, 2 ); add_filter( 'woocommerce_get_price_html', 'woocommerce_remove_prices', 10, 2 ); function woocommerce_remove_prices( $price, $product ) { $price = ''; return $price; } //* remove add to cart button remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
Thank you so much for the help.
This code works but it didn’t do what I’m actually trying to achieve.
I’m trying to achieve something like this page
These guys seem to have managed to remove the whole area above the description text. How would I go about doing that?
Thanks
Forum: Fixing WordPress
In reply to: How to reduce the padding above and below the page titleI forgot to mention I also have a subtitles plugin installed.
Forum: Fixing WordPress
In reply to: Remove white content box on specific pagesHi Susan,
Thanks for your reply.
This is one of the pages I’m looking to customize
I also tried replacing the
<?php md_content_box(); ?>
line with the following:<div class="custom-box"> <div class="inner"> <div class="format-text-main block-triple"> <?php get_template_part( 'content/headline' ); ?> </div> </div> </div>
Which does remove the white content box but it also removes the subtitle and the headline image is no longer aligned with the posts beneath it. So that’s not an option.